I have a Solaris 7 box. We got a strange error in the syslog, which read as follows:
I consulted with a fellow sysadmin, and he suggested running "fsck -N" on the filesystem in question without unmounting it. So I did, and got a bunch of errors that read as follows:
these are just examples. Should I worry about these? I'm thinking that mounted file system with active processes would always be "dirty". But I'm not sure that I'm even supposed to run fsck on a mounted file system, even with -N option. Is -N option save or am I doing some kind of a damage?
Last edited by Yogesh Sawant; 04-10-2011 at 11:09 AM..
Reason: added code tags
If fsck changes nothing, it can do no damage. Normally I use -n to prohibit fsck from changing stuff, but the Solaris man page says -N works too. So it is not dangerous. How useful it is on a mounted filesystem varies. It depends on how busy the filesystem is. I would do a "sync" first (although I think that fsck does its own sync).
Your original message would bother me enough to unmount the filesystem and then do an fsck on it. When I suspect trouble, even with an unmounted filesystem, I do a -n first. Too many times I have run an interactive fsck and been stuck typing y a few hundred times. With -n, I can gauge how many and how severe the errors are. Then I can decide if my next step is fsck, fsck -y, or newfs.
greetings all, we had SAN bobbles recently and so I ran fsck against all local FS on all systems.
our domino servers present a moving set of alleged corruption, both JFS and JFS2 FS.
Am I playing whack-a-mole with special effects (i.e. false positives) produced by vigorous filesystem... (9 Replies)
Hi,
I know something about file system that its a directory to hold files.
My query is how to identify file system is mounted or not .Can you give me some examples?
OS --- Linux 2.6 (7 Replies)
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)
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 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)
Hello all,
can someone help on how can i check if all file system were mounted during reboot?
I know that we have first to look on /etc/vfstab; the containing of this one should be mounted during boot of system, and after with : df -k we can see if mentioned file system on vfstab were... (3 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)
I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
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)