Opened 12 years ago
Closed 20 months ago
#11640 closed defect (obsolete)
vboxsf does not support noatime,nodiratime,discard options
Reported by: | RoelV | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 4.2.10 |
Keywords: | ssd vboxsf noatime nodiratime discard | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
When using a mount (/etc/fstab), for example as follows:
ssd /ssd vboxsf noatime,nodiratime,discard 0 0
And trying to mount, you get:
[roel@localhost /]$ sudo mount -a unknown mount option `noatime'
Removing the options one by one shows it does not support any:
unknown mount option `nodiratime' unknown mount option `discard'
Yet, using 'defaults', i.e.:
ssd /ssd vboxsf defaults 0 0
Works fine.
This is very significant, as it does not allow for mounting a SSD with SSD recommended options (noatime,nodiratime,discard).
Very old ticket, but I had the same questions.
I just tested, when
noatime
is set on the host, access through vboxsf doesn't updateatime
. Options likenoatime
are irrelevant to vboxsf, the host's options are applied.I think this ticket should be closed.