Many thanks for the prompt response.
To prevent the volume from detaching each time I reboot my VM, I am using the following after doing mount /dev/sdX mountpoint:
‘grep /dev/sd /proc/mounts’
to see where the volume is mounted. The output I get is
/dev/sda1 / ext4 ro,relatime,data=ordered 0 0
/dev/sda1 /home/linuxbrew ext4 ro,relatime,data=ordered 0 0
/dev/sdb /home/ubuntu/efn xfs rw,relatime,attr2,inode64,noquota 0 0
Then I did ‘sudo nano /etc/fstab’ into which I added the path to the mountpoint. This fstab file however comes with this information in it already:
/home/ubuntu/efn LABEL=cloudimg-rootfs / ext4 defaults 0 0
/mnt/gvl/apps/linuxbrew /home/linuxbrew none bind 0 0
So that when I add the full information to my new volume, the information in my fstab file is now
/home/ubuntu/efn LABEL=cloudimg-rootfs / ext4 defaults 0 0
/mnt/gvl/apps/linuxbrew /home/linuxbrew none bind 0 0
/dev/sdb /home/ubuntu/efn xfs rw,relatime,attr2,inode64,noquota 0 0
However when I use Ctrl+X to close the file and choose Yes to save, I am getting an error message, [ Error writing /etc/fstab: Read-only file system ]
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Ju
Can you please advise what I am missing in mounting my volume permanently so that it does not unmount each time I reboot?
Many thx,
Ebenn