[Lustre-discuss] how to replace a ost
Felix New
moxnetx at gmail.com
Tue Apr 29 03:14:40 PDT 2008
hi, all
i want to replace a ost, and i read the manual(820-3681.pdf from sun
site), i get this section 4.2.3.1 about how to do:
4.2.3.1 Removing an OST
To remove an OST:
1. Deactivate the OST (make it read-only) on the MDS so no new objects are
allocated to it.
2. Use lfs find to discover all files that have objects residing on
the deactivated
OST.
3. Copy these files to a new location and then move them back to their original
location to force their object re-creation on the active OSTs and the object
deletion on the OST to be removed.
and i do as what it say, deactivate the ost(cfs-OST0003_UUID) at my
MGS, and find the files reside in ost cfs-OST0003_UUID from my client,
and copy the file...ouch, i can't copy the file, the error msg is:
cp /data//v/ff/b6/0b142400670.flv ./
cp: cannot stat `/data//v/ff/b6/0b142400670.flv ': Input/output error
because the ost is deactive, so i can't stat and read the file? how to do that?
thanks for you help.
--
Best regards
Felix New
More information about the lustre-discuss
mailing list