Hi Team,
I'm a low-intermediate Linux/Proxmox user, so please don't bite, and please feel free to send me scurrying off to read more - I'm here to learn.
I'm running on very budget hardware, so would like to log to a different drive to avoid SD card burnout. I am aware that Proxmox is not recommended to be run off USB/SD cards, but would like to do so anyway in my non-critical environment, as this allows me to experiment and learn with the limited hardware I have available.
I believe that Proxmox logs to /var/logs and /etc/pve/.clusterlog
I have created an ext4 partition at /dev/sdd1. Running 'blkid /dev/sdd1 gives:
UUID="ea7873b6-82e7-4245-b7cc-10bc120cdd0f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f3ae4ca1-c581-1f4c-a900-e872f5fb1f69"
I believe that I should be able to simply configure Proxmox to write the /var/log directory to my /dev/sdd1 drive by adding a line to /etc/fstab as follows:
UUID="ea7873b6-82e7-4245-b7cc-10bc120cdd0f" /var/log/ ext4 defaults 0 0
followed by a reboot.
If I do so, I can still access the server via SSH, and it appears in the GUI, but no data is displayed and no options are available in the GUI.
Commenting out the line in my fstab fixed things instantly upon reboot.
I would greatly appreciate somebody explaining what I've done wrong, and what I should have done instead. Thanks!
I'm a low-intermediate Linux/Proxmox user, so please don't bite, and please feel free to send me scurrying off to read more - I'm here to learn.
I'm running on very budget hardware, so would like to log to a different drive to avoid SD card burnout. I am aware that Proxmox is not recommended to be run off USB/SD cards, but would like to do so anyway in my non-critical environment, as this allows me to experiment and learn with the limited hardware I have available.
I believe that Proxmox logs to /var/logs and /etc/pve/.clusterlog
I have created an ext4 partition at /dev/sdd1. Running 'blkid /dev/sdd1 gives:
UUID="ea7873b6-82e7-4245-b7cc-10bc120cdd0f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f3ae4ca1-c581-1f4c-a900-e872f5fb1f69"
I believe that I should be able to simply configure Proxmox to write the /var/log directory to my /dev/sdd1 drive by adding a line to /etc/fstab as follows:
UUID="ea7873b6-82e7-4245-b7cc-10bc120cdd0f" /var/log/ ext4 defaults 0 0
followed by a reboot.
If I do so, I can still access the server via SSH, and it appears in the GUI, but no data is displayed and no options are available in the GUI.
Commenting out the line in my fstab fixed things instantly upon reboot.
I would greatly appreciate somebody explaining what I've done wrong, and what I should have done instead. Thanks!