hello
I initially used ceph to create an osd for sda drive but then I stopped the drive and deleted the osd, now,
for some reason when running mkfs to format the sda drive it keeps showing as busy even though no processes are using this disk.
root@pve:~# mkfs.xfs /dev/sda
mkfs.xfs: cannot open /dev/sda: Device or resource busy
Note that umount also shows that sda is not mounted.
Also when I try to wipe the disk using the GUI I see this:
disk/partition '/dev/sda3' has a holder (500)
Furthermore trying to wipe the sda1 partition shows this: error wiping '/dev/sda1': dd: invalid number: '0.9833984375'
GDISK is also showing no partitions? but lsblk shows sda1,2,3:
root@dws-pve:~# gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.9
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
Command (? for help): d
No partitions
Note also that I’ve restarted and same issue persists
I initially used ceph to create an osd for sda drive but then I stopped the drive and deleted the osd, now,
for some reason when running mkfs to format the sda drive it keeps showing as busy even though no processes are using this disk.
root@pve:~# mkfs.xfs /dev/sda
mkfs.xfs: cannot open /dev/sda: Device or resource busy
Note that umount also shows that sda is not mounted.
Also when I try to wipe the disk using the GUI I see this:
disk/partition '/dev/sda3' has a holder (500)
Furthermore trying to wipe the sda1 partition shows this: error wiping '/dev/sda1': dd: invalid number: '0.9833984375'
GDISK is also showing no partitions? but lsblk shows sda1,2,3:
root@dws-pve:~# gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.9
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries in memory.
Command (? for help): d
No partitions
Note also that I’ve restarted and same issue persists