[DRBD-user] Re: XFS filesystem locks on mounting with 0.8.0.5

Lars Ellenberg lars.ellenberg at linbit.com
Mon Aug 27 22:10:26 CEST 2007


On Mon, Aug 27, 2007 at 04:29:35PM +0200, Laurent Wacrenier wrote:
> Hi,
> 
> We're experiencing a file system lock with DRBD and XFS.
> When mouting the filesystem, the kernel logs
>   Starting XFS recovery on filesystem: drbd0 (logdev: internal)
> but nothing happens and the disk reports no IO.

this has nothing to do with xfs.

for housekeeping (meta data update), we had a recursive, synchronous,
call to generic_make_request in the generic_make_request path.
with 2.6.22 and later kernels, this will deadlock :->

> The bug started to occurs with Linux 2.6.22 and drdb 0.8.0.3. I upgraded
> to 2.6.22.5 and 0.8.0.5 but nothing changed.

btw, drbd versioning has dropped the leading zero,
staring with 8.0.0

> Does someone has a suggestion?

go back to pre 2.6.22 kernel,
or use current drbd svn: svn co http://svn.drbd.org/drbd/branches/drbd-8.0
or wait for 8.0.6 which will include this fix.

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list