On 01/31/2018 10:24 AM, David Turner wrote:
I use gdisk to remove the partition and partprobe for the OS to see the new partition table. You can script it with sgdisk.
That works indeed! I usually write 100M as well using dd just to be sure any other left-overs are gone.
$ dd if=/dev/zero of=/dev/sdX bs=1M count=100 Wido
On Wed, Jan 31, 2018, 4:10 AM shadow_lin <[email protected] <mailto:[email protected]>> wrote:__ __ Hi list, if I create an osd with journal(wal,db if it is bluestore) in the same hdd, I use ceph-disk zap to clean the disk when I want to remove the osd and clean the data on the disk. But if I use a ssd partition as the journal(wal,db if it is bluestore) , how should I clean the journal (wal,db if it is bluestore) of the osd I want to remove?Especially when there are other osds are using other partition of the same ssd as journals(wal,db if it is bluestore) . 2018-01-31 ------------------------------------------------------------------------ shadow_lin __ _______________________________________________ ceph-users mailing list [email protected] <mailto:[email protected]> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
