Operating System - HP-UX
1823097 Members
3157 Online
109646 Solutions
New Discussion юеВ

mount problem after dirty reboot

 
Oleg Mercader-Kashin
Frequent Advisor

mount problem after dirty reboot

After dirty reboot (sorry, shutdown was hang) the system not mount some vols, pls HELP!

I have a HP-UX 11.0 800 server.
I attach some a info.log (sorry, I'm newby in volmgr :-()
9 REPLIES 9
Peter Godron
Honored Contributor

Re: mount problem after dirty reboot

Oleg,
what do you get on
mount -a

Steven E. Protter
Exalted Contributor

Re: mount problem after dirty reboot

Shalom oleg,

This looks like a clearcase or clearquest server.

Just guessing.

You need to run fsck in order to fix the filesystems that will not mount.

They must be umounted:

fsck -F vxfs -o full -y /dev/vg01/rsag

Will fix the fs on logical volume /dev/vg01/rsag (sag)

Former colleagues should recognize this code.

:-)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Devender Khatana
Honored Contributor

Re: mount problem after dirty reboot

Hi,

Followed by a dirty shutdown due to proper unmount of the file systems, you might require to run fsck. Run fsck on all the file systems. If it is not booting normally you can boot into single user mode using

PDC>hpux -is

Then run fsck on all file systems and reboot.

HTH,
Devender
Impossible itself mentions "I m possible"
Oleg Mercader-Kashin
Frequent Advisor

Re: mount problem after dirty reboot

Seems like not the suystem not detect phisical disks:


# mount -a
mount - Cannot open /dev/vg03/lvol1: No such device or address

mount - Cannot open /dev/vg02/lvol1: No such device or address

mount: /dev/vg01/lvol1 is already mounted on /datos
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
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



# fsck -F vxfs -o full /dev/vg02/lvol1
cannot open device /dev/vg02/lvol1
file system check failure, aborting ...
Steven E. Protter
Exalted Contributor

Re: mount problem after dirty reboot

Shalom again Oleg,

You have lost a disk.

If its on a SAN check with the admin. If its local,you will probably need to replace the disk and restore the data.

ioscan -fnC disk

Do you see the disks giving you trouble?

insf -C disk

May help, but only after disk replacement. Also, it could be a scsi cabling problem, not a dead disk. A physical inspection might help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
melvyn burnard
Honored Contributor

Re: mount problem after dirty reboot

Are vg02 and vg03 activated?
vgdisplay -v /dev/vg02
vgdisplay -v /dev/vg03

If not, try activating them using vgchange
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Oleg Mercader-Kashin
Frequent Advisor

Re: mount problem after dirty reboot

Thx a lot to ALL!!!
This was a SCSI cable problem :-( and system has not detected the external disk box.
V. Nyga
Honored Contributor

Re: mount problem after dirty reboot

Hi Oleg,

you should check a disk (dev/rdsk/cxdysz), not a logical volume (lvol..)

For cxdysz you have to check your system for the right numbers x,y and z.

Check your /etc/fstab to see what your vg02/lvol1 is (or should be).
Make an 'ioscan -fn' and look for your disk devices.

You also can look in SAM what's about your disks, but maybe you don't see your missed ones.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Oleg Mercader-Kashin
Frequent Advisor

Re: mount problem after dirty reboot

Thx a lot once again.
That was a SCSI cable problem.