VirtualBox

Opened 11 years ago

Closed 13 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).

Change History (2)

comment:1 by bbert, 14 months ago

Very old ticket, but I had the same questions.

I just tested, when noatime is set on the host, access through vboxsf doesn't update atime. Options like noatime are irrelevant to vboxsf, the host's options are applied.

Version 1, edited 14 months ago by bbert (previous) (next) (diff)

comment:2 by galitsyn, 13 months ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use