Operating System - HP-UX
1833154 Members
3177 Online
110051 Solutions
New Discussion

HP UX Possible Disk Errors

 
Ron Twiggs
Occasional Contributor

HP UX Possible Disk Errors

I ran script supplied by Steven Protter called disk.status(a nice tool). It returned several error indications. I then did the following and received these messages. My ultimate goal here is to invoke "make_recovery". We are running HP-UX 10.20 Please help.

mv /etc/lvmtab /etc/lvmtab.backup
vgscan -a

Creating "/etc/lvmtab"
vgscan: Physical volume "/dev/dsk/c1todo" is not a block special file.
Couldn't stat physical volume "/dev/dsk/c1t0d0":
Invalid argument
Physical Volume "/dev/dsk/c1t2d0" contains no LVM information
The Volume Group /dev/sqdeal/group was not matched with any Physical Volumes.
5 REPLIES 5
Cheryl Griffin
Honored Contributor

Re: HP UX Possible Disk Errors

"/dev/dsk/c1todo" appears to be an invalid disk name. Check /dev/dsk and compare this to ioscan.
# ll /dev/dsk/c1*
# ioscan -fnC disk
# diskinfo /dev/rdsk/c1todo
"Downtime is a Crime."
Pete Randall
Outstanding Contributor

Re: HP UX Possible Disk Errors

Ron,

I feel like I'm missing part of the picture here. What errors did this "script" give you and from what commands in the script? Why would this lead you to run "vgscan -a"? What does "ioscan -f" tell you about /dev/dsk/c1t0d0 (I'm assuming that /dev/dsk/c1todo is a typo)?


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: HP UX Possible Disk Errors

I have had the same issue in the past.

The fix was to run vgexport on the volume group and then vgimport it.

If vgimport fails you may need to rebuild the volume group from scratch. Obviously a backup prior to starting this is critical.

A few searches that might help.

http://us-support2.external.hp.com/emse/bin/doc.pl/sid=394512371cad33b60d?todo=search&searchtext=vgexport+vgimport+vgcreate&x=28&y=12&searchcriteria=allwords&searchtype=SEARCH_TRAINER&searchtype=SEARCH_FORUMS&searchcategory=ALL&rn=25&presort=rank

You should be able to cut and paste the necessary procedures out of any of the threads above.

Proceed with caution and backups.

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
Fabio Ettore
Honored Contributor

Re: HP UX Possible Disk Errors

Hi,

it sounds like a typo somewhere, I never heard that name for a device file before.
Otherwise

# insf -e
# vgscan -v

Best regards,
Ettore
WISH? IMPROVEMENT!
Sridhar Bhaskarla
Honored Contributor

Re: HP UX Possible Disk Errors

Hi,

I would go with Pete's analysis first.

What errors did you originally see that prompted you to run vgscan?.

Looks like the device files for the disk at c1t0d0 got messed up somehow.

Running the following may help you as said before.

#ioscan -f
#insf -e
#vgscan -v (as you already moved lvmtab)

-Sri
You may be disappointed if you fail, but you are doomed if you don't try