- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG problems following restore
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:27 AM
01-21-2004 07:27 AM
VG problems following restore
Issue is inconsistancy bewtween /dev, ioscan, and volume group
There is a new drive in /dev/dsk/c2t2d0 ...
The drive that appears in the ioscan and the old vg returns an error if I try to write to it.
Has anyone run across this ?
Any suggestion on an approach to this ???
Restoring the vg will incorporate basically a bad devise ( I think ). Also concerned about the new spurios device .
Following is the editted ioscan, vgcfgrestore, andls of /dev/dsk with the results of cat to
the original drive
ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==============================================================
........
disk 12 16.9.0 disc3 CLAIMED DEVICE SEAGATE ST15150W
/dev/dsk/c2t9d0 /dev/rdsk/c2t9d0
/dev/floppy/c2t9d0 /dev/rfloppy/c2t9d0
disk 13 16.11.0 disc3 CLAIMED DEVICE SEAGATE ST15150W
/dev/dsk/c2t11d0 /dev/rdsk/c2t11d0
/dev/floppy/c2t11d0 /dev/rfloppy/c2t11d0
************ The Disk in question *******************
disk 14 16.12.0 disc3 CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c2t12d0 /dev/rdsk/c2t12d0
/dev/floppy/c2t12d0 /dev/rfloppy/c2t12d0
******************************************************************
disk 15 16.13.0 disc3 CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c2t13d0 /dev/rdsk/c2t13d0
/dev/floppy/c2t13d0 /dev/rfloppy/c2t13d0
disk 16 16.15.0 disc3 CLAIMED DEVICE SEAGATE ST15150W
/dev/dsk/c2t15d0 /dev/rdsk/c2t15d0
/dev/floppy/c2t15d0 /dev/rfloppy/c2t15d0
disk 10 52.2.0 disc3 CLAIMED DEVICE TOSHIBA CD-ROM XM-3301TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
/dev/floppy/c1t2d0 /dev/rfloppy/c1t2d0
disk 11 52.6.0 disc3 CLAIMED DEVICE HP C3010M1
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
/dev/floppy/c1t6d0 /dev/rfloppy/c1t6d0
Hewie >
Hewie >vgcfgrestore -n vg02 -l
Volume Group Configuration information in "/etc/lvmconf/vg02.conf"
VG Name /dev/vg02
---- Physical volumes : 5 ----
/dev/rdsk/c2t9d0 (Non-bootable)
/dev/rdsk/c2t11d0 (Non-bootable)
/dev/rdsk/c2t12d0 (Non-bootable) ***** drive in ioscan *****
/dev/rdsk/c2t13d0 (Non-bootable)
/dev/rdsk/c2t15d0 (Non-bootable)
Hewie >
ls -l c2*
brw-r----- 1 bin sys 28 0x02b000 Jan 20 12:25 c2t11d0
brw-r----- 1 bin sys 28 0x02c000 Jan 13 2003 c2t12d0
brw-r----- 1 bin sys 28 0x02d000 Jan 21 12:41 c2t13d0
brw-r----- 1 bin sys 28 0x02f000 Jan 20 12:25 c2t15d0
brw-r----- 1 bin sys 28 0x022000 Jan 20 12:14 c2t2d0
brw-r----- 1 bin sys 28 0x029000 Jan 20 12:25 c2t9d0
Hewie >cat /etc/hosts > c2t12d0
sh: c2t12d0: Cannot create the specified file.
Hewie >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:41 AM
01-21-2004 07:41 AM
Re: VG problems following restore
Another thing is 'cat /etc/hosts > c2t12d0' is not a right way to check the disk. Check the following commands:
# pvdisplay /dev/dsk/c2t12d0
# diskinfo /dev/rdsk/c2t12d0
If you find out which LV is holding on c2t12d0 (from pvdisplay), write to that file system:
# cat /etc/hosts > /file_system/testhosts
Also, use files in /tmp or other log files while testing things instead of configuration files from /etc. A reverse "redirect" can erase your hosts file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:43 AM
01-21-2004 07:43 AM
Re: VG problems following restore
Are you saying that this disk was not there before and is appearing now all of a sudden after the ignite restore?.
How about a 'diskinfo /dev/rdsk/c2t12d0'? Does it give any information?.
Looks like the vgcfgrestore is successful. Did you run 'vgchange -a y vg02' later after importing it to see if it is getting activated?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:44 AM
01-21-2004 07:44 AM
Re: VG problems following restore
# dd if=/dev/dsk/c1t12d0 of=/dev/null bs=256k
# stm (or cstm or mstm and select the device you want to test)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:31 AM
01-21-2004 08:31 AM
Re: VG problems following restore
First you cannot merely cat file > c2t12d0... not sure what that is... you need to do a dd to the device to test it not a cat.
Now, I dont think I know enough yet...You say all disks are visible.. run a diskinfo and pvdisplay on each of them. If you get errors they are not part of a VG.
I first have a question why your VGs are missing? What caused them to be missing?
I would restore via ignite, you already did, and then vgexport vgX to destroy them and then restore using the mapfiles you have in /etc/lvmconf/*
What disks appear in your mapfiles for these VGs?
Did you have a hardware path change? This may be why you are seeing a new path. Are all your disks visible that are listed in the mapfiles for each VG?
Please elaborate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:36 AM
01-21-2004 08:36 AM
Re: VG problems following restore
Found that pvdisplay couldn't identify the
physical volume or volume group
physical volume "/dev/dsk/c2t12d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c2t12d0".
Wanted to be sure the drive was present, thus ioscan .
vcfgresotre was a sanity check.
....... moving on .....
diskinfo on c2t2d0 and c2t12d0
both show can't open nodevice or address
At this point also found the new
but seemly writeable c2t2d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:46 AM
01-21-2004 08:46 AM
Re: VG problems following restore
c2t12d0 was the original device ....
( note creation date in ls )
moving on ...
dd fails on both devices .... think I'm going to call this a bad drive .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:49 AM
01-21-2004 08:49 AM
Re: VG problems following restore
Did you change any scsi ids before you start restoring the OS?. Do you have a drive at the scsi id 2?
Well. My inclination goes towards bad disk only. But the new disk that wasn't there before bothers me suspecting a conflict with your disk subsystem. What backend do you have?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:52 AM
01-21-2004 08:52 AM
Re: VG problems following restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 09:10 AM
01-21-2004 09:10 AM
Re: VG problems following restore
Have you checked any logs? I am sure there is an ignite log which will show why your ignite rebuild of your VGs failed...
Does syslog.log show anything strange?
You are surely in a restoral mode now. I would rebuild your VGs and restore from a good backup of your data.
That seems to be all you can do now. Maybe create the VGS again and then run the ignite restoral again? That might work...not sure since the devices are different, but I think it shouldnt matter.
------------------------------------------------
I wish you had been able to create vgexport -s on your VGs so it wouldnt matter what the disk name is... -s assigns a VGID to the export and identifies the phsyical disks without regard to the device names. That would have made this very easy...
I usu create these with vgexport -s -p -m... so that I have copies of my config in a stable env.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 09:19 AM
01-21-2004 09:19 AM
Re: VG problems following restore
Subsystem is an HP2896A wide-scsi on a Jamaica enclosure.
Went ahead and did insf for the hardware path just in case ....
dd fails .... diskinfo hangs, so I'm betting on the bad drive principle .
As we say in Texas ya'll for the prompt reponses .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:06 AM
01-21-2004 10:06 AM
Re: VG problems following restore
Ya'll are really quick so my replies are a little out of synch.
Todd,
In reply to your note and this sounds pretty stupid, where would I find the ignite log .... the syslog looks ok
Generally do the vgexport, however, did it after the ignite tape was made ... since the whole adventure began because a vg00 drive died I didn't have a place to begin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 11:25 AM
01-21-2004 11:25 AM