My system does not seem to run a boot-time fsck at all since my last upgrade. I have looked at how it _should_ work, but the following results seem strange to me:
$ cat /etc/fstab
...
# / was on /dev/sda6 during installation
UUID=331af706-41b2-404e-a771-be1acddd4c39 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0587d558-16bd-4354-b265-11aba02fc051 none swap sw 0 0
# swap was on /dev/sdb2 during installation
UUID=3a02d80c-7c7f-4d5f-a875-dbb6c9cdf97f none swap sw 0 0
# swap was on /dev/sdc3 during installation
UUID=0c26d059-2639-4f77-bf7f-6dc30e402854 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
#
/dev/sdc7 /home/jon/music_mp3 ext3 defaults 0 2
/dev/sdb3 /home/jon/our-pix ext4 defaults 0 2
/dev/sda2 /mnt/win_c ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
/dev/sda3 /mnt/win_d ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
#
/dev/sdc6 /home ext3 defaults 0 2
/dev/sdc5 /tmp ext3 defaults 0 2
/dev/sdc9 /samba-transfer ext3 defaults 0 2
/dev/sdb5 /home/jon/music-mp3 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
What is all that "# / was on /dev/sda6 during installation" stuff? But the final params which govern fsck look ok, at least to me.
For my root file system:
$ sudo dumpe2fs -h /dev/sda6 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 54
Maximum mount count: -1
MINUS one? Some others look like this:
$ sudo dumpe2fs -h /dev/sdc7 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 28
Maximum mount count: 38
$ sudo dumpe2fs -h /dev/sdb3 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 146
Maximum mount count: -1
$ sudo dumpe2fs -h /dev/sdb5 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Numéro magique invalide dans le super-bloc lors de la tentative d'ouverture de /dev/sdb5
Sorry about the french; that is another problem. I wish it were in english, like:
$ ls no-file-of-this-name
ls: cannot access no-file-of-this-name: No such file or directory
So what gives with fsck at boot and all those strange max mount counts?
Thanks in advance.
$ cat /etc/fstab
...
# / was on /dev/sda6 during installation
UUID=331af706-41b2-404e-a771-be1acddd4c39 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0587d558-16bd-4354-b265-11aba02fc051 none swap sw 0 0
# swap was on /dev/sdb2 during installation
UUID=3a02d80c-7c7f-4d5f-a875-dbb6c9cdf97f none swap sw 0 0
# swap was on /dev/sdc3 during installation
UUID=0c26d059-2639-4f77-bf7f-6dc30e402854 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
#
/dev/sdc7 /home/jon/music_mp3 ext3 defaults 0 2
/dev/sdb3 /home/jon/our-pix ext4 defaults 0 2
/dev/sda2 /mnt/win_c ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
/dev/sda3 /mnt/win_d ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
#
/dev/sdc6 /home ext3 defaults 0 2
/dev/sdc5 /tmp ext3 defaults 0 2
/dev/sdc9 /samba-transfer ext3 defaults 0 2
/dev/sdb5 /home/jon/music-mp3 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
What is all that "# / was on /dev/sda6 during installation" stuff? But the final params which govern fsck look ok, at least to me.
For my root file system:
$ sudo dumpe2fs -h /dev/sda6 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 54
Maximum mount count: -1
MINUS one? Some others look like this:
$ sudo dumpe2fs -h /dev/sdc7 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 28
Maximum mount count: 38
$ sudo dumpe2fs -h /dev/sdb3 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
Mount count: 146
Maximum mount count: -1
$ sudo dumpe2fs -h /dev/sdb5 | grep -i 'mount count'
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Numéro magique invalide dans le super-bloc lors de la tentative d'ouverture de /dev/sdb5
Sorry about the french; that is another problem. I wish it were in english, like:
$ ls no-file-of-this-name
ls: cannot access no-file-of-this-name: No such file or directory
So what gives with fsck at boot and all those strange max mount counts?
Thanks in advance.
Comment