John R. Dunning wrote:
From: Nathaniel Rutman <[EMAIL PROTECTED]>
Date: Fri, 17 Nov 2006 11:39:59 -0800
Deactivate the device on the MDT side for a currently-running server
e.g. 13 UP osc lustre-OST0001-osc lustre-mdtlov_UUID 5
lctl --device 13 deactivate
Ok, did that. It still shows as UP when I lctl dl, though.
Yes, it does. Your question prompted me to take a look at changing that...
For now, you can get to it here:
cfs21:~# cat /proc/fs/lustre/lov/lustre-mdtlov/target_obd
0: lustre-OST0000_UUID ACTIVE
1: lustre-OST0001_UUID INACTIVE
To start a client or MDT with a known down OST:
mount -t lustre -o exclude=lustre-OST0001 ...
Ah, ok. So there isn't any way to say "Remove all traces of this OST from the
system so that nobody knows it was ever there" ?
That is an eventual planned feature, but isn't implemented yet.
You could --writeconf the MDT to nuke the config logs, then restart the
servers, and
that will truly erase all traces of OSTs that don't restart. Beware,
any file that has
stripes on such an erased OST will be very confusing to Lustre...
Beware #2: I don't claim to have tried this myself.
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss