[DRBD-user] /dev/drbd1: No such file or directory...

Leo mailinglists at lns.com.br
Fri Apr 15 15:56:16 CEST 2005

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


Look at your conf, you typed incorrectly the name of device:

on hercules {
device /dev/drdb1;

The correct is:
device /dev/drbd1

BD NOT DB.

:)


On Friday 15 April 2005 08:38, Gilberto Nunes wrote:
> Hi Stephan
>
> Thank you for answer my questions...
>
> Well, I very newbie in the DRBD and HA area... :-)
>
> > you have two resources ? I am stumbling over 'drbd2 no such file or
> > device'- there should only be drbd0 and drbd1 ...
>
> Yes..I have two separate partition to replication for another machine
>
> >Do you use udev ?
>
> No...
>
> > Did you create the dev-entries manually ?
>
> Yes... Some times, whe I start drbd init script, in /etc/init.d, it´s tell
> me to create the devices, with a line command... I create it...
>
> >  How did you load the > module - did you by chance load it manually and
> > tell
>
> him how many
>
> > resources you want by giving him minor_count ?
>
> Yes.. I recompile my kernel in both machine..After this, I compile drbd
> 0.7.x from scratch...
>
>
> < You do not need to
>
> > load it manually, the drbd init-script will take care of it.
>
> YEs...Try it...But don´t worker for me
>
> Tks
>
> > Am Donnerstag, 14. April 2005 19:42 schrieb Gilberto Nunes:
> > > Hi Folks....
> > >
> > >
> > > I have two server running Debian GNU/Linux, with 2.6.11.6 kernel
> > > release...
> > >
> > > I compile the drbd 0.7.x source in my both server.
> > >
> > > In one of them, everythink is right...
> > >
> > > I'm up the drbd script, via /etc/init.d/drbd start, and everythink is
> > > well...
> > >
> > > However, whe I try to starting up the same initial script in other
> > > machine, I received the following error message:
> > >
> > > hercules:~# /etc/init.d/drbd start
> > > Starting DRBD resources:      | NOTE: we now have officially asigned
> > > device name and major number.
> > >
> > >   | Please use /dev/drbd*; if neccessary create the device nodes first.
> > >   | To do so: for i in `seq 0 15` ; do mknod -m 0660 /dev/drbd$i b 147
> > >   | $i; done
> > >
> > > can not open /dev/drdb2: No such file or directory
> > > [ d0 ioctl(,SET_DISK_CONFIG,) failed: Invalid argument
> > > Meta device too small.
> > >
> > > cmd /sbin/drbdsetup /dev/drbd0 disk /dev/mapper/WEB-web internal -1
> > > --on-io-error=detach  failed!
> > >
> > >
> > > I have been created the correcty devices, in /dev/ filesystem.
> > > I have been loaded the drbd.ko module.
> > >
> > > Can someone help about this error?
> > > In attcah, my drbd.conf.
> > > This .conf is already put in both of machine.
> > > Thanks....
> > >
> > >
> > > --
> > > Gilberto Nunes
> > > Administrador de Rede/Sistemas
> > > Net Adm
> > > Fone: 433-0155 - Ramal 235
> > > Bom Jesus/IELUSC (www.bomjesusielusc.edu.br)
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
>
> --
> Gilberto Nunes
> Administrador de Rede/Sistemas
> Fone: 433-0155 - Ramal 235
> Bom Jesus/IELUSC (www.bomjesusielusc.edu.br)
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list