Re: systemd fsck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/11/2012 04:09 AM, Mantas Mikulėnas wrote:
> On Sat, Aug 11, 2012 at 6:27 AM, David Benfell 
> <benfell@xxxxxxxxxxxxxxxxx> wrote:
>> 2) But I did notice an error that worried me--just because it
>> looks worrying--as it came up:
>> 
>> Aug 09 13:34:36 graton systemd-fsck[270]: /dev/sda3 is mounted. 
>> Aug 09 13:34:36 graton systemd-fsck[270]: e2fsck: Cannot
>> continue, aborting. Aug 09 13:34:36 graton systemd-fsck[270]:
>> fsck failed with error code 8. Aug 09 13:34:36 graton
>> systemd-fsck[270]: Ignoring error. Aug 09 13:34:36 graton
>> systemd-fsck[289]: /dev/sdb1: clean, 398077/33554432 files,
>> 27916145/134217728 blocks Aug 09 13:34:36 graton
>> systemd-fsck[287]: /dev/sdb3: clean, 647214/21102592 files,
>> 26531961/84405504 blocks Aug 09 13:34:36 graton
>> systemd-fsck[348]: /dev/sda4: clean, 1650719/59490304 files,
>> 57620902/237931957 blocks Aug 09 13:34:37 graton
>> systemd-fsck[320]: /dev/sda1: clean, 33/10040 files, 22152/40160
>> blocks Aug 09 13:34:37 graton systemd-fsck[293]: /dev/sdb2:
>> clean, 4926903/67125248 files, 195736925/268500992 blocks
>> 
>> /dev/sda3 is the root partition.
> 
> Does your kernel have the "ro" option specified? I know little
> about this, but I think ext34 partitions cannot be checked while
> mounted read-write and the usual way of doing this for the root
> partition has been to add "ro" to the kernel command line, and to
> remount the root partition read-write after checking it. (Though
> running the check from initramfs might be an even better method,
> Arch here has an option for that.)
> 
You're absolutely right that ext{2,3,4} partitions need to be
read-only for fsck. The latter throws up a very scary warning if you
try to run it on a partition mounted read-write. Here's the kernel
line from /boot/grub/menu.lst (haven't converted to grub2 yet):

kernel /vmlinuz-linux
root=/dev/disk/by-uuid/a7f84383-2cc2-4d70-adb5-3bf909a3f99b loglevel=3
ro quiet splash
resume=/dev/disk/by-uuid/2d185a12-115f-4f93-99a3-bfca4d0fc216
init=/bin/systemd

- -- 
David Benfell
benfell@xxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQJu57AAoJELT202JKF+xp5BcP/RjXMcDSoCJBj2rDVGQdtu80
fbEnNDfvL8a5ucuBn4jPAIdad9/QKJ9UgsIfRo31HJXJU4hNfoxCRvEDTG1f4oCB
Y7bfqq89UyAtyLCOUBKGUbUGqzSyFrwuPa+ugTTKlIh58Gr1kfHaI1PMP4qoWr/z
iUq6YpsxPCV4K0BsK6aN5aG6+zis4sAw4NKW3X2DZyM0zMJcetiuKYEAANSVayGN
EA1HZz0JQwt21rpiSaWMmF46Q7IP/LqiJ7LPC2eO4wX72DZMvwowexFx1IsDpLfc
Yr/AZ8WcoA6Zpvc1Ze+epu1Pr/QdgdZgZ/1FvMEupNkHJ4Pxw4mAlU+qSWpLVFEz
QEgyIuVwxorTcmR6pzaimQNaZv80BTUXC6xQYAwmtlREPx7HTQxRMu5+q+4x8DIK
TxvSLkn3RrzIEpFo3h4+8eW07V2Nliqs+UUEWBr/s+LO2ue53YO7aGmIb0JR8ist
B4NlDiyKy6OT0QWI2nvpwLu+23HtwIfgn/r/ExcKE+oGxYTAjZwZyZV7Y6xYsT5v
nHh5/USE0qvyEXvPcDr7SOI62RAUzXqznYorcaMxovagtT1tcoxuPn6VdijUss02
siXHXNliA9kjIrrBv1WQnsacdF93Skoso6/6o5393tFXbHNzG85dxjPmS7PVWdMp
eXITfVi6qK0syYco8DxQ
=nv3C
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux