Removing Solaris from VxVM Control

View previous topic View next topic Go down

Removing Solaris from VxVM Control

Post by suran on Tue Apr 22, 2008 8:55 am

1) Boot into single user from cdrom --> (at ok prompt) boot cdrom -s
2) fsck rootdisk --> fsck -y /dev/rdsk/c0t0d0s0
3) mount the root file system--> /dev/dsk/c0t0d0s0 /a
4) backup /a/etc/system --> cp /a/etc/system /a/etc/system.orig
5) remove the following lines or comment them in the system file: rootdev:/pseudo/vxio@0:0 & set vxio:vol_rootdev_is_volume=1
6) restore the pre-vxvm vfstab file created when you first setup VxVM --> cp /a/etc/vfstab.prevm /a/etc/vfstab
7) prevent the VxVM daemons from starting up at boot up --> touch /a/etc/vx/reconfig.d/state.d/install-db
8) remove the rootdisk encapsulation file --> rm /a/etc/vx/reconfig.d/state.d/root-done
9) umount /a --> cd /; umount /a
10) boot up the system

You may want to allow VxVM control for non-os related disks. To do this, one needs to follow these additional steps.

1) manually startup the VxVM daemons --> rm /etc/vx/reconfig.d/state.d/install-db
vxiod set 10
vxconfigd -m disable
vxdctl enable
2) remove the root volumes --> vxedit -rf rm rootvol swapvol var
3) remove the root disk --> vxdg rmdisk rootdisk
4) restore the original vtoc --> /etc/vx/bin/vxedvtoc -f /etc/vx/reconfig.d/disk.d/c0t0d0/vtoc /dev/rdsk/c0t0d0s2

suran

Posts : 15
Join date : 2008-04-10

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum