Disk Directory - failed: exit code 1

Yohanson77

New Member
Jun 25, 2021
8
0
1
48
Hi, I am new to Proxmox and really struggling with this error "command '/sbin/mkfs -t ext4 /dev/nvme1n1p1' failed: exit code 1 " when trying to create a directory.

I have a Hetzner ex42 with 2 x nvme (512GB). I am trying to create nvme1n1to use for VM.

I have formatted, partitioned, created new GPT table etc with fdisk and gdisk but still the same error.

Can someone please assist.

Thank you in advance.
 
What if you run the command /sbin/mkfs -t ext4 /dev/nvme1n1p1 yourself manually? Do you get any more detailed error messages?
 
通过使用mkfs -t ext4 /dev/sdn 可以到里面的PMBR分区表清除,之后就可以创建了
注意:dev/sdn里面的sdn是对应的磁盘编号