[DRBD-user] Problem with IOCTL on centos?

John Moylan moylanj at rte.ie
Mon Sep 19 17:06:40 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.


Hi,

I'm new to DRBD, but I am trying to set up up as a replacment for an 
Netapp NAS.

I am having difficulties starting drbd. I am using 0.7.13 on Centos4 
(2.6.9-11.ELsmp)

I compiled am RPM using make rpm, installed it and tweeked the conf 
file. But when I run "drdbadm up all" or  "drbdadm adjust export" the 
commands just exit with "ioctl(,GET_VERSION,) failed: Invalid argument"

Has anyone any ideas as to what could be causing this problem?

Thanks,
John
//

[root at prompt]# modprobe drbd; drbdadm up all; dmesg | tail; cat /proc/drbd
  | 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
ioctl(,GET_VERSION,) failed: Invalid argument
Command '/sbin/drbdsetup /dev/sdb2 disk /dev/drbd0 /dev/sdb1 0 
--on-io-error=detach' terminated with exit code 20
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
NET: Registered protocol family 10
Disabled Privacy Extensions on device ffffffff803ea380(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
drbd: initialised. Version: 0.7.13 (api:77/proto:74)
drbd: SVN Revision: 1942 build by root at text3.blacknet.rte.ie, 2005-09-12 
15:51:30
drbd: registered as block device major 147
eth2: no IPv6 routers present
eth0: no IPv6 routers present
version: 0.7.13 (api:77/proto:74)
SVN Revision: 1942 build by root at prompt, 2005-09-12 15:51:30
 0: cs:Unconfigured
 1: cs:Unconfigured
 2: cs:Unconfigured
 3: cs:Unconfigured
 4: cs:Unconfigured
 5: cs:Unconfigured
 6: cs:Unconfigured
 7: cs:Unconfigured
 8: cs:Unconfigured
 9: cs:Unconfigured
10: cs:Unconfigured
11: cs:Unconfigured
12: cs:Unconfigured
13: cs:Unconfigured
14: cs:Unconfigured
15: cs:Unconfigured
16: cs:Unconfigured
17: cs:Unconfigured



******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20050919/1710d0df/attachment.htm>


More information about the drbd-user mailing list