[DRBD-user] deadlock? NFS export DRBD on loop device on tmpfs

HIROSE, Masaaki hirose31 at t3.rim.or.jp
Wed Aug 3 21:04:59 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I want memory storage NFS server, so using NFS server that export XFS
on DRBD on loop device on tmpfs.

This system looks like working well, but sometimes load average
increase too high (up to 20) suddenly and system is hung up.

1 Someone (on Internet) say that DRBD on loop device cause
  deadlock. Is it true?

2 What mean "top of loop device" on DRBD wiki page? loop block device?
  or network loop device?
    DataRedundancyByDrbd / Some Do's and Don'ts

3 Does DRBD work well on loop device on tmpfs? Is there a possibility
  of deadlock or serious problem?

    mkdir /dev/memfs/0
    mount -t tmpfs -o size=1024M     none /dev/memfs/0
    dd if=/dev/zero of=/dev/memfs/0/img
    losetup /dev/loop0 /dev/memfs/0/img

    in drbd.conf
      on foo {
        device    /dev/drbd0;
        disk      /dev/loop0;
        adress    ...
        meta-disk internal;

distribution: Debian 3.1 Sarge
      kernel: (vanilla) (stack size is 8KB)
        drbd: 0.7.11
  nfs-server: 1.0.6-3.1 (debian package)
    mkfs.xfs: 2.6.20-1 (debian package)

HIROSE, Masaaki

More information about the drbd-user mailing list