Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 23:14:51 -0500
From:      Jason Hunt <leth@primus.ca>
To:        george donnelly <george@zettai.net>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /etc/fstab config
Message-ID:  <20030214041450.GA65676@lethargic.dyndns.org>
In-Reply-To: <BA707B4C.1D302%george@zettai.net>
References:  <BA707B4C.1D302%george@zettai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 12, 2003 at 10:29:33PM -0500, george donnelly wrote:
> hi i've got a 3 disk raid 5 partition that is my main fs and then an 80gb
> ide drive on a separate partition at /vol1. i need to config my /etc/fstab
> for this and this is what i've got (see below). can someone tell me if looks
> correct? 
> 

> # Device                Mountpoint      FStype  Options         Dump   Pass#
> /dev/da0s1b             none            swap    sw              0       0
> /dev/da0s1a             /               ufs     rw              1       1
> /dev/ad2s1e             /vol1           ufs     rw              2       2
> proc                    /proc           procfs  rw              0       0
> 

Check the fstab(5) man page.  I think maybe the Dump field for /vol1 should
be 1 as well.  dump(8) tells you more about this.  I am not 100% sure.


> also, if i were to reboot the machine with the pass # for /dev/ad2s1e
> (/vol1)  set to 1, would this be incorrect (i think so) and would it cause
> damage to the disk?

The fstab(5) man page says that the root filesystem should be set to 1
andother filesystems should be set to 2.  If you set them to 0, they will
not be checked.  I don't think setting that field to 1 will damage
anything, but should be set 2 anyways.

Hope this helps.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030214041450.GA65676>