Re: Bad sectors on brick

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

 



On 10/24/2016 02:59 PM, Niels de Vos wrote:
On Mon, Oct 24, 2016 at 02:24:48PM +0530, Ravishankar N wrote:
On 10/24/2016 02:02 PM, Gandalf Corvotempesta wrote:
Hi,
how gluster manage a single bad sector on a disk/brick? It will kick
out the whole brick?
Gluster does not manage sectors, it will just  propagate the error
returned by the on-disk file system for that syscall to the application.
What if the single bad sector makes a single file partially corrupted?
Ditto.
The filesystem on the brick will detect the problem, and most likely
aborts itself. Depending on the configuration (mount options, tune2fs)
the kernel will panic or mount the filesystem in read-only mode.

When the filesystem becomes read-only, the brick process will log a
warning and exit.
Ah, I see that the health-checker thread kills the brick process if I/O
on the health_check file fails. Thanks for correcting me.

Niels


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.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