Package: autofs
Version: 4.1.4+debian-2
Severity: normal

Although checking an ext3 file system is

1) by default off:

   ,----[ mount(8) ]---
   |
   | Mount options for ext2
   |        check=none / nocheck
   |               No checking is done at mount time. This is the default.
   [...]
   | Mount options for ext3
   |        The  `ext3'  file system is a version of the ext2 file system which 
has
   |        been enhanced with journalling.  It supports the same options  as  
ext2
   [...]
   |
   `----

   and

2) explicitly forbidden:

   ,----[ /etc/auto.backup ]---
   |
   | 0 -fstype=ext3,nocheck,check=none,errors=remount-ro 
:/dev/mapper/vg01-lvbackup0
   |
   `----
   (invoke-rc.d autofs reload and even restart afterwards)

autofs happily checks the file system:

,----[ ps axf ]---
|
|   372 ?        S      0:00  \_ /usr/sbin/automount 
--pid-file=/var/run/autofs/_backup.pid --timeout=1 /backup file /etc/auto.backup
|   373 ?        D      0:13      \_ /sbin/fsck.ext3 -p 
/dev/mapper/vg01-lvbackup0
|
`----

At least it announces it via syslog, hooray:

,----[ /var/log/messages ]---
|
| Oct 16 09:36:35 pc11 automount[5311]: >> /dev/mapper/vg01-lvbackup0: clean, 
626072/30523392 files, 32951600/61031424 blocks (check in 5 mounts)
| [...]
| Oct 16 09:39:24 pc11 automount[7015]: >> /dev/mapper/vg01-lvbackup0: clean, 
626072/30523392 files, 32951600/61031424 blocks (check after next mount)
| [...]
| Oct 16 09:39:34 pc11 automount[7063]: >> /dev/mapper/vg01-lvbackup0 has been 
mounted 22 times without being checked, check forced.
|
`----

A tentative remedy is adjusting the maximal mount counts and check intervals
using tune2fs, but this would affect all systems the external drive gets
connected to, while the mount option "check=..." affects only the current
system, so the unexpected and undocumented run of fsck should be prevented
at first.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages autofs depends on:
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  ucf                           3.003      Update Configuration File: preserv

Versions of packages autofs recommends:
ii  module-init-tools 3.3-pre11-4            tools for managing Linux kernel mo
ii  nfs-common        1:1.1.1~git-20070929-1 NFS support files common to client

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to