LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2007, 04:04 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
Fschk and partitions other than root


I have my system on one partition sdb3 but I have two ext3 partitions for media files and two fat32 partitions also for data which are always mounted at boot.

Now every so often fschk is forced on sdb3 when starting the system. It occurs to me that none of the other partitions are ever checked. Should I be checking them regularly?

TIA

Alan
 
Old 05-14-2007, 04:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well don't worry about the vfat partitions, but yesh you should be fscking the other ext3 ones. normally you'd firstly have the fsck flag set in /etc/fstab, and also have tune2fs configured to set the "maximal mount count" option to 30 or something, so every 30 mounts, an fsck is run.
 
Old 05-14-2007, 04:45 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Thanks, is that the last zero? Change to 2?
Also do I really have to unmount them before running tune2fs?

Quote:
/dev/sdb2 swap swap defaults 0 0
/dev/sdb3 / ext3 defaults 1 1
/dev/sda2 /mnt/windows ntfs-3g defaults 0 0
/dev/sdb1 /mnt/sdb1 ext3 user 0 0
/dev/sdb5 /mnt/winlin vfat user,umask=0 0 0
/dev/sdb6 /mnt/winback vfat user,umask=0 0 0
/dev/sdb7 /mnt/radio ext3 user 0 0
/dev/sdb10 /mnt/sdb10 ext3 user 0 0
/dev/sda3 /mnt/mp3 ext3 user 0 0

Last edited by arubin; 05-14-2007 at 04:47 AM.
 
Old 05-14-2007, 05:26 AM   #4
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Quote:
Originally Posted by arubin
Also do I really have to unmount them before running tune2fs?
I don't think you *have* to unmount but I'd recommend it as if you don't unmount you will most likely break the filesystem.
 
Old 05-14-2007, 06:51 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well *I* wouldn't bother... interpret at your peril...
 
Old 05-14-2007, 07:11 AM   #6
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
fstab configurations

Quote:
Originally Posted by arubin
Thanks, is that the last zero? Change to 2?
I have this line in my fstab:

Code:
# fsck_on_boot defaults to 0 (don't), 1 is for root fs, 2 for other fs to fsck
And yes it's the last number in the line, the penultimate number being for "dump" (which apparently is some backup program?!).
 
Old 05-14-2007, 01:49 PM   #7
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
I cannot understand why setting a fsck frequency should break a filesystem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 fschk boot problem cessnaman Fedora 2 02-23-2007 06:49 PM
Question on creating more partitions than default ones, i.e. /home,/root partitions casmac SUSE / openSUSE 1 12-20-2006 05:02 PM
e2fsck: root partitions and ro mounted partitions Clemente Linux - General 4 11-06-2006 09:32 PM
mount and r/w partitions in non-root Alfexy Slackware 2 10-21-2004 03:49 PM
fschk of ext2 during boot up JZL240I-U Linux - General 2 09-21-2004 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration