[SOLVED] I can't create any directory

lumox

Member
May 29, 2020
111
5
23
42
Hi, I am new to Proxmox.

I installed Proxmox VE 6.2.4 on an old PC of mine.

It seems that I can't create any directories to put ISO and VM on them.

This is my situation in DISKS I installed proxmox on sdb:

disk.jpg

This is What I get when I tried to create a new directory (one for ISO in SDC and one for VM on SDA):

dir.jpg



What is the issue? Could you please help me to figure this out? Thanks
 
If you want to use "Create: Directory" you have to completely wipe the disk first.

For example, if you would like to use this function for /dev/sdc you would first run (Make sure you have working backups of important data and double check that you entered the right letters!) something like
Code:
umount /dev/sdc1
wipefs -a /dev/sdc
dd if=/dev/zero of=/dev/sdc bs=1M count=200
Then the disk should appear with Usage "no" in the GUI and be available for the "Create: Directory" dialog.
 
If you want to use "Create: Directory" you have to completely wipe the disk first.

For example, if you would like to use this function for /dev/sdc you would first run (Make sure you have working backups of important data and double check that you entered the right letters!) something like
Code:
umount /dev/sdc1
wipefs -a /dev/sdc
dd if=/dev/zero of=/dev/sdc bs=1M count=200
Then the disk should appear with Usage "no" in the GUI and be available for the "Create: Directory" dialog.

Thanks
 
  • Like
Reactions: Dominic
If you have a minute it would be great if you could mark the thread as solved by editing the prefix of your top post. This way other users know what to expect.
 
If you have a minute it would be great if you could mark the thread as solved by editing the prefix of your top post. This way other users know what to expect.

Ok, I did it, even though I fixed my problem a bit differently.
 
Thank you @Dominic for the quick writeup! Been looking for the past 2 days trying to find a quick way to get this done and all I could find was how to make it a LVM instead. Thank you again.
 
  • Like
Reactions: Dominic

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!