vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| This is a question about /etc/vfstab The root dir (/) has fsck pass 1 Directory /export/home has fsck pass 2 If I add another mount point /zones from another disk (c1d0s4) what will the right fsck pass be? (1, because it's another disk, or 2?) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ | SunOS 10u4 08/07 ++ |
| |||
| In article <d0114$4821857c$524a0a9e$12439@cache1.tilbu1.nb.ho me.nl>, Dick Hoogendijk <dick@nagual.nl> wrote: > > >This is a question about /etc/vfstab >The root dir (/) has fsck pass 1 >Directory /export/home has fsck pass 2 >If I add another mount point /zones from another disk (c1d0s4) what will >the right fsck pass be? (1, because it's another disk, or 2?) > http://docs.sun.com/app/docs/doc/805...6q7uev3?a=view -Raf |
| |||
| Dick Hoogendijk <dick@nagual.nl> writes: > This is a question about /etc/vfstab > The root dir (/) has fsck pass 1 > Directory /export/home has fsck pass 2 > If I add another mount point /zones from another disk (c1d0s4) what will > the right fsck pass be? (1, because it's another disk, or 2?) Everything other than the root file system is normally set to '2'. When fsck is run without a named file system and with the "-o p" ("preen") option, it scans the vfstab entries. Entries with pass 0 are ignored. Those with pass 1 are checked immediately when encountered. Those with 2 or higher are checked in parallel after the 1 entries are handled. By setting this to '1', you'll just slow down the boot process. I don't believe that numbers above 2 have significance -- they're the same as 2. -- James Carlson, Solaris Networking <james.d.carlson@sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 |
| ||||
| In article <xoavod7i8dci.fsf@sun.com>, James Carlson <james.d.carlson@sun.com> writes: > Dick Hoogendijk <dick@nagual.nl> writes: >> This is a question about /etc/vfstab >> The root dir (/) has fsck pass 1 >> Directory /export/home has fsck pass 2 >> If I add another mount point /zones from another disk (c1d0s4) what will >> the right fsck pass be? (1, because it's another disk, or 2?) > > Everything other than the root file system is normally set to '2'. > > When fsck is run without a named file system and with the "-o p" > ("preen") option, it scans the vfstab entries. Entries with pass 0 > are ignored. Those with pass 1 are checked immediately when > encountered. Those with 2 or higher are checked in parallel after the > 1 entries are handled. > > By setting this to '1', you'll just slow down the boot process. > > I don't believe that numbers above 2 have significance -- they're the > same as 2. This made more sense under SVR3, where filesystems with the same number were checked in parallel. Where you had multiple filesystems on a disk, you made sure to give them different numbers so it didn't try parallel checking more than one filesystem per disk. Usage changed in some obscure way on Solaris (and maybe all SVR4's), possibly related to root now having to be marked "mount at boot" "no" which seemed to me to be a crude workaround to a bug when I first saw it. -- Andrew Gabriel [email address is not usable -- followup in the newsgroup] |