Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
file system checking problem while booting gentoo
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
aries211
n00b
n00b


Joined: 17 Jan 2006
Posts: 3

PostPosted: Fri Sep 29, 2006 6:45 am    Post subject: file system checking problem while booting gentoo Reply with quote

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
View user's profile Send private message
mens
Guru
Guru


Joined: 27 Aug 2003
Posts: 392
Location: Belgium

PostPosted: Fri Sep 29, 2006 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
aries211
n00b
n00b


Joined: 17 Jan 2006
Posts: 3

PostPosted: Tue Oct 10, 2006 2:01 am    Post subject: Reply with quote

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
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