[DRBD-user] Problem with drbdsetup and /dev/sdb1

Dan Didier dan at mapolce.com
Fri Aug 27 20:16:34 CEST 2004


 
I created the drbd devices in /dev
I have a second raid array which is /dev/sdb1
When I try to run the following:

./drbdsetup /dev/drbd0 disk meta-disk=internal meta-index=0 /dev/sdb1

Output is: /dev/sdb1 is not a valid number

Output of df -h:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda9            1012M  277M  684M  29% /
/dev/sda3              99M   26M   68M  28% /boot
none                  504M     0  504M   0% /dev/shm
/dev/sda6             2.2G   33M  2.0G   2% /tmp
/dev/sda5             5.6G  1.8G  3.6G  34% /usr
/dev/sda8             2.0G  127M  1.8G   7% /var
/dev/sda2             3.5G   65M  3.2G   2% /home

I see that it doesn't show up here, but isn't that because nothing is
mounted on it?

Output of fdisk -l /dev/sdb

[root at linux2 user]# fdisk -l /dev/sdb

Disk /dev/sdb: 54.8 GB, 54896492544 bytes
255 heads, 63 sectors/track, 6674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1       250   2008093+  83  Linux
[root at linux2 user]#

What must I do to correct this?

Thanks,
Dan



More information about the drbd-user mailing list