Re: Bug? ceph-volume zap not working

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

 



 

 
After removing manually the lv, vg, and pv, ceph-volume zap works, but 
again the osd auth id still exists. (Although I have no idea how it 
should know which to remove) 


[@ bootstrap-osd]# ceph-volume lvm zap /dev/sdf
--> Zapping: /dev/sdf
Running command: /usr/sbin/cryptsetup status /dev/mapper/
 stdout: /dev/mapper/ is inactive.
Running command: wipefs --all /dev/sdf
Running command: dd if=/dev/zero of=/dev/sdf bs=1M count=10
 stderr: 10+0 records in
10+0 records out
10485760 bytes (10 MB) copied
 stderr: , 0.00724599 s, 1.4 GB/s
--> Zapping successful for: /dev/sdf



-----Original Message-----
From: Marc Roos 
Sent: zaterdag 2 juni 2018 12:17
To: ceph-users
Subject:  Bug? ceph-volume zap not working


I guess zap should be used instead of destroy? Maybe keep ceph-disk 
backwards compatibility and keep destroy??

[root@c03 bootstrap-osd]# ceph-volume lvm zap /dev/sdf
--> Zapping: /dev/sdf
--> Unmounting /var/lib/ceph/osd/ceph-19
Running command: umount -v /var/lib/ceph/osd/ceph-19
 stderr: umount: /var/lib/ceph/osd/ceph-19 (tmpfs) unmounted Running 
command: wipefs --all /dev/sdf
 stderr: wipefs: error: /dev/sdf: probing initialization failed: Device 
or resource busy
-->  RuntimeError: command returned non-zero exit status: 1

Pvs / lvs are still there, I guess these are keeping the 'resource busy'


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


_______________________________________________
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