Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi list, I am running drbd on two identical SLES9 servers. I recently got access beyond end of device errors and found out that unfortunately, during the installation yast had resized my two drbd partitions (I have used automated installation to clone the first server) on the second server. I have tried unmounting the partition(s) and then ran: fsck.reiserfs --check /dev/nb0 but it refuses to run with the following error: [snip] Will read-only check consistency of the filesystem on /dev/nb0 Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes bread: Cannot read the block (14795855): (Invalid argument). reiserfs_open: Your partition is not big enough to contain the filesystem of (14795855) blocks as was specified in the found super block. Failed to open the device '/dev/nb0': Invalid argument [/snip] I have read through the mailing lists of both drbd and reiserfs and found no mention about running reiserfs_resize on a filesystem with such a problem, except for this: http://firstname.lastname@example.org/msg06902.html The size of disks are as follows (the machines are called batman and robin, robin is usually the primary or active node): robin:~ # fdisk -l /dev/i2o/hdb Disk /dev/i2o/hdb: 146.5 GB, 146590924800 bytes 255 heads, 63 sectors/track, 17821 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/i2o/hdb1 1 34 273073+ 83 Linux /dev/i2o/hdb2 35 17820 142866045 83 Linux -> hdb2 this is the drbd replicated device called nb1 <- robin:~ # df /dev/nb1 Filesystem 1K-blocks Used Available Use% Mounted on /dev/nb1 142861620 60147900 82713720 43% /share2 batman:~ # fdisk -l /dev/i2o/hdb Disk /dev/i2o/hdb: 146.5 GB, 146590924800 bytes 255 heads, 63 sectors/track, 17821 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/i2o/hdb1 1 34 273073+ 83 Linux /dev/i2o/hdb2 35 17819 142858012+ 83 Linux I hope that I can solve this problem with a fsck and a resize, but I am not sure about which to run first. Please note that I have two drbd disks and that only one is currently used, so I can run some tests on nb0 (the empty one). Any help will be very much appreciated. Thanks, Umberto -- Umberto Nicoletti <unicoletti at prometeo.it> Prometeo SRL