Re: Snap rollback failed with exclusive-lock enabled

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

 



That's by design -- it doesn't make sense to live-rollback a block
device when you have a running VM actively accessing the device. Once
you shut-down the VM, rollback should work just fine.

On Mon, May 22, 2017 at 5:29 AM, Lijie <li.jieA@xxxxxxx> wrote:
> Hi All,
>
> When I do a snap rollback command  with exclusive-lock enabled, it returns
> failure .
>
> The error message is “Rolling back to snapshot: 0% complete...failed.rbd:
> rollback failed: (30) Read-only file system”.
>
> And the log is “ms_dispatch 0x37df0c0 osd_op_reply(12
> rbd_header.5e2b6b8b4567 [call] v0'0 uv0 ondisk = -16 ((16) Device or
> resource busy))”
>
>
>
> But if I disable the exclusive-lock feature, snap  rollbacks successfully.
>
>
>
> So Iam wondering whether  the exclusive-lock and rollback are in conflict
> .Or maybe there exists defect ?
>
>
>
> Looking forward  to  your reply .
>
>
>
> Best gards
>
>
>
> Thanks
>
>
>
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有新华三技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from New
> H3C, which is
> intended only for the person or entity whose address is listed above. Any
> use of the
> information contained herein in any way (including, but not limited to,
> total or partial
> disclosure, reproduction, or dissemination) by persons other than the
> intended
> recipient(s) is prohibited. If you receive this e-mail in error, please
> notify the sender
> by phone or email immediately and delete it!
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Jason
_______________________________________________
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