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!

How to Start VxVM from CDROM

Status
Not open for further replies.

dutchdave

Technical User
Sep 19, 2001
2
NL
Does anyone know how to start up VxVM after booting from cdrom - or more to the point, how to make changes to a mirrored rootvol from a cdrom boot?
 
Volume Manager start up scripts are in "/etc/init.d" at boot they run from level S "/etc/rcS.d":

vxvm-sysboot - this configures "/" and "/usr".
vxstartup1 - (must run after "sysboot"), makes other volumes available.
vxstartup2 - (must run after "sysboot" and "startup1"), start all volumes.
...
vxvm-rdac - Start RDAC devices under Volume Manager control.
vxvm-reconfig - is runned after a fsck on root filesystem "/".

Hope it helps,

Regards,

Carlos Almeida,
 
Its good - Its very useful for future reference, but I got a bit further with the problem last week, before our Internet access got Nimba-ed out.

All I wanted to do, really, was make changes to the root partition. In this case, it was to make an empty /usr directory to mount a usr volume on.

Boot CDrom, mount root partition, make changes. Disable rootdev in /etc/system, replace rootvol with partition in vfstab, boot from partition. Worked fine, but when I disabled the old (now stale) mirror and reversed the /etc/system and vfstab changes and rebooted, the new usr directory wasnt there!

If I mounted the bare partition it was okay, but when I went back to mount the rootvol, it wasnt.

Eventually I had to de-encapaulate the whole disk and re-encapsulate.

There must be a (reasonably) simple way of doing these sort of simple changes (eg root password reset, when you dont have it)??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top