cancel
Showing results for 
Search instead for 
Did you mean: 

Mount a broken mirror?

Gordon_Morrison
Level 2
Dear Veritas Gurus,

I need to patch 300+ Solaris servers WITHOUT:

a) excessive downtime
b) giving up all of my weekends for the rest of the year
c) excessive downtime if I need to backout the patches

My cunning plan is this:

1. Add a third rootdisk mirror
2. Break the mirror
3. Mount the broken mirror under /patch (/patch/opt, /patch/var, /patch/usr)
4. Patch the broken mirror with patchadd -R /patch
(I can do this during normal working hours with no downtime!)
5. Apply the patches by booting off the patched disk
(30 minutes work/downtime on a weekend, rather than 4 hours to install a huge patch bundle)
6. If necessary, backout of the patches by booting from the unpatched root disk(s)
(30 minutes work/downtime on a weekend, rather than 4 hours to UNinstall a huge patch bundle)

I thought this was clever until I started trying to create the procedure.

I mirror the root disk no problem.
I break the mirror no problem (disassociate the volumes).
To mount a plex, it needs to be in a volume, so I create a volume... To create a volume you must specify a plex... upon creation, the volume and the plex are EMPTY:o(
At this point I hit a brick wall. I can't even fsck the volume.
I have tried everything I can think of and am going mad.

I need to either:
i) Create a NON-EMPTY volume with a NON-EMPTY plex containing the data on the disk
or
ii) Convince VM that the plex/volume is NOT EMPTY and accept the data on the disk

Please help!
2 REPLIES 2

Carsten_Hennig
Level 4
Certified
I assume you currently have an empty volume containing one plex (the one you mirrored your root onto), right ? Well, the volume is NOT empty, but this is the normal state after creating a volume with vxmake. It should be enough to do a "vxvol start " to get an active and enabled volume, which you can fsck and mount.

HTH,
Carsten

Gordon_Morrison
Level 2
Woo-Hoo!
Thanks Carsten, You're a star.