well, if "no more available" just means, the file system on the OST has
some damage, an e2fsck (use the e2fsprogs from
http://downloads.whamcloud.com/public/e2fsprogs/latest/) might bring it
back. This would be the best because as far as I know there is no clean
way to completely remove an OST from a file system, especially when
there is some data supposed to be on that OST.
If "no more available" means completely damaged (e.g. several disks in a
raid failed), then you might have to run an lfsck to make the MDT
consistent again. I'm not sure how this works with a missing OST
in-between.
Anyhow, unlink should normally work, even if the OST is missing. If not,
I would recommend to check the MDT as well.
Maybe you can also try to set the OST inactive
(
http://wiki.lustre.org/manual/LustreManual20_HTML/LustreMaintenance.html)
and then unlink the files, but still - you should try to repair things
instead of just trying to keep the fs up with some unknown corruption.
On 06/05/2014 06:06 PM, Pardo Diaz, Alfonso wrote:
the OST is no more available, and all files (no stripping) in this
OST I asume that are unrecoverable. But I can see the name of the files in the clientes
with "? ? ?" attributes.
________________________________________
De: Martin Hecht [hecht(a)hlrs.de]
Enviado el: jueves, 05 de junio de 2014 17:34
Para: Pardo Diaz, Alfonso; Bob Ball
Cc: hpdd-discuss(a)lists.01.org
Asunto: Re: [HPDD-discuss] File still exist after OST delete
the OST is back available and can be seen on all clients (recovery finished)? If not, you
may be able to delete the file when all componets are back to normal operation. If the
problem persists, the clean way to recover from this situation would be a run of lfsck
(
http://wiki.lustre.org/manual/LustreManual20_HTML/TroubleShootingRecovery...)
where you can first delete orphane objects, then recreate (empty) objects for those files,
which still have an entry on the MDT but not all entries on OSTs, and finally you should
be able to delete the damaged files as usual. See the man page of lfsck for the options.
On 06/05/2014 04:31 PM, Pardo Diaz, Alfonso wrote:
When I had the OST missing problem, when I try to “unlink” the file I got an error like:
“unlink cannot erase link …… invalid argument”
El 05/06/2014, a las 16:23, Bob Ball
<ball@umich.edu<mailto:ball@umich.edu><mailto:ball@umich.edu><mailto:ball@umich.edu>>
escribió:
You may simply be able to "unlink" the file/directory without bringing down the
OST. I've done this in the past with individual lost files.
bob
On 6/5/2014 10:10 AM, Pardo Diaz, Alfonso wrote:
I had the same problem. And I resolve the problem by the next way, BUT I THINK NOT IS A
GOOD IDEA THIS SOLUTIONS, BUT FOR NOW THIS WAY HAS SOLVED MY PROBLEM:
1) umount MDT
2) mount your MDT with “-t ldiskfs”
3) Enter intro the directory that you had mounted your MDT
4) Go to the ./ROOT/….. directory and erase the directory or files you don’t want
anymore.
5) mount again the MDT with “-t lustre”
El 05/06/2014, a las 15:23, l h
<lhmata@outlook.fr<mailto:lhmata@outlook.fr><mailto:lhmata@outlook.fr><mailto:lhmata@outlook.fr>>
escribió:
Hi,
After an ost failure (which is deleted today), i have a folder wich does not exist
anymore because it was on this OST, but it still appears in my filesystem(still exist in
the MDT i think), and if i want to remove it, it tells me that the object doesn't
exist, i can't make anything with it and I don't know how to clean it !
Can you help me ?
Thanks.
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org><mailto:HPDD-discuss@lists.01.org><mailto:HPDD-discuss@lists.01.org>
https://lists.01.org/mailman/listinfo/hpdd-discuss
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org><mailto:HPDD-discuss@lists.01.org><mailto:HPDD-discuss@lists.01.org>
https://lists.01.org/mailman/listinfo/hpdd-discuss
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org>
https://lists.01.org/mailman/listinfo/hpdd-discuss