[Gluster-users] Bad sectors on brick
Niels de Vos
ndevos at redhat.com
Mon Oct 24 09:29:26 UTC 2016
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?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the Gluster-users