unable to format drive

yyyy

Member
Nov 28, 2023
68
2
8
hello

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
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!