Re: How to fix I/O error ? (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Diego,


I faced a similar issue on gluster 6.0 and I was able to resolve it (at
least in my case).


Observation:

I faced a directory were a simple ls leads to input/output error.


I cd into the corresponding directory on the brick and I did a ls
command and it works.

I got a list of all the file names

# ls -1v * > /tmp/mylist


Afterwards, I cd into the directory of interest on the MOUNTPOINT and I
removed all the files which are obviously hidden

due to the input/output error:

# while read item

# do

# rm -rf $item

# done < /tmp/mylist


Thats it. Afterwards, I copied the deleted files back from our backup.

Please give me a hint if this procedure also works for you.

Regards,

Felix

On 26/08/2020 08:43, Diego Zuccato wrote:
Il 25/08/20 15:27, Amar Tumballi ha scritto:

I am not aware of any data layout changes we did between current latest
(7.7) and 3.8.8. But due to some issues, 'online' migration is not
possible, even the clients needs to be updated, so you have to umount
the volume once.
Tks for the info.
Actually the issue is less bad than I thought: I checked on a client
that (somehow) still used Debian oldstable. Current stable uses 5.5,
still old but not prehistoric :)

Too bad the original issue still persists, even after removing the file
and its hardlink from .gluster dir :(
Maybe the upgrade can fix it? Or I risk breaking it even more?

________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux