Re: Corrupted RBD image

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

 



If the remove command is interrupted after it deletes the data and
image header but before it deletes the image listing in the directory,
this can occur. If you run "rbd rm <image-spec>" again (assuming it
was your intent), it should take care of removing the directory
listing entry.

On Fri, Oct 30, 2020 at 6:57 AM Ing. Luis Felipe Domínguez Vega
<luis.dominguez@xxxxxxxxx> wrote:
>
> root@fond-beagle:/home/ubuntu# rbd info --debug-rados=20 --pool
> cinder-ceph volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda
> 2020-10-30T06:56:11.567-0400 7ff7302b8380  1 librados: starting msgr at
> 2020-10-30T06:56:11.567-0400 7ff7302b8380  1 librados: starting objecter
> 2020-10-30T06:56:11.567-0400 7ff7302b8380  1 librados: setting wanted
> keys
> 2020-10-30T06:56:11.567-0400 7ff7302b8380  1 librados: calling monclient
> init
> 2020-10-30T06:56:11.571-0400 7ff7302b8380  1 librados: init done
> 2020-10-30T06:56:11.571-0400 7ff7302b8380 10 librados: wait_for_osdmap
> waiting
> 2020-10-30T06:56:11.575-0400 7ff7302b8380 10 librados: wait_for_osdmap
> done waiting
> 2020-10-30T06:56:11.587-0400 7ff7302b8380 20 librados: flush_aio_writes
> 2020-10-30T06:56:11.587-0400 7ff7302b8380 20 librados: flush_aio_writes
> rbd: error opening image volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda:
> (2) No such file or directory
> 2020-10-30T06:56:11.587-0400 7ff7302b8380 10 librados: watch_flush enter
> 2020-10-30T06:56:11.587-0400 7ff7302b8380 10 librados: watch_flush exit
> 2020-10-30T06:56:11.587-0400 7ff7302b8380  1 librados: shutdown
>
> El 2020-10-30 04:33, Wido den Hollander escribió:
> > On 30/10/2020 06:09, Ing. Luis Felipe Domínguez Vega wrote:
> >> Hi:
> >>
> >> I tried get info from a RBD image but:
> >>
> >> -------------------------------------------------------------------------
> >> root@fond-beagle:/# rbd list --pool cinder-ceph | grep
> >> volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda
> >>> volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda
> >>
> >> root@fond-beagle:/# rbd info --pool cinder-ceph
> >> volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda
> >>> rbd: error opening image volume-dfcca6c8-cb96-4b79-bc85-b200a061dcda:
> >>> (2) No such file or directory
> >> ----------------------------------------------------------------------
> >>
> >> THis is that the metadata show the image but the content was removed?
> >
> > Sometimes it's easier to run with --debug-rados=20
> >
> > Then you can see what it tries to fetch from RADOS and where it fails.
> > That might tell you more.
> >
> > Wido
> >
> >> _______________________________________________
> >> ceph-users mailing list -- ceph-users@xxxxxxx
> >> To unsubscribe send an email to ceph-users-leave@xxxxxxx
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx



-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux