That usually means something has changed with the storage, I'd bet there is a lingering reference in the .conf to the old mount.
The easiest? Just delete the container, start clean. Thats what nice about containers by the way! The harder would be mounting the filesystem of the container, and taking a look at some logs. Which route do you want to go?
For the VM, its really easy. Go to the VM, and open up the console. If you're logging in as root, commands as is, if you're logging in as a user, we'll need to add a sudo in there (and maybe install some packages / add the user to the sudoers group)
- Update your packages -
apt update && apt upgrade - Install the nfs tools -
apt install nfs-common - Create your directory where you're going to mount it
mkdir /mnt/NameYourMount - Lets mount it to test -
sudo mount -t nfs 192.168.1.100:/share/dir /mnt/NameYourMount - List out the files and make sure its working -
ls -la /mnt/NameYourMount. If you have an issue here, pause and come back and we'll see whats going on. - If it looks good, lets make it permanent -
nano /etc/fstab - Add this line, edited as appropriate
192.168.1.100:/share/dir /mnt/NameYourMount nfs defaults,x-systemd.automount,x-systemd.requires=network-online.target 0 0 - Save and close -
ctrl+xtheny - Reboot your VM, then login again and
ls -la /mnt/NameYourMountto confirm you're all set
We shouldn't be complacent or lose hope.
I'm... not exactly a fan of the existence of a state in general, but I'll happily support more dem-socialists and the ousting of establishment democrats (aka "traditional" republicans with a blue sign).