Re: rbd - input/output error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 13 Nov 2011, Mario van der Linde wrote:

> Hello,
> 
> i'm playing around with ceph and set up a cluster with 5 nodes. cephfs
> is working fine, but if i try to use rbd i get the following error:
> 
> > ceph1:~ # modprobe rbd
> > ceph1:~ # rbd create testimg --size 10240
> > create error: error 5: Input/output error

Can you try with 

 rbd create testmsg --size 10240 --log-to-stderr --debug-ms 1

so we can see a bit more about what is going on?

Thanks-
sage



> > ceph1:~ # ceph --version
> > ceph version 0.37 (commit:a6f3bbb744a6faea95ae48317f0b838edb16a896)
> 
> There are no log messages that give me a hint whats going wrong.
> 
> Does anybody know what the cause of this error is?
> 
> Here is the ceph.conf used for this cluster:
> > [global]
> >         log dir = /srv/ceph/out
> >         logger dir = /srv/ceph/log
> >        ; chdir = ""
> >         pid file = /srv/ceph/out/$type$id.pid
> > [mds]
> >         pid file = /srv/ceph/out/$name.pid
> >        ; lockdep = 1
> >        ; debug ms = 1
> >        ; debug mds = 20
> >        ; mds log max segments = 2
> >        max mds = 3
> > [osd]
> >        ; lockdep = 1
> >        ; debug ms = 1
> >        ; debug osd = 25
> >        ; debug journal = 20
> >        ; debug filestore = 10
> >         osd data = /srv/ceph/dev/osd$id
> >         osd journal = /srv/ceph/dev/osd$id/journal
> >         osd journal size = 512
> > [mon]
> >        lockdep = 1
> >        debug mon = 20
> >        debug paxos = 20
> >        debug ms = 1
> >        mon data = "/srv/ceph/dev/mon$id"
> > [mon.1]
> >        host = ceph1
> >        mon addr = 192.168.1.221:6789
> > [mon.2]
> >        host = ceph2
> >        mon addr = 192.168.1.222:6789
> > [mon.3]
> >        host = ceph3
> >        mon addr = 192.168.1.223:6789
> > ;[mon.4]
> > ;       host = ceph4
> > ;       mon addr = 192.168.1.224:6789
> > ;[mon.5]
> > ;       host = ceph5
> > ;       mon addr = 192.168.1.225:6789
> > [osd.1]
> >        host = ceph1
> >        btrfs devs = /dev/sda6
> > [osd.2]
> >        host = ceph2
> >        btrfs devs = /dev/sda6
> > [osd.3]
> >        host = ceph3
> >        btrfs devs = /dev/sda6
> > [osd.4]
> >        host = ceph4
> >        btrfs devs = /dev/sda6
> > [osd.5]
> >        host = ceph5
> >        btrfs devs = /dev/sda6
> > [mds.0]
> >        host = ceph1
> > [mds.1]
> >        host = ceph2
> > [mds.2]
> >        host = ceph3
> 
> 
> Greetings
> Mario
> 
> -- 
> 
> Mario van der Linde                  Geschaeftsfuehrer: Ralph Dehner
> Linux Consultant & Trainer           Unternehmenssitz:  Vohburg
> B1 Systems GmbH                      Amtsgericht:       Ingolstadt
> Osterfeldstraße 7                    Handelsregister:   HRB 3537
> 85088 Vohburg                        http://www.b1-systems.de
> Mobil: +49 151 168 794 85
> EMail: linde@xxxxxxxxxxxxx
> 
> http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xD31B76884480BB04
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux