Link to home
Start Free TrialLog in
Avatar of Ramona
RamonaFlag for United States of America

asked on

How to fsck a vxfs filesystem on Solaris 10

Hi Experts, received the message below:

Oct 20 14:05:56 torser01 vxfs: [ID 702911 kern.warning] WARNING: msgcnt 708 mesg 003: V-2-3: vx_mapbad - vx_extfind - /dev/vx/dsk/ser01dg/vol_ser01dg_tier1_02 file system free extent bitmap in au 3037 marked bad

What commands do I use to find the filesystem to unmount, run the filesystem check, verify things then mount vxfs? Thanks! This is a part of a 3 node cluster.
ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ramona

ASKER

Hi Kerem. Thanks. What are the commands to unmount/mount the filesystem?   Is this correct format for fsck?

/opt/VRTS/bin/<fsck> -t /dev/vx/dsk/mss01dg/vol_mss01dg_tier1_02

/opt/VRTS/bin/<fsck> -t <vxfs> /dev/vx/rdsk/<disk_group>/<volume_name>

No one in my team has performed this before so we need the advice. Thanks!
use the usual command

umount /dirname

mount /dirname
Avatar of Ramona

ASKER

Thanks. We had a lock on the filesystem managed to unlock but cannot lock. Here is what we used:

opt/VRTS/bin/mount -o mntlock=VCS /dev/vx/dsk/mss01dg/vol_ser01dg_tier1_02  Did not lock the system back. Any ideas?
what is the error you get when you issue the mount command?
Are the file systems a part of VCS config?
Avatar of Ramona

ASKER

Hey guys. Got it to mount. Are there commands that verify that fsck worked?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if you did not encounter any problem while running fsck and then got the file system mounted successfully then it was successful
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ramona

ASKER

Thanks you experts!
Avatar of Kerem ERSOY
Kerem ERSOY

You're welcome.