Hi,
I attached an external USB drive (1TB) to my proxmox install, formatted it etc. etc., and created a Directory so I can use it for storing backups.
What I noticed is that proxmox thinks I only have 350GB available to that drive, even though everything else tells me it's 1TB.
fdisk -l
lsblk
Neither df or mount list the directory, called ext in my case.
I think what happened is when I originally created the Directory, even though I created it against sdd1, I presume it must have done it as a mount point. Then after reboooting the server it must have removed the mount point and left the ext folder on my local drive as an empty folder and has happily been writing my backups there ever since.
So how do I sort this all out? Please correct me where I am wrong and fill in any blanks along the way.
Firstly, I need to copy the backups somewhere else, I presume I can just mv the entire dumps folder to another drive...I have a 6YB raid with plenty of room for that I can use.
Then how do I release the ext storage from the node? there is no option for me to do that in the UI. I assume here that in doing so this would also release the sdd1 to be able to be reallocated again.
Next I presume I have to allocate the drive again, let it assign a mount name and mount the drive, then go and edit
and make it a permanent assignment based on the drive information from
At some point along the way I removed backups as a storage type from local, but I can't find how I did that. Can you change the storage types assigned once you have done so, if so how?
Am I on the right path?
If I then copy the files back from the raid array to the new dumps directory. and if all is well I can erase all the original copies of the dump files from the /mnt/ext folder and the raid array.
I'm new to proxmox, and pretty much a noob with linux, but I am an IT professional so I have a decent grasp...but have really no idea if what I am doing is right or not?
Appreciate some sane voices to assist.
I attached an external USB drive (1TB) to my proxmox install, formatted it etc. etc., and created a Directory so I can use it for storing backups.
What I noticed is that proxmox thinks I only have 350GB available to that drive, even though everything else tells me it's 1TB.
fdisk -l
Code:
Disk /dev/sdd: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: SSD 850 PRO 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 5069C683-5316-4DF7-BF4E-6A0A457D08E6
Device Start End Sectors Size Type
/dev/sdd1 2048 2000409230 2000407183 953.9G Linux filesystem
lsblk
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdd 8:48 0 953.9G 0 disk
└─sdd1 8:49 0 953.9G 0 part
Neither df or mount list the directory, called ext in my case.
I think what happened is when I originally created the Directory, even though I created it against sdd1, I presume it must have done it as a mount point. Then after reboooting the server it must have removed the mount point and left the ext folder on my local drive as an empty folder and has happily been writing my backups there ever since.
So how do I sort this all out? Please correct me where I am wrong and fill in any blanks along the way.
Firstly, I need to copy the backups somewhere else, I presume I can just mv the entire dumps folder to another drive...I have a 6YB raid with plenty of room for that I can use.
Then how do I release the ext storage from the node? there is no option for me to do that in the UI. I assume here that in doing so this would also release the sdd1 to be able to be reallocated again.
Next I presume I have to allocate the drive again, let it assign a mount name and mount the drive, then go and edit
Code:
/etc/fstab
Code:
ls -n /dev/disk/by-id/
At some point along the way I removed backups as a storage type from local, but I can't find how I did that. Can you change the storage types assigned once you have done so, if so how?
Am I on the right path?
If I then copy the files back from the raid array to the new dumps directory. and if all is well I can erase all the original copies of the dump files from the /mnt/ext folder and the raid array.
I'm new to proxmox, and pretty much a noob with linux, but I am an IT professional so I have a decent grasp...but have really no idea if what I am doing is right or not?
Appreciate some sane voices to assist.