Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Tue, Sep 11, 2007 at 11:02:41AM +0200, Stefano Cislaghi wrote: > Something strange: you should reply to the list. > > Disk /dev/sdb: 73.4 GB, 73406611456 bytes > 128 heads, 32 sectors/track, 35003 cylinders > Units = cylinders of 4096 * 512 = 2097152 bytes > > Device Boot Start End Blocks Id System > /dev/sdb1 1 4769 9766896 83 Linux > /dev/sdb2 4770 9538 9766912 83 Linux > /dev/sdb3 9539 10016 978944 83 Linux > > Command (m for help): q > your fdisk is broken. try "sfdisk -d /dev/sdb", to see what sfdisk thinks about this. finally, the kernel is "always right, by definition", so if it says sdb1 is sdb3 and vice versa, thats a fact :-> alternatively, you tried to repartition a live disk, and you only changed the on-disk partition table, but your kernel refused to re-read the partition table because they are in use. in that case, you screwed up, need to reboot, and clean up the mess. in that case, preferably you should "chmod -x" /etc/init.d/drbd and .../heartbeat, before you reboot, and reboot into single user, just in case. all of this has not too much to do with drbd. > [root at itsm-sys2a ha.d]# cat /proc/partitions > major minor #blocks name > > 8 16 71686144 sdb > 8 17 2932720 sdb1 > 8 18 9766912 sdb2 > 8 19 9766912 sdb3 > 8 20 1 sdb4 > 8 21 1955824 sdb5 > 147 0 2932720 drbd0 > 147 1 9766912 drbd1 > > > Partition sdb1 should be 9766896 and it's reported for 2932720 blocks. > Partition sdb3 should be instead 978944 and it's reported for 9766912. -- : 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.