Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
# 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.
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.