SUMMARY: Deleting a metadevice

2007-12-25 4:36:00

d0 was mounted which is why I could not clear it with metaclear.
Once I did a umount of the file system it worked!

Thanks.
Dave Martini
LLNL

My original question

I'm trying to delete a concat/stripe called d0 anyone know the command?
I deleted the state database replicas already with metadb -d -f c#t#d#s#.
Thanks.
Dave Martini
LLNL

# metastat
d0: Concat/Stripe
Size: 573071616 blocks (273 GB)
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase Reloc
c1t2d0s0 0 No Yes
c1t3d0s0 20352 No Yes

Device Relocation Information:
Device Reloc Device ID
c1t2d0 Yes id1,sd at SFUJITSU_MAP3147N_SUN146G00R01VH9____
c1t3d0 Yes id1,sd at SFUJITSU_MAP3147N_SUN146G00R024JF____
#
# metaclear d0
metaclear: hostname: d0: metadevice is open

#
# metadetach d0
metadetach: d0: invalid metadevice type md_stripe
#

Comments

Got something to say?

You must be logged in to post a comment.