#11640 closed defect (obsolete)
vboxsf does not support noatime,nodiratime,discard options
回報者: | RoelV | 負責人: | |
---|---|---|---|
元件: | shared folders | 版本: | VirtualBox 4.2.10 |
關鍵字: | ssd vboxsf noatime nodiratime discard | 副本: | |
Guest type: | Linux | Host type: | Windows |
描述
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.