SUMMARY: Volume Manager upgrade fiasco

From: Doug Harmon (dharmon@justice.loyola.edu)
Date: Tue Dec 21 1999 - 19:22:31 CST


I want to thank Roger Leonard, Timothy Lindgren, Caleb Warner and Chris Chiapella
for getting me started in the right direction. I had to touch
/etc/vx/reconfig.d/state.d/install-db and get rid of all the VM references
in vfstab and /etc/system so I could boot my machine. I then rebooted and
my machine went into an infinite reboot cycle after it fsck c0t0d0s0! But
at least the VM was out of the picture. The problem causing the infinite rebbot
was that usr and var weren't there b/c someone used VM to grow these filesystems
in the past (one reason why not to encapsulate the root disk). So I had to do a
newfs on the usr and var slices. But since usr and var were now too small to hold
my backup of the old usr and var, I opted to reinstall the OS since all my
important data was on the VM volumes on other disks anyway. So I reloaded the OS
and popped in the VM CD and did a pkgadd SUNWvxva SUNWvxvm and loaded a VM patch,
did another reboot, removed /etc/vx/reconfig.d/state.d/install-db, and ran
a few VM commands:
vxiod set 10
vxconfigd -m disable
vxdctl init
vxdctl enable
vxdisk list
vxprint -ht (happy after seeing all my old volumes online!!)
I then started vxva and removed the old root disk volumes and disk from the
rootdg disk group. Made a mount point for all my old volumes, copied my old
vfstab back (leaving the root disk alone), made a mount point for each volume,
and ran mountall. Presto! All the data in my old VM volumes are there!!

----- Original message from Doug Harmon <dharmon@justice.loyola.edu> -----

Date: Mon, 20 Dec 1999 13:46:22 -0500
From: Doug Harmon <dharmon@justice.loyola.edu>
To: sun-managers@sunmanagers.ececs.uc.edu
Subject: Volume Manager upgrade fiasco
X-Mailer: Mutt 0.95.3i

Hello experts,

I was upgrading Volume Manager 2.1.1 to 2.5 on a SparcServer 1000E running
Solaris 2.5. I first removed the /etc/vx/reconfig.d/state.d/root-done file.
Then I editted the /etc/system & /etc/vfstab back to their orig states.
And here is where I screwed up. I ran format and deleted slice 6 and slice 7
on my root disk partition. These slices are Volume Manager's public and
private section! I then rebooted the system in single user mode and the system
drops to the ok prompt after Volume Manager starts and syncs the filesystems.
Now i am just trying to go forward and do whatever it takes to get the
Volume Manager volumes back up (I hope that it is posisible). Any help
is appreciated. I will summarize.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:35 CDT