On 09/13/2016 04:30 PM, Ilya Dryomov wrote:
[SNIP]
> 
> Hmm, it could be about whether it is able to do journal replay on
> mount.  When you mount a snapshot, you get a read-only block device;
> when you mount a clone image, you get a read-write block device.
> 
> Let's try this again, suppose image is foo and snapshot is snap:
> 
> # fsfreeze -f /mnt
> 
> # rbd snap create foo@snap
> # rbd map foo@snap
> /dev/rbd0
> # file -s /dev/rbd0
> # fsck.ext4 -n /dev/rbd0
> # mount /dev/rbd0 /foo
> # umount /foo
> <full dmesg>
> # file -s /dev/rbd0
> # fsck.ext4 -n /dev/rbd0
> 
> # rbd clone foo@snap bar
> $ rbd map bar
> /dev/rbd1
> # file -s /dev/rbd1
> # fsck.ext4 -n /dev/rbd1
> # mount /dev/rbd1 /bar
> # umount /bar
> <full dmesg>
> # file -s /dev/rbd1
> # fsck.ext4 -n /dev/rbd1
> 
> Could you please provide the output for the above?

Here you go : http://paste.ubuntu.com/23173721/


[SNIP]

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to