VirtualBox

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

Change History (2)

comment:1 by bbert, 22 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.

I think this ticket should be closed.

Last edited 22 months ago by bbert (previous) (diff)

comment:2 by galitsyn, 20 months ago

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette