Device Tree Cleanup and Reset (Controller Renumbering)
来源:互联网 发布:php程序员工作内容 编辑:程序博客网 时间:2024/05/17 04:39
This procedure assumes that both nodes of the cluster are configured more or less identical. This will completely reset all logical disk pathing including those entries for the system boot disks. Systems having different hardware configurations may still not match after this procedure.
- Create a checkpoint of the current system to fall back to if necessary.
- Determine the current checkpoint associated syspool dataset that is used for the root filesystem. (ie. syspool/rootfs-nmu-000) This will be listed as the "Current" and "Default" entry for the "show appliance checkpoint" command.
- Shutdown and reboot into GRUB or boot from CDROM
- Select "Safe Mode" from regular GRUB menu or "Recovery Console" if booted from CDROM.
- If asked for a login, login as "root" with no password.
- Force import syspool. "zpool import -f syspool"
- Create a mountpoint in /tmp and mount the current checkpoint to it. For example, "mkdir /tmp/a ; mount -F zfs syspool/rootfs-nmu-000 /tmp/a"
- Remove all entries from /tmp/a/dev/[r]dsk "rm /tmp/a/dev/dsk/* ; rm /tmp/a/dev/rdsk/*"
- Remove all entries from /tmp/a/dev/cfg "rm -rf /tmp/a/dev/cfg/*"
- Remove /tmp/a/etc/devices/devid_cache
- Remove /tmp/a/etc/devices/mdi_scsi_vhci_cache
- Put down a new device tree via devfsadm directed to the current checkpoint. "devfsadm -r /tmp/a"
- Update the boot archive of the current checkpoint "bootadm update-archive -R /tmp/a"
- Unmount the current checkpoint "umount /tmp/a"
- Reboot
- Repeat same steps for the other node.
- If the system fails to boot, fall back to the checkpoint created in step 1.
- Device Tree Cleanup and Reset (Controller Renumbering)
- renumbering
- Linux and the Device Tree
- Linux and the Device Tree
- [翻译] Linux and the Device Tree
- Writing Solaris Device Driver: Kernel and Device Tree
- Device的Reset
- 6: Initialization and Cleanup
- 关于“reset high speed USB device using ehci_hcd and address 2”
- Fatal error: Failed to identify device. Check connections and/or reset hardware
- IAR 下载 Fatal error: Failed to identify device. Check connections and/or reset hardware
- Fatal error: Failed to identify device. Check connections and/or reset hardware
- Fatal error: Failed to identify device. Check connections and/or reset hardware
- Fatal error: Failed to identify device. Check connections and/or reset hardware
- Device Tree
- Device tree
- Device Tree
- Device Tree
- Chemeleon如何隐藏非系统的NTFS分区
- [401] <Error>: CGContextSetFillColorWithColor ——ios6键盘BUG
- 数学之路(3)-机器学习(4)-专家系统(3)
- OpenGL光照设置,实现渲染效果
- 音频中常见的技术指标
- Device Tree Cleanup and Reset (Controller Renumbering)
- redhat网卡配置 ifconfig命令使用
- 新手站长做网站SEO的无奈与煎熬
- Context.getExternalFilesDir()和Context.getExternalCacheDir()
- Windows下安装Django
- [互联网面试笔试汇总C/C++-23] Web代理的种类-雅虎
- fmdb 使用简单教程
- CSipsimple如何添加视频通信功能
- DB2和 Oracle的并发控制(锁)比较