I am using cephadm. I had a test cluster up and running. I re-installed the OS and during installation nuked the drives by deleting the LVM volume groups and partitions. Now lsblk
shows the devices to be present but ceph orch device ls
returns nothing. I had thought that the problem was residual partition tables or LVM data so I have tried the following:
cephadm ceph-volume lvm zap --destroy /dev/sda
=> error: argument DEVICES: invalidceph orch device zap host1 /dev/sdc --force
=> Error EINVAL: Device path '/dev/sda' not found on host 'host1'wipefs -fa /dev/sda
dd if=/dev/zero of=/dev/sda bs=1M count=1024
sgdisk --zap-all /dev/sda
None of these worked. Any suggestions? Any help much appreciated.