[DRBD-user] drbd and fsck

Vadym Chepkov chepkov at yahoo.com
Mon Nov 9 07:10:10 CET 2009

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


Hi,

I have tried to run fsck on drbd device, and I wasn't able to. Here is what I did.

# drbdadm primary all

# mount -t ext3 /dev/drbd0 /u00
# mount -t ext3 /dev/drbd1 /u01

# df -k|grep drbd
/dev/drbd0            70558960    185036  66789732   1% /u00
/dev/drbd1            70558960    184220  66790548   1% /u01

Mounts fine, no issues.

# umount /dev/drbd0
# umount /dev/drbd1


# fsck -t ext3 /dev/drbd0
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
fsck.ext3: Attempt to read block from filesystem resulted in short read while trying to open /dev/drbd0
Could this be a zero-length partition?

# e2label /dev/drbd0
e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/drbd0
Couldn't find valid filesystem superblock.

The system is running RedHat 5.4 ppc64

kernel-2.6.18-164.el5
e2fsprogs-1.39-23.el5
drbd83-8.3.2-6.el5
kmod-drbd83-8.3.2-6.el5

What do I do wrong? Thanks

Sincerely yours,
  Vadym Chepkov



More information about the drbd-user mailing list