VirtualBox

12 年 前 建立

19 月 前 結束

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

更動歷史 (2)

comment:1 21 月 前bbert 編輯

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.

最後由 bbert 編輯於 21 月 前 (上一筆) (差異)

comment:2 19 月 前galitsyn 編輯

狀態: newclosed
處理結果: obsolete
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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