Hi,

For someone who is not an lvm expert, does anyone have a recipe for
destroying a ceph-volume lvm osd?
(I have a failed disk which I want to deactivate / wipe before
physically removing from the host, and the tooling for this doesn't
exist yet http://tracker.ceph.com/issues/22287)

>  ceph-volume lvm zap /dev/sdu # does not work
Zapping: /dev/sdu
Running command: sudo wipefs --all /dev/sdu
 stderr: wipefs: error: /dev/sdu: probing initialization failed:
Device or resource busy
-->  RuntimeError: command returned non-zero exit status: 1

This is the drive I want to remove:

===== osd.240 ======

  [block]    /dev/ceph-<the cluster
fsid>/osd-block-f1455f38-b94b-4501-86df-6d6c96727d02

      type                      block
      osd id                    240
      cluster fsid              xxx
      cluster name              ceph
      osd fsid                  f1455f38-b94b-4501-86df-6d6c96727d02
      block uuid                N4fpLc-O3y0-hvfN-oRpD-y6kH-znfl-4EaVLi
      block device              /dev/ceph-<the cluster
fsid>/osd-block-f1455f38-b94b-4501-86df-6d6c96727d02

How does one tear that down so it can be zapped?

Best Regards,

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

Reply via email to