Bug 301801 - DVD-RAM and CD-MRW should be mounted noatime,nodiratime
Summary: DVD-RAM and CD-MRW should be mounted noatime,nodiratime
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: RC 1
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Forgotten User kHYb7eJGnH
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 119900
  Show dependency treegraph
 
Reported: 2007-08-20 13:14 UTC by Stanislav Brabec
Modified: 2017-08-10 19:44 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Brabec 2007-08-20 13:14:49 UTC
DVD-RAM should and CD-MRW (DVD-MRW, packet-write *RW) must be mounted noatime,nodiratime.

Mounting them with atime and diratime causes major slowdown (2x-8x depending on file sizes) and for CD-MRW it means medium wasting in a short time.

The same policy could be applicable for other devices with limited write count or slow write (flash memories, MTD).

For longer discussion see bug 119900.
Comment 1 Greg Kroah-Hartman 2008-02-04 21:37:24 UTC
Not a kernel issue, reassigning...
Comment 2 Danny Al-Gaaf 2008-02-22 15:44:21 UTC
It's not a HAL issue, the desktop environment has simply to send the correct mount options while mount DVD-RAM or CD-MRW to HAL. HAL already allow noatime and nodiratime as mount options on linux file systems. 

I reassign this to the KDE ppl. They have to decide what to do for KDE and have, if needed to fix their code. Not sure if the same apply to GNOME.
Comment 3 Forgotten User bSWU20Bh6O 2009-12-01 16:29:36 UTC
Sorry, 10.3 is no longer supported. Please upgrade to 11.2. Closing.
Comment 4 Stanislav Brabec 2009-12-01 17:02:05 UTC
It is still valid:

mkudffs --utf8 --media-type=dvdram --vid="TestUDF" /dev/sr1

Then eject and re-insert and run mount:

/dev/sr1 on /media/TestUDF type udf (rw,nosuid,nodev,uhelper=devkit,uid=10027,gid=100,iocharset=utf8,umask=0077)

As you can see, the device is still not mounted with noatime.

Thanks to the new kernel default, now it should cause slowdown only once daily.

CD-MRW medium has a chance to live for a month or so before it reaches permitted number of rewrites.
Comment 5 Forgotten User kHYb7eJGnH 2010-06-03 13:14:13 UTC
Hello, is this still a problem in KDE 4.3.5 or later?
Thank you
Comment 6 Forgotten User kHYb7eJGnH 2010-06-30 09:10:22 UTC
No response, closing...
Comment 7 Stanislav Brabec 2010-06-30 14:17:11 UTC
Just installed openSUSE 11.3 RC1.

KDE: Device is mounted with default mount options. noatime is missing

GNOME: Mounting of removable media is completely broken.
Comment 8 Xin Li Niu 2010-11-24 09:11:57 UTC
Any update?
Comment 9 Stanislav Brabec 2010-11-24 15:21:29 UTC
Re-tested on 11.3 final:

GNOME: Mounting of UDF formatted DVD-RAM is broken. Nothing happens.

I plan to restest it on Factory/11.4 soon.
Comment 10 Tomáš Chvátal 2017-08-10 19:44:54 UTC
@Standa: please reopen on TW if still an issue, preferably fix it yourself as this was open for 10 years.