1832857 Members
3192 Online
110048 Solutions
New Discussion

/var out of order

 
SOLVED
Go to solution
Eugen Cocalea
Respected Contributor

/var out of order

Hi,

HP Visualize C180 running HPUX 11.00.

All out of a sudden /var went bye-bye. This means /dev/vg00/lvol8 which is not really a behaving volume. This is what I get from fsck /dev/vg00/lvol8:

invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...

Any advices? Thank you in advance.

E.
To Live Is To Learn
3 REPLIES 3
Carsten Krege
Honored Contributor
Solution

Re: /var out of order

You should try a full fsck first:

# fsck -F vxfs -o full /dev/vg00/lvol8

This will give you more information. I think the most likely scenario is a hardware failure (e.g. a bad block on the disk).

You might want to try to perform a
# lvdisplay -v /dev/vg00/lvol8 | more
# dd if=/dev/rdsk/ of=/dev/null bs=256k

If there is a read failure on the disk, this would be the most definite proof for a hardware error. It could well be that it is not that obvious though.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Bill McNAMARA_1
Honored Contributor

Re: /var out of order

fsck -F vxfs /dev/vg00/lvol8

cat /etc/fstab
and post up lvol8 info here
It works for me (tm)
Eugen Cocalea
Respected Contributor

Re: /var out of order

Hi,

-o full (and a -y) solved the problem.

I got a big bunch of errors, like

fileset primary inode dup block
extent start <> offset <> continue?

and went ahead.

dd running for about 5 mins and no error so far and I think it will stay this way.

Thank you very much,

E.
To Live Is To Learn