Hi@all,
I have several UCS VM’s on a Proxmox (PVE). The virtual hardware (SCSI controller, disk etc.) is the same for all of them.
All VM’s use XFS. I want to use the mount option within the VM. First I check (inside the VM) if the block device supports this:
root@srv01:~# cat /sys/block/sda/queue/discard_max_bytes
1073741824
and then change the /etc/fstab
UUID=ea60c69a-1648-41eb-979a-dfc7a82b65bc / xfs defaults,discard 0 0
# /var was on /dev/sda2 during installation
UUID=b0675bdf-9417-48fc-a692-65a8df0fe491 /var xfs defaults,discard 0 0
After reboot I check if the option is active.
root@cloud01:~# mount
...
/dev/sda1 on / type xfs (rw,relatime,attr2,inode64,noquota)
...
/dev/sda2 on /var type xfs (rw,relatime,attr2,discard,inode64,noquota)
It is active for the /var partition, but not for the / partition.
What am I doing wrong?
with best
sven