View previous topic :: View next topic |
Author |
Message |
aries211 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jan 2006 Posts: 3
|
Posted: Fri Sep 29, 2006 6:45 am Post subject: file system checking problem while booting gentoo |
|
|
Hi all.
My system has 4 partions, sda1~3 are system needed, I kept sda4 for the future use. Because the space in sda3 is not enough, so I make the sda4 auto mounted. here is some context in /etc/fstab:
Code: |
/dev/sda1 /boot ext3 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /mnt/hd ext3 defaults 1 1 |
At beginning, sda4 worked well, but after some days, the system force sda4 to check each time while booting the system. The more severe is that: sda3 and sda4 both have to be checked while booting now, whick really takes me too much time.
What's the reason and how can I solve it?
Thanks in advance
Regards!
aries |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mens Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/15205672014251375942aa1.jpg)
Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Fri Sep 29, 2006 9:29 am Post subject: |
|
|
If you just don't want to fs to be checked, set the 6th field for sda4 to 0 (currently 1)
If you do not want sda4 to be checked, then change to 4th field (default) to reed noauto.
oth, are you sure that the fs is well unmounted whenever you reboot? At boot time, fsck will also give you a reason why it is checking the filesystem. You can change these settings with tune2fs. the -i option sets the interval between two checks, -c sets the max amount of mounts before a check is forced. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aries211 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jan 2006 Posts: 3
|
Posted: Tue Oct 10, 2006 2:01 am Post subject: |
|
|
Hi mens,
The infomation while rebooting is : /dev/sda4 is mounted for x(eg: 3451334) days, check file system forced.
Now, I have changed the 4th field to noauto, and it's ok, but i am still worried about that whether there is something wrong with the file system.
Regards
aries |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|