Re: rdb - RAW image snapshot protected failed

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

 



> Op 13 april 2016 om 9:25 schreef M Ranga Swami Reddy <swamireddy@xxxxxxxxx>:
> 
> 
> Hi,
> As I am using the RAW format, is t format 1:
> 
> rbd info images/a88c6600-5781-475c-8806-9723a976425c
> rbd image 'a88c6600-5781-475c-8806-9723a976425c':
>         size 31744 MB in 7936 objects
>         order 22 (4096 kB objects)
>         block_name_prefix: rb.0.26f756.238e1f29
>         format: 1
> 

A format 1 image can't have protected snapshots. You can not convert a format 1
image to a format 2. If you want to do so, you have to export/import that image.

Wido

> 
> On Wed, Apr 13, 2016 at 12:50 PM, Wido den Hollander <wido@xxxxxxxx> wrote:
> >
> >> Op 13 april 2016 om 9:05 schreef M Ranga Swami Reddy
> >> <swamireddy@xxxxxxxxx>:
> >>
> >>
> >> Hello,
> >>
> >> have imported a RAW image to rbd 'images' pool and created a snapshot
> >> from that image...when I tried to set the protected for this snapshot,
> >> its failing with below error.
> >>
> >> ==
> >> bd --pool images snap  protect   --snap snap
> >> a88c6600-5781-475c-8806-9723a976425c rbd: protecting snap failed: (38)
> >>  Function not implemented 2016-04-13 06:47:11.879706 7f9697d4f780 -1
> >> librbd: snap_protect: image must  support layering
> >> ==
> >>
> >>
> >> and an option to add as "--image-features layering", but its working
> >> with RAW foramat images..
> >>
> >> is there issue with RAW images?
> >> How to set the features layering for RAW images?
> >
> > Can you do:
> >
> > $ rbd info a88c6600-5781-475c-8806-9723a976425c
> >
> > You need a format 2 RBD image with layering enabled to support protected
> > snapshots.
> >
> > Wido
> >
> >>
> >> Thanks
> >> Swami
> >> _______________________________________________
> >> 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



[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