Removing an SVM mirror
Hi guys,
I havea box that is configured with 2 disks in Raid 1 using SVM. I am running out of space and want to break the mirror (just my test box) but am new to SVM. Can someone point me in the right direction. Do I need to use metaoffline? How do I then go about expanding the root filesystem with the created space on the second disk? Any help much appreciated. The 1.1GB is unassigned, 538mb is swap and the 6GB is / Would also like to incorporate the spare 1gb too. Code:
d5: Mirror |
Use the metadetach command.
For the root slice you'd want to do a metaclear d0 d20 Then change the root device back to user the orginal no-mirrored slice metaroot /dev/dsk/c0t0d0s0 Reboot Then use metaclear to remove the rest of the mirror metaclear -r d0 (this will remove d0 and unattach d10) As to growing the / file system over the unassigned area of the secondary disk...i think you'd have to backup everything then distroy the partitions make root bigger then recreate the raid 1. |
All times are GMT -5. The time now is 02:18 AM. |