Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
# uname -a
SunOS SB100 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Blade-100
I have used all 6 slices except slice 2 which indicates whole disk. I installed veritas storage foundation 5.0 then used its veritas volume
manager5.0 to encapsulate the root disk.
vxdiskadm -> Select option 2(Encapsulate disk)
After encapsulation and reboot, I found slice 3,4,5 got lost. I checked
veritas volume manager5.0 admin document, encapsulation needs the two free partition on the encapsulation needed disk. I dumpedmy disk label
for my root disk. We can see slice 3,4,5 got lost. slice6 is pub region
of vxvm and slice7 is private region of vxvm. Can someone tell me why
encapsulation caused my slisces data loss because encapsulation should
reserve all data on disk.
partition> p
Volume: SB100-Vo
Current partition table (original):
Total disk cylinders available: 38307 + 2 (reserved cylinders)
The rules for encapsulation are simple. You need 2 free cylinders and two unassigned slices (0 cyls in size). The two free
cylinders are taken from swap if needed so that is not a problem. The two unassigned slices are non negotiable. Your original
vtoc and /etc/vfstab are saved on your system so they can be put back if needed when you run vxunroot and unencapsulate the disk if you want to.
That is why a lot of people prefer svm for the boot disk (it does not change the vtoc). If needed, you can boot cdrom -s, replace /etc/vfstab with the original, uncomment the last line of /etc/system, reboot and you are back up and running. Can't do that with vxvm since your vtoc does NOT point to your original locations. The manual unencapsulation is more of a pain.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.