unmirroring swap problem on Solaris 10 3/05

From: Markus Mayer (mymaillists@gmx.at)
Date: Wed Jun 29 2005 - 05:56:53 EDT


Hi all,

I'm trying to remove the metadevice that I set up for swap space but am having
problems. I have removed all except the last submirror using metadetach,
edited the vfstab file so that there is no swap space turned on after the
reboot, and tried to run the metaclear -r d0 command, but always get the
error "metadevice is open". I've also setting swap to be an unused slice on
another disk but with no success. According to the manual, Solaris Volume
Administration Guide on page 137, this should work. Can anyone tell me how I
can do this cleanly, or do will I have to do this in single user mode? The
machine is a V440 with 4 cpu's.

regards
Markus

# metastat d0
d0: Mirror
    Submirror 0: d10
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 33560448 blocks (16 GB)

d10: Submirror of d0
    State: Okay
    Size: 33560448 blocks (16 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c3t0d0s0 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c3t0d0 Yes id1,sd@SSEAGATE_ST373307LSUN72G_3HZ9G51K000075179TE7
# metaclear -r d0
metaclear: wanda: d0: metadevice is open
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:59 EDT