Anyone got any clue as to why this goes wrong: root@c2-backup ~ # uname -a Linux c2-backup 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux root@c2-backup ~ # rbd showmapped id pool image snap device 0 22-optelec 22-optelec-01 - /dev/rbd0 root@c2-backup ~ # rbd unmap /dev/rbd0 /dev/rbd0 is not an rbd device remove failed: (22) Invalid argument thanks Léon On Thu, 2013-03-28 at 09:27 +0100, Léon Keijser wrote: > In the current kernel (3.2.0-39-generic) it's not fixed. It's quite > annoying as we have to reboot the host every couple of days ... > > > > > On Sat, 2013-03-16 at 12:29 +0100, Léon Keijser wrote: > > Thanks for the response. Currently we're running kernel 3.2.0-35 (3.2.0-35.55 on 12.04.2). > > > > > > Léon > > > > > > -----Original message----- > > > From:Sam Lang <slang@xxxxxxxxxxx> > > > Sent: Sat 16-Mar-2013 00:07 > > > To: Léon Keijser <keijser@xxxxxxxxxxxx> > > > Cc: ceph-users@xxxxxxxx; Alex Elder <elder@xxxxxxxxxxx> > > > Subject: Re: unable to unmap rbd > > > > > > On Thu, Mar 14, 2013 at 4:09 AM, Léon Keijser <keijser@xxxxxxxxxxxx> wrote: > > > > Hi, > > > > > > > > Every now and then I'm unable to unmap an RBD device: > > > > > > > > root@c2-backup ~ # rbd showmapped > > > > id pool image snap device > > > > 0 20-kowin-a 20-kowin-a-01 - /dev/rbd0 > > > > root@c2-backup ~ # rbd unmap /dev/rbd0 > > > > /dev/rbd0 is not an rbd device > > > > remove failed: (22) Invalid argument > > > > > > > > The only solution I've found so far is rebooting the machine. This is of > > > > course not a very nice option, so if someone knows why this occurs and > > > > how to prevent/fix it without rebooting, I'd be grateful :) > > > > > > Should be fixed in a recent kernel. See: > > > http://tracker.ceph.com/issues/2654. Alex do you know what kernel > > > version has this fix? > > > -sam > > > > > > > > > > > Thanks! > > > > > > > > Léon > > > > > > > > _______________________________________________ > > > > ceph-users mailing list > > > > ceph-users@xxxxxxxxxxxxxx > > > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -- Met vriendelijke groeten, Stone-IT Léon Keijser Linux Technical Specialist STONE-IT Linux for e-business Goeman Borgesiuslaan 77 | 3515 ET Utrecht T +31 (0)30 22.87.995 | F +31 (0)30 22.87.997 www.stone-it.com | www.linux.nl _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com