![]() ![]() Mount the disk partition if the corresponding volume was previously mounted.Replace the entry for that volume (if present) in /etc/vfstab with an entry for the newly created partition.Where c2t2d2 is the disk outside of Volume Manager and s7 is the newly created partition. # dd if=/dev/vx/dsk/ diskgroup /lhome of=/dev/dsk/c2t2d2s7 Copy the data on the volume onto the newly created disk partition using a command such as dd. ![]() Subsequent volumes can use the free space generated by the removal of this first volume. If there is not enough free space for the partition, add a new disk to the system for the first volume removed. Create a partition on free disk space of the same size as the volume using the format command.If the volume is being used as a raw partition for database applications, make sure that the application is not updating the volume and that you have applied the sync command to the data on the volume.Decide which volume to move first, and if the volume is mounted, unmount it.Remove the evacuated disks from VERITAS Volume Manager control by entering:.The evacuated disks provide the initial free disk space for volumes to be moved to disk partitions. Evacuate disks using vxdiskadm, the VEA GUI, or the vxevac utility.Įvacuation moves subdisks from the specified disks to target disks.To move volumes incrementally to disk partitions Otherwise, proceed to Shutting down VERITAS Volume Manager. Move volumes incrementally to disk partitions.Ĭontinue to the next section if you choose this last option.Back up each file system individually and then recover them all after creating new file systems on disk partitions.Back up the entire system to tape and then recover from tape.You can do this using one of these procedures: Once you have changed the root, swap, usr, and var volumes, move all remaining volumes to disk partitions.It also modifies /etc/system and prompts for a reboot so that disk partitions are mounted instead of volumes for root, swap, usr, and var. The vxunroot command changes the volume entries in /etc/vfstab to the underlying disk partitions for rootvol, swapvol, usr, and var. It is important that you have created the plex designated for rootvol using vxrootmir, which guarantees that the underlying subdisks start on cylinder boundaries and that partitions are created for them. If any of these volumes have more than one associated plex, remove the unnecessary plexes using the following command: To obtain this information, enter the following: The plex must be contiguous, non-striped, non-spanned, and non-sparse. Ensure that the rootvol, swapvol, usr, and var volumes have only one associated plex each.To uninstall VxVM if root, swap, usr, or var is a volume under Volume Manager control Moving volumes from an encapsulated root disk This section describes the steps you need to take before removing VERITAS Volume Manager to preserve the contents of the volumes.įailure to follow the preparations in this section might result in unexpected behavior.
0 Comments
Leave a Reply. |