I think the fsck_pass field is historical.
Solaris 9 and later do not use it, instead check all ufs file systems with "-o p".
The / /usr /usr/platform /var /var/adm are checked in sequence (in run level S, and of course only if present in vfstab), the other local filesystems are checked in parallel (in run level 2).
(Solaris processes run level S and 2 before it goes to 3.)
--
On journaled ("logging") ufs file systems, fsck checks the integrity of the intent log; if okay it skips a full check.
Since Solaris 9 "logging" is default, i.e. does not need to be in vfstab field 7; check with
Hi MadeInGermany,
Thanks for your reply.
Q1) Does it mean that it is due to logging which is the reason why fsck can be completed in short time ?
Q2) If I have a filesystem/device with nologging, does that means fsck will take a longer time to complete and the system can only go to runlevel3 when the fsck is completed ?
Q3) when fsck is running on a filesystem/device, are we still able to access the filesystem ?
if the answer is no -> it means that fsck on / have to be completed before the system can boot into S user mode ?
If i wish to make a mount permanent, is it /etc/vfstab that i have to the entry add to? If so does anybody know the syntax, ie. is it tab or space delimited ? etc etc
any help would be greatly appreciated (3 Replies)
Hello all... I have a Ultra 60 that that is used for connecting a large Xerox printer to the network. This computer takes PDF's and converts them to tiffs and sends them back to a pc :p . In order to transfer data back and forth a mount is manually performed on the UNIX box. The mount of course is... (1 Reply)
In the end of /etc/vfstab file :
/dev/md/dsk/d30 /dev/md/dsk/d30 /odb0 ufs no no -
/dev/md/dsk/d40 /dev/md/dsk/d40 /odb1 ufs no no -
After boot filesystems /odb0 and /odb1 don't mount.
Also they don't mount after comand mount -a
But if i'm enter... (1 Reply)
Hi all,
I have been trying to figure out a way to mount swap on /tmp at a stage early than the default script that does it...
If anyone knows how it can be done pls pls help me!!!!!
I have been struggling a lot for it
Secondly, continuing with the same issue...
I wanted to know if the... (4 Replies)
How can I specify and the -O (overlay option) in the vfstab ?
Also can you specify the overlay option to the mount options for a Vertias cluster NFS service group ? (0 Replies)
I created a file system earth in /earthpool (zpool). I mounted the file system on a directory /earth. But, when I reboot my machine it doesn't load the file systems and the zpool and zfs shows no pools available and no datasets respectively. I am using Solaris 10 running on X4500. Could you... (5 Replies)
what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Hi Guys
i need your help quite urgently
I am setting up a vfstab but need some help, here is the file systems
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> drmlc-00
Part Tag Flag Cylinders Size Blocks Mounted/used by
0 root wm 0 - ... (1 Reply)
What can I fix this issue? I have ran below commands but everything is same.:confused:
WARNING: Last shutdown is later than time on time-of-day chip: check date.
The / file system (/dev/rdsk/c1t0d0s0) is being checked
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies
LEARN ABOUT OPENSOLARIS
systemd-fsck
SYSTEMD-FSCK@.SERVICE(8) systemd-fsck@.service SYSTEMD-FSCK@.SERVICE(8)NAME
systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic
SYNOPSIS
systemd-fsck@.service
systemd-fsck-root.service
/lib/systemd/systemd-fsck
DESCRIPTION
systemd-fsck@.service and systemd-fsck-root.service are services responsible for file system checks. They are instantiated for each device
that is configured for file system checking. systemd-fsck-root.service is responsible for file system checks on the root file system, but
only if the root filesystem was not checked in the initramfs. systemd-fsck@.service is used for all other file systems and for the root
file system in the initramfs.
These services are started at boot if passno in /etc/fstab for the file system is set to a value greater than zero. The file system check
for root is performed before the other file systems. Other file systems may be checked in parallel, except when they are on the same
rotating disk.
systemd-fsck does not know any details about specific filesystems, and simply executes file system checkers specific to each filesystem
type (/sbin/fsck.*). This helper will decide if the filesystem should actually be checked based on the time since last check, number of
mounts, unclean unmount, etc.
If a file system check fails for a service without nofail, emergency mode is activated, by isolating to emergency.target.
KERNEL COMMAND LINE
systemd-fsck understands these kernel command line parameters:
fsck.mode=
One of "auto", "force", "skip". Controls the mode of operation. The default is "auto", and ensures that file system checks are done
when the file system checker deems them necessary. "force" unconditionally results in full file system checks. "skip" skips any file
system checks.
fsck.repair=
One of "preen", "yes", "no". Controls the mode of operation. The default is "preen", and will automatically repair problems that can be
safely fixed. "yes" will answer yes to all questions by fsck and "no" will answer no to all questions.
SEE ALSO systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8), fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8),
fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)systemd 237 SYSTEMD-FSCK@.SERVICE(8)