The only ways I am aware of
on shutdown
Both of these work independently of fstab. I believe when you try the fstab method you are seeing standard behavior.
I am having a problem with fsck. I am new to UNIX but was placed in a position where I must learn it. Anyway, one of the instructions that I have been given is to use 'fsck -f -y' when I am having trouble with the filesystem. The problem is that I am getting an error message that says the -f... (1 Reply)
I have a Solaris 7 box. We got a strange error in the syslog, which read as follows:
Nov 15 11:50:16 server-01 unix: NOTICE: free inode /mount1/8025691 had size 0x20d
I consulted with a fellow sysadmin, and he suggested running "fsck -N" on the filesystem in question without unmounting it. So I... (1 Reply)
hi all,
i need to know what swap my system is running on...
Sun-Fire-880 is my system...
physical memory= 16GB (8 CPU's)
i know generally we keep swap 2 times of real memory...
i want to know what is current swap my system is running?
following is the o/p of swap -s:
Wed Mar 29 16:08:08... (4 Replies)
Dear all
I am new for HP-UX.
I have HP rp2470 running HP-UX 10.x
When i run fsck in a root, the output is as below:
#:root> fsck
fsck: /dev/vg00/rlvol1: mounted file system
continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase... (3 Replies)
Hi,
I need to fsck the root file system on my Solaris 9 server. It is a UFS file system but it is under Veritas control. I want to know which fsck I need to use to check the file system. The default Solaris fsck (/usr/sbin/fsck) or the Veritas (/lib/fs/vxfs/sparcv9/fsck) fsck? I take it I... (3 Replies)
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
If i run fsck on one filesystem and fsck need to repair some things then this partition must be unmounted
correct ?
So running fsck on root file system isn't possible within same OS ? correct ?
What is the best way to do that, live cd ?
BR,
Jurif (5 Replies)
Hi,
I would like to know in which file I can get the option of enabling/disabling of running fsck on particular file system.
As I know in /etc/filesystems these parameter should be there just like in Linux /etc/fstab
I have created file system aix test but unable to find the option of... (1 Reply)
I am trying to root disk mirroring on SunFire V210 Server. There are two disks on this server c1t0d0 and c1t1d0 . I completed all the steps and I updated the vfstab file too. After I have updated the vfstab file I run df -h command but could not see the changes i made in vfstab. Suddenly the server... (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 BSD
quotacheck
QUOTACHECK(8) System Manager's Manual QUOTACHECK(8)NAME
quotacheck - filesystem quota consistency checker
SYNOPSIS
quotacheck [ -v ] filesystem ...
quotacheck [ -v ] -a
DESCRIPTION
Quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota
file for the filesystem. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are
updated (the latter only occurs if an active filesystem is checked).
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotacheck will check all the filesystems indicated in
/etc/fstab to be read-write with disk quotas.
-v quotacheck reports discrepancies between the calculated and recorded disk quotas.
Parallel passes are run on the filesystems required, using the pass numbers in /etc/fstab in an identical fashion to fsck(8).
Normally quotacheck operates silently.
Quotacheck expects each filesystem to be checked to have a quota files named quotas located at the root of the associated file system.
These defaults may be overridden in /etc/fstab. If a file is not present, quotacheck will create it.
Quotacheck is normally run at boot time from the /etc/rc.local file, see rc(8), before enabling disk quotas with quotaon(8).
Quotacheck accesses the raw device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent
while quotacheck is running.
FILES
quotas at the filesystem root
/etc/fstab default filesystems
BUGS
The quotas file may be named arbitrarily but must reside in the filesystem for which it contains quota information. Quotacheck will give
the error:
%s dev (0x%x) mismatch %s (0x%x)
if the quotas file is not in the filesystem being checked. This restriction is enforced by the kernel but may be lifted in the future.
SEE ALSO quota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8), repquota(8)HISTORY
The quotacheck command appeared in 4.2BSD.
4.2 Berkeley Distribution January 24, 1996 QUOTACHECK(8)