On 09/14/2016 09:55 AM, Adrian Saul wrote:
> 
> I found I could ignore the XFS issues and just mount it with the appropriate 
> options (below from my backup scripts):
> 
>         #
>         # Mount with nouuid (conflicting XFS) and norecovery (ro snapshot)
>         #
>         if ! mount -o ro,nouuid,norecovery  $SNAPDEV /backup${FS}; then
>                 echo "FAILED: Unable to mount snapshot $DATESTAMP of $FS - 
> cleaning up"
>                 rbd unmap $SNAPDEV
>                 rbd snap rm ${RBDPATH}@${DATESTAMP}
>                 exit 3;
>         fi
>         echo "Backup snapshot of $RBDPATH mounted at: /backup${FS}"
> 
> It's impossible without clones to do it without norecovery.

But shouldn't freezing the fs and doing a snapshot constitute a "clean
unmount" hence no need to recover on the next mount (of the snapshot) -
Ilya?

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to