Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2006-10-20 11:46:22 -0200 \ Fábio J. Bonatto: > Please, i have DRBD desactivate in my server...But yesterday > i had a problem.... my /home directory was mounted in read-only... > > > /dev/drbd2 220G 1,1G 207G 1% /home --> EXT3 > > My DRBD Version::: Centos 4.3 > drbd-0.7.21-1.c4 > and > kernel-module-drbd-2.6.9-42.0.3.ELsmp-0.7.21-1.c4 > > Oct 19 23:24:08 firewall kernel: attempt to access beyond end of device > Oct 19 23:24:08 firewall kernel: drbd2: rw=0, want=466616336, limit=466554560 > Oct 19 23:24:08 firewall kernel: EXT3-fs error (device drbd2): read_inode_bitmap: Cannot read inode bitmap - block_group = 17 > 80, inode_bitmap = 58327041 > Oct 19 23:24:08 firewall kernel: Aborting journal on device drbd2. > Oct 19 23:24:08 firewall kernel: EXT3-fs error (device drbd2) in ext3_new_inode: IO failure > Oct 19 23:24:08 firewall kernel: EXT3-fs error (device drbd2) in ext3_create: IO failure > Oct 19 23:24:13 firewall kernel: ext3_abort called. > Oct 19 23:24:13 firewall kernel: EXT3-fs error (device drbd2): ext3_journal_start_sb: Detected aborted journal > Oct 19 23:24:13 firewall kernel: Remounting filesystem read-only > > Now i Re-mounted... it´s ok. > > Any knows what it happened? #!/bin/bash drbd=drbd2 read _ _ c _ _ s < <( tune2fs -l /dev/$drbd | grep -E "^Block (size|count)" | tee /dev/stderr | tr '\n' ' '); es=$[c*s>>10]; echo "ext3: thinks it is $es kB (== $c * $s /1024)"; read _ _ ds _ < <(grep -w $drbd /proc/partitions); echo "$drbd thinks it is $ds kB (from /proc/partitions)"; [[ $es == $ds ]] || echo "you got a problem ..." # --- if you "got a problem", maybe you did mkfs on /dev/whatever instead of /dev/drbd2, and you are using 'internal' meta data, and you did not shrink the file system before using it with drbd... -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.