I have a disk drive that I added as a Directory to my Proxmox Storage and then added it into a Ubuntu VM. The drive shows up in the VM as /dev/sdb. I have added a partition and formatted it in the usual way and I can manually mount it and have successfully added files. However, I want the drive to be mounted when I reboot the VM. I have tried adding
/dev/sdb1 /data/Disk2 ext3 defaults 0 2
to /etc/fstab but whenever I do so, the VM fails to load on reboot. Ubuntu goes into emergency mode and I can only get it back running by deleting the line out of fstab.
I am brand new to Proxmox. Is there something I need to do different in a VM drive to add it to fstab or other way to make it load when the VM boots. What has me stumped is it mounts fine manually.
if I add the line to fstab then try to load it with sudo mount -a I get the following error: mount: /data/Disk2: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
If I mount the drive manually and enter sudo mount -a no error and even if I then add the lines to fstab and enter it again...no error. But then Ubuntu crashes on reboot.
Not sure what to think.
Thank you for any help
/dev/sdb1 /data/Disk2 ext3 defaults 0 2
to /etc/fstab but whenever I do so, the VM fails to load on reboot. Ubuntu goes into emergency mode and I can only get it back running by deleting the line out of fstab.
I am brand new to Proxmox. Is there something I need to do different in a VM drive to add it to fstab or other way to make it load when the VM boots. What has me stumped is it mounts fine manually.
if I add the line to fstab then try to load it with sudo mount -a I get the following error: mount: /data/Disk2: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
If I mount the drive manually and enter sudo mount -a no error and even if I then add the lines to fstab and enter it again...no error. But then Ubuntu crashes on reboot.
Not sure what to think.
Thank you for any help