Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-194 no fsck on root Partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1596

PostPosted: Tue Nov 13, 2012 6:24 pm    Post subject: udev-194 no fsck on root Partition Reply with quote

Hello,

since Update to gnome 3.6 I use udev-194. But there is noc fsck on Startup and/or Shutdown of my root Filesystem available. Because its already mounted.

I use the grub Option:

Code:
kernel /boot/kernel-genkernel-x86_64-3.6.6-gentoo real_root=/dev/sda8 devtmpfs.mount=0
already but no change.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Tue Nov 13, 2012 7:08 pm    Post subject: Reply with quote

add the option ro to mount / as read-only at boot time.
init/openrc will take care that it gets mounted as rw once the other partitions are mounted.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1596

PostPosted: Tue Nov 13, 2012 7:44 pm    Post subject: Reply with quote

Veldrin wrote:
add the option ro to mount / as read-only at boot time.
init/openrc will take care that it gets mounted as rw once the other partitions are mounted.


Thanks for replay,

should this set at fstab?

I now find out that the /usr File System is also not checked.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Tue Nov 13, 2012 8:29 pm    Post subject: Reply with quote

no, to the kernel line.

could you post fstab to be sure?
the last 2 options in a fstab line are dump and pass. if pass is set to 0, then init will never run a fsck on that particular partition.
on the other hand, depending on the fs used, fsck might look somewhat different.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1596

PostPosted: Tue Nov 13, 2012 8:31 pm    Post subject: Reply with quote

Veldrin wrote:
no, to the kernel line.

could you post fstab to be sure?
the last 2 options in a fstab line are dump and pass. if pass is set to 0, then init will never run a fsck on that particular partition.
on the other hand, depending on the fs used, fsck might look somewhat different.

V.


Hello,
Code:
/dev/sda8      /      ext4      noatime      0 1
/dev/sda5      /usr      ext4      noatime      0 1
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Tue Nov 13, 2012 11:00 pm    Post subject: Reply with quote

looks correct.

though, ext4 only checks every 180 days or every ~30 mounts.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum