Hi folks
Sorry yet another newbie to PVE here with pesky questions
Short version:
I have a single nvme inside a Lenovo ThinkCentre M720q with PVE installed.
And HAD configured a 1Tb external USB as storage for Backups.
At some stage, something went wrong, I guess the USB cable disconnected or similar (hey, it happens).
Rather than the backups simply failing (as I expected them to) pve kept merrily backing up to the mount point for the USB: /mnt/usb
Which... of course is using exponentially more lvm storage with every backup cycle including every backup cycle!
I have temporarily disabled backups, and disconnected the USB drive.
Right this minute, with the USB drive unplugged, lsblk shows:
As you can see that's only a single nvme and only running 1x vm.
Can someone please give me some guidance on a more robust (ie survives reboots and USB cable disconnections) mounting method for local USB drive to be used for backups?
Ideally, I would like to comment out the USB drive from being used as a "system" drive as well.
Actually that goes for any and all future USB drives that I might want to plug in eg if I need to change the USB backup drive to a different model/brand/size/serial#.
The whole system did become unresponsive several times recently (had to force poweroff the ThinkCentre USFF PC with 4second press of power button as I could not reach it via WebUI or SSH, even though it responded to PING on LAN) , and I will ask for some further advice in a separate thread about those issues, but first I should get the internal & external drives correctly setup for my needs.
I'm also wondering whether I should just go ahead and delete everything (while USB backup drive is disconnected) from the mount point : /mnt/usb?
Or do I need to look for important things in there first?
One of the weird system lockups I have had within the last week, I WAS able to get into PVE WebUI, but some services were NOT running
eg, I couldn't get to monitd, or syslog page or launch a shell from the webui, but I DID look on the Disks page which weirdly didn't list the nvme - only the USB drive as /sda1 (I think - this is from memory).
That's the only reason I'm mentioning this aspect though, while the PVE node seems to be ok for now, I want to make sure it's safe to delete everything from the failed /mnt/usb dir
Also, I think it would be safest to reformat and repartition the external USB, for new round of backups, right?
Any advice will be greatly appreciated, as I find my way around PVE, TIA folks!
theUtmost
Sorry yet another newbie to PVE here with pesky questions
Short version:
I have a single nvme inside a Lenovo ThinkCentre M720q with PVE installed.
And HAD configured a 1Tb external USB as storage for Backups.
At some stage, something went wrong, I guess the USB cable disconnected or similar (hey, it happens).
Rather than the backups simply failing (as I expected them to) pve kept merrily backing up to the mount point for the USB: /mnt/usb
Which... of course is using exponentially more lvm storage with every backup cycle including every backup cycle!
I have temporarily disabled backups, and disconnected the USB drive.
Right this minute, with the USB drive unplugged, lsblk shows:
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 1G 0 part /boot/efi
└─nvme0n1p3 259:3 0 237.5G 0 part
├─pve-swap 252:0 0 7.6G 0 lvm [SWAP]
├─pve-root 252:1 0 69.5G 0 lvm /
├─pve-data_tmeta 252:2 0 1.4G 0 lvm
│ └─pve-data-tpool 252:4 0 141.5G 0 lvm
│ ├─pve-data 252:5 0 141.5G 1 lvm
│ └─pve-vm--101--disk--0 252:6 0 40G 0 lvm
└─pve-data_tdata 252:3 0 141.5G 0 lvm
└─pve-data-tpool 252:4 0 141.5G 0 lvm
├─pve-data 252:5 0 141.5G 1 lvm
└─pve-vm--101--disk--0 252:6 0 40G 0 lvm
As you can see that's only a single nvme and only running 1x vm.
Can someone please give me some guidance on a more robust (ie survives reboots and USB cable disconnections) mounting method for local USB drive to be used for backups?
Ideally, I would like to comment out the USB drive from being used as a "system" drive as well.
Actually that goes for any and all future USB drives that I might want to plug in eg if I need to change the USB backup drive to a different model/brand/size/serial#.
The whole system did become unresponsive several times recently (had to force poweroff the ThinkCentre USFF PC with 4second press of power button as I could not reach it via WebUI or SSH, even though it responded to PING on LAN) , and I will ask for some further advice in a separate thread about those issues, but first I should get the internal & external drives correctly setup for my needs.
I'm also wondering whether I should just go ahead and delete everything (while USB backup drive is disconnected) from the mount point : /mnt/usb?
Or do I need to look for important things in there first?
One of the weird system lockups I have had within the last week, I WAS able to get into PVE WebUI, but some services were NOT running
eg, I couldn't get to monitd, or syslog page or launch a shell from the webui, but I DID look on the Disks page which weirdly didn't list the nvme - only the USB drive as /sda1 (I think - this is from memory).
That's the only reason I'm mentioning this aspect though, while the PVE node seems to be ok for now, I want to make sure it's safe to delete everything from the failed /mnt/usb dir
Also, I think it would be safest to reformat and repartition the external USB, for new round of backups, right?
Any advice will be greatly appreciated, as I find my way around PVE, TIA folks!
theUtmost