Operating System - HP-UX
1819866 Members
2569 Online
109607 Solutions
New Discussion юеВ

vxfs mount: /dev/vg00/lvol6 is corrupted

 
Achilles_2
Regular Advisor

vxfs mount: /dev/vg00/lvol6 is corrupted

Hello there,

After I reboot the A900 HP server, the /opt parition couldn't auto mount. And it shows the error :

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
mountall: cannot mount /dev/vg00/lvol6
mountall: diagnostics from mount
vxfs mount: /dev/vg00/lvol6 is corrupted. needs checking
checking quotas

Do anyone explain why and how to fix?

Thanks
6 REPLIES 6
whiteknight
Honored Contributor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

hi,

basically, could be your system not properly shutdown ..

just perform fsck -y it will do the fix and mountall.

#fsck -y
#mountall

WK
Problem never ends, you must know how to fix it
Achilles_2
Regular Advisor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

No, the server is normal shutdown without any error. And I tried your given method but it has the same result

# fsck -y
fsck: /dev/vg00/rlvol1: mounted file system
vxfs fsck: /dev/vg00/lvol3 is currently mounted
vxfs fsck: /dev/vg00/lvol4 is currently mounted
vxfs fsck: /dev/vg00/lvol5 is currently mounted
vxfs fsck: file system had I/O error(s) on meta-data.
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 818536, off = 0, len = 8192
file system check failure, aborting ...
vxfs fsck: /dev/vg00/lvol7 is currently mounted
vxfs fsck: /dev/vg00/lvol8 is currently mounted

# mount -a
mount: /dev/vg01/lv_users is already mounted on /users
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
vxfs mount: /dev/vg00/lvol6 is corrupted. needs checking
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand
Anshumali
Esteemed Contributor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

fsck -y /dev/vg00/lvol6

If the o/p is same, you can try running same in single user mode.

Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Prashanth.D.S
Honored Contributor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

Hi,

What is the version of OS ?
What is the size of the filesystem, i mean the exact size ??

Try this command..

fsck -F vxfs -o full -y /dev/vg00/lvol6
mount -F vxfs /dev/vg00/lvol6 /

Best Regards,
Prashanth

Achilles_2
Regular Advisor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

It got the same error message and /opt couldn't mount.

It uses HP 11.00 and the size of /opt filesystem is ~4000M.
Mridul Shrivastava
Honored Contributor

Re: vxfs mount: /dev/vg00/lvol6 is corrupted

> vxfs fsck: file system had I/O error(s) on meta-data.

fsck CANNOT fix a broken disk. The word I/O error means that data needed by fsck to make sense out of the directory structures is not available or corrupt. The disk is indeed toast and will have to be replaced. If the data is very important, There are several companies that specialize in data recovery but make absolutely sure they can handle HP-UX disks.

Sounds like a bad disk to me. Try running diskinfo and dd against it:

diskinfo /dev/rdsk/

dd if=/dev/rdsk/ of=/dev/null bs=1024k

If any of this fails or gives error then it is sure that disk is faulty and needs replacement.
Time has a wonderful way of weeding out the trivial