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/sdadd if=/dev/zero of=/dev/sda bs=1M count=1024sgdisk --zap-all /dev/sda
None of these worked. Any suggestions? Any help much appreciated.
lsblkon host1? – eblock Feb 13 '23 at 08:53lsblkshows the drives to be present. I can even mount them aftermkfs.ext /dev/sda. There is nothing wrong with the drives themselves. – Tintin Feb 14 '23 at 10:28