broken parent/child relationship

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

 



I have a child rbd that doesn't acknowledge its parent.  this is with Kraken (11.2.0)

The misbehaving child was 'flatten'ed from its parent, but now I can't remove the snapshot because it thinks it has a child still. 

root@tyr-ceph-mon0:~# rbd snap ls tyr-p0/51774a43-8d67-4d6d-9711-d0b1e4e6b5e9_delete
SNAPID NAME                                    SIZE 
  2530 c20a31c5-fd88-4104-8579-a6b3cd723f2b 1000 GB 
root@tyr-ceph-mon0:~# rbd children tyr-p0/51774a43-8d67-4d6d-9711-d0b1e4e6b5e9_delete@c20a31c5-fd88-4104-8579-a6b3cd723f2b
tyr-p0/a56eae5f-fd35-4299-bcdc-65839a00f14c
root@tyr-ceph-mon0:~# rbd flatten tyr-p0/a56eae5f-fd35-4299-bcdc-65839a00f14c
Image flatten: 0% complete...failed.
rbd: flatten error: (22) Invalid argument
2017-08-04 08:33:09.719796 7f5bfb7d53c0 -1 librbd::Operations: image has no parent
root@tyr-ceph-mon0:~# rbd snap unprotect tyr-p0/51774a43-8d67-4d6d-9711-d0b1e4e6b5e9_delete@c20a31c5-fd88-4104-8579-a6b3cd723f2b
2017-08-04 08:34:20.649532 7f91f5ffb700 -1 librbd::SnapshotUnprotectRequest: cannot unprotect: at least 1 child(ren) [1d0bce6194cfc3] in pool 'tyr-p0'
2017-08-04 08:34:20.649545 7f91f5ffb700 -1 librbd::SnapshotUnprotectRequest: encountered error: (16) Device or resource busy
2017-08-04 08:34:20.649550 7f91f5ffb700 -1 librbd::SnapshotUnprotectRequest: 0x55d69346da40 should_complete_error: ret_val=-16
2017-08-04 08:34:20.651800 7f91f5ffb700 -1 librbd::SnapshotUnprotectRequest: 0x55d69346da40 should_complete_error: ret_val=-16
rbd: unprotecting snap failed: (16) Device or resource busy
root@tyr-ceph-mon0:~# rbd info tyr-p0/a56eae5f-fd35-4299-bcdc-65839a00f14c
rbd image 'a56eae5f-fd35-4299-bcdc-65839a00f14c':
        size 1000 GB in 256000 objects
        order 22 (4096 kB objects)
        block_name_prefix: rbd_data.1d0bce6194cfc3
        format: 2
        features: layering
        flags: 
_______________________________________________
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