LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2014, 04:08 AM   #1
hahacc
Member
 
Registered: Oct 2010
Posts: 93

Rep: Reputation: 1
Question dump-freq pass-num in /etc/fstab setting to non-zero for NFS


Hi Gurus,
We know that the fifth, sixth fields in /etc/fstab control the following:

Code:
5 - dump-freq: adjusts the archiving schedule for the partition (used by dump).
6 - pass-num: controls the order in which fsck checks the device/partition for errors at boot time. The root device should be 1. Other partitions should be either 2 (to check after root) or 0 (to disable checking for that partition altogether).
I'm wondering that, for NFS mounted from another server, will non-zero value caused congested network or busy disks on the NFS server side?

Thanks.
 
Old 09-19-2014, 08:09 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
dump reads disk devices rather than directory trees - you should have 0 here but I doubt nonzero would be a problem.

http://linux.die.net/man/8/dump

-W
Dump tells the operator what file systems need to be dumped. This information is gleaned from the files /etc/dumpdates and /etc/fstab. The -W option causes dump to print out, for all file systems in /etc/dumpdates , and recognized file systems in /etc/mtab and /etc/fstab. the most recent dump date and level, and highlights those that should be dumped. If the -W option is set, all other options are ignored, and dump exits immediately
 
Old 09-22-2014, 03:44 AM   #3
hahacc
Member
 
Registered: Oct 2010
Posts: 93

Original Poster
Rep: Reputation: 1
Thanks. And here's more:

From " man 5 fstab " :

"The fifth field, (fs_freq), is used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. If the fifth field is not present, a value of zero is returned and dump will assume that the filesystem does not need to be dumped."

I think this is not really used today anymore. I have been administering linux desktops and servers for years and never, not once, changed the default settings here. dump is not even installed in any of my systems!

"The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked."

This one is perhaps a bit more sensible, but as explained here, set root to 1 and all others to 2, perhaps some other less important filesystems to 3 and so on.

Quote:
Originally Posted by linosaurusroot View Post
dump reads disk devices rather than directory trees - you should have 0 here but I doubt nonzero would be a problem.

http://linux.die.net/man/8/dump

-W
Dump tells the operator what file systems need to be dumped. This information is gleaned from the files /etc/dumpdates and /etc/fstab. The -W option causes dump to print out, for all file systems in /etc/dumpdates , and recognized file systems in /etc/mtab and /etc/fstab. the most recent dump date and level, and highlights those that should be dumped. If the -W option is set, all other options are ignored, and dump exits immediately
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dump Frequency fstab Soji Antony Linux - Newbie 2 02-15-2013 04:41 AM
how can grep from file (num num) (num num) ? DoME69 Programming 2 11-07-2011 06:56 AM
[SOLVED] Help Edit the /etc/fstab specifically the dump and fsck options jollibee Linux - Newbie 3 07-16-2009 11:30 PM
dump command and /etc/fstab LinuxLover Linux - General 4 01-29-2006 02:13 AM
Num Lock keypad setting doesn't seem to exsist in Galeon. l0f33t Linux - Newbie 2 08-21-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:33 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