15 Jun 2006 evilrobots   » (Observer)

http://networktechnologist.com/tips-aix-lvm.html


Solaris:
prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2


metastat

metastat -P

metadb -d c1t1d0s5 metadb -d c1t1d0s6

metadetach -f d40 d42|d3 d22|d0 d2

metaclear -f d42|d22|d2

metadb -a -c 1 /dev/rdsk/c1t1d0s5 metadb -a -c 1 /dev/rdsk/c1t1d0s6

metainit d42 1 1 /dev/dsk/c1t1d0s4 metattach d40 d42

metainit d13 1 1 /dev/dsk/c1t1d0s3 metattach d3 d13

metainit d2 1 1 /dev/dsk/c1t1d0s0 metaattach d0 d2

metastat bash-2.05# metastat d40: Mirror Submirror 0: d41 State: Okay Submirror 1: d42 State: Resyncing Resync in progress: 17 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 67110720 blocks (32 GB)

d41: Submirror of d40 State: Okay Size: 67110720 blocks (32 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t0d0s4 0 No Okay Yes

d42: Submirror of d40 State: Resyncing Size: 67110720 blocks (32 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t1d0s4 0 No Okay Yes

d3: Mirror Submirror 0: d12 State: Okay Submirror 1: d13 State: Resyncing Resync in progress: 64 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 16780224 blocks (8.0 GB)

d12: Submirror of d3 State: Okay Size: 16780224 blocks (8.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t0d0s3 0 No Okay Yes

d13: Submirror of d3 State: Resyncing Size: 16780224 blocks (8.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t1d0s3 0 No Okay Yes

d0: Mirror Submirror 0: d1 State: Okay Submirror 1: d2 State: Resyncing Resync in progress: 60 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 16780224 blocks (8.0 GB)

d1: Submirror of d0 State: Okay Size: 16780224 blocks (8.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t0d0s0 0 No Okay Yes

d2: Submirror of d0 State: Resyncing Size: 16780224 blocks (8.0 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c1t1d0s0 0 No Okay Yes

Device Relocation Information: Device Reloc Device ID c1t1d0 Yes id1,sd@w4849544143484920444b3332454a2d37324e4320202020203431383437343733 c1t0d0 Yes id1,sd@SSEAGATE_ST373307LSUN72G_3HZ9S8A0000075236H5N

Latest blog entries     Older blog entries

X
Share this page