Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

undoing a volume grow (shrinking a volume)

Status
Not open for further replies.

tuka

Technical User
Jul 6, 2001
438
US
Recently I grew a ufs volume on an encapsulated rootdisk.
The volume was mirrored. I didn't grow the FILESYSTEM.

Later I read in the VXVM admin guide that you should never grow or shrink any volume associated with an encapsulated root disk..

Since I didn't grow the filesystem I am wondering if it is possible to shrink the volume(same amount as the grow WITHOUT destroying the existing data. The file system is a little smaller in size than when I grew the volume.

Thanks for any help on this matter.


 
Volumes associated with an encapsulated bootdisk (rootvol, usr, var, opt, swapvol, etc.) cannot be grown or shrunk because they map to a physical underlying partition on the disk and must be contiguous. If an attempt is made to grow rootvol, usr, var, or swapvol, the system could become unbootable. It will also prevent the disk from being successfully unencapsulated (so that the system boots using disk partitions instead of volumes) which is necessary for operating system upgrades, some VERITAS Volume Manager upgrades, or recovering from certain VERITAS Volume Manager configuration errors. (Unencapsulation of the boot disk is one of the functions of the upgrade_start script.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top