does metaoffline really work ?
2007-12-24 21:47:00
sparc SUNW,Ultra-4):
d12: Trans
State: Okay
Size: 105294352 blocks
Master Device: d8
Logging Device: d11
d8: Mirror
Submirror 0: d7
State: Okay
Submirror 1: d6
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 105294352 blocks
d7: Submirror of d8
State: Okay
Hot spare pool: hsp000
Size: 105294352 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c3t1d0s0 0 No Okay
c3t2d0s0 4712 No Okay
c3t3d0s0 4712 No Okay
Our backup script shutdowns database, metaoffline one of the submirrors,
start the database again (so that people can work) and then ufsdump
using just metaofflined submirror (it is based on disksuite manual):
...
touch /d12/plik_1.txt
/usr/sbin/lockfs -w /d12
${MD}/metaoffline d8 d7
/usr/sbin/lockfs -u /d12
touch /d12/plik_2.txt
/usr/sbin/ufsdump ${LEVEL2}uf ${TAPE}c ${FS}/d7
${MD}/metaonline d8 d7
While plik_1.txt exists on tape (and it is ok), plik_2.txt shouldn't
exists. But it does. Why ?
przemol
Comments
Got something to say?
You must be logged in to post a comment.

