Operating System - HP-UX
1833156 Members
3251 Online
110051 Solutions
New Discussion

Filesystem missing on HP-UX system

 
Consty
Frequent Advisor

Filesystem missing on HP-UX system

Hi,
"df" does not show a filesystem, "mount -a"
displays /dev/vg02/vol2 no such device ...
It seems the disk drive is bad. What are the
different steps to follow to repair everything
(please add commands).
Thanks
Consty
13 REPLIES 13
Yashwant
Valued Contributor

Re: Filesystem missing on HP-UX system

Refer following link. this will solve your issue. Let us know if you are still facing problem

http://docs.hp.com/en/B2355-90950/ch06s02.html
Pete Randall
Outstanding Contributor

Re: Filesystem missing on HP-UX system

Shrikant Lavhate
Esteemed Contributor

Re: Filesystem missing on HP-UX system

Hi,

>It seems the disk drive is bad.
Your problem is not cleared. Still if you are trying to get help for repairing or replacing physical disk then refer this PDF.

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

-=ShRi=-
Will it remain a personal, if I broadcast it here!
Shrikant Lavhate
Esteemed Contributor

Re: Filesystem missing on HP-UX system

hehe Pete you are pretty fast man!

It took me time to digg that pdf under hp.com :D

Have 0 pts for this.
Will it remain a personal, if I broadcast it here!
Consty
Frequent Advisor

Re: Filesystem missing on HP-UX system

Thanks so much for your help.

Unfortunately the problem looks more complicated :
1)I didn't see any error in syslog and dmesg
2)vgdisplay shows "Volume group not activated" /Cannot display VG /dev/vg03
3)/etc/fstab shows :
/dev/vg03/lvol1 /delphi1 vxfs rw,suid,delaylog,datainlog 0 2
4)vgchange -a y /dev/vg03/lvol1 displays
"volume group /dev/vg03 doesn't exist in the /etc/lvmtab file"
5) strings /etc/lvmtab shows :
/dev/vg03
/dev/dsk/c0t12d0
but /dev/dsk/c0t12d0 doesn't exist in "ioscan" output.

I don't know what happened on the system. How can I solve the problem ?
Thanks
Consty


Mridul Shrivastava
Honored Contributor

Re: Filesystem missing on HP-UX system

Was there any activity done recently and system was rebooted after that ??

I suspect may be device file got changed or system has been rebooted after disk failure.
Please check event.log and OLDsyslog.log for any errors about this disk.

You could try moving the lvmtab file and executing vgscan -av to recreate the lvmtab and see if it gets populated with vg02.

Please share details like since when this issue started and since then have any changes been made etc etc...
Time has a wonderful way of weeding out the trivial
SUDHAKAR_18
Trusted Contributor

Re: Filesystem missing on HP-UX system

Hi,

Filesystem may be missing /not having entry in /etc/fstab.

if you r having any old nickel or backup.
kindly check for bdf or /etc/fstab output and compare the same with current bdf.

U may get something..


MarkSyder
Honored Contributor

Re: Filesystem missing on HP-UX system

1. Check if other lvols on that disc are working:

bdf -l|grep vg02

2. If not, check the disc:

ioscan -fnC disk

The next advice depends on the result of those two commands.If it turns out to be a disc problem, that document Pete referred you to is excellent - it's helped me in the past.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Consty
Frequent Advisor

Re: Filesystem missing on HP-UX system

Hi,

Mridul : The system had been restored from a backup. Nothing about this disk in event.log & OLDsyslog.log

Sudhaka H.R : Change may have been made during restore.

Mark Syder : The disk does not exist in ioscan output

Regards
Consty
MarkSyder
Honored Contributor

Re: Filesystem missing on HP-UX system

The disc does not show up in ioscan: is there a fault light displaying on the disc?

Mark
The triumph of evil requires only that good men do nothing
Aneesh Mohan
Honored Contributor

Re: Filesystem missing on HP-UX system


Hi,

>displays /dev/vg02/vol2 no such device ...
>It seems the disk drive is bad. What are the
>different steps to follow to repair >everything


sounds like you are having issues in /dev/vg02 (as per the above output of mount -a)

Do :
----

1) vgdisplay vg02

if the you are getting the vg02 information then go to the 2nd step else go to the 3rd step

2) vgdisplay -v vg02 |grep /dev/vg02/lvol2

if you are getting the lvol2 below then mount it manually ,if no then the lv might be deleted

3) vgchange -a y vg02

if the output is the below one
vgchange: Volume group "/dev/vg02" does not exist in the "/etc/lvmtab" file
then the volume group vg02 has been exported/removed but the fstab entry is still persist


if the output is the below one
Volume group "vg02" has been successfully changed
then go to the 2nd step .

if the output is getting with some device file missing then post your /etc/lvmtab and ioscan -fnC disk output .


Please do get back with your outputs.

Thanks ,
Aneesh
Consty
Frequent Advisor

Re: Filesystem missing on HP-UX system

Strange,
The system has been rebooted this morning and everything seems to work but I don't think the problem is solved. It happened last time before /dev/dsk/c0t12/d0 associated with vg03 "disappeared".
Can we conclude that it is an intermittent hardware problem ?
Thanks
COnsty
MarkSyder
Honored Contributor

Re: Filesystem missing on HP-UX system

I would suggest rerunning the bdf and ioscan commands I suggested earlier.

I would also look in the OLDsyslog.log to see if there are any hardware problems reported.

Mark
The triumph of evil requires only that good men do nothing