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

Dan Didier dan at mapolce.com
Fri Aug 27 21:27:30 CEST 2004

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


 

d /dev/sdb1
> 
> On Fri, 2004-08-27 at 13:16, Dan Didier wrote:
> >  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
> 
> you must use /dev/nb0, see man drbdsetup
> 

I am using .0.7.2

It says: 

This example already uses /dev/drbdX instead of /dev/nbX, what you might
have expected. For historical reasons DRBD used to hijack NBDs device
major (43), and device nodes. We now have an officially assigned DRBD
major (147), therefore starting with 0.7.1 we default to use our own
major numbers and device nodes. (Unfortunately the assignment was a few
days late for 0.7.0; so your distribution may have decided to stay with
the deprecated /dev/nbX # major 43) 

If your system does not know about /dev/drbdX yet, you should create
these device nodes like for i in $(seq 0 15) ; do mknod /dev/drbd$i b
147 $i ; done. See also the upgrade*.txt files, mentioned earlier. 


Thanks,
Dan



More information about the drbd-user mailing list