- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange fails after hw problems
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
10-17-2005 06:33 AM
10-17-2005 06:33 AM
After a problem on a SAN attached device, I cannot "vgchange -a y" my VG, created on a SAN LUN. I can see the LUN size correctly with a diskinfo.
My question is: is still good to perform a:
$ xd -j8200 -N16 -tu /dev/rdsk/c51t0d0
whiche returns as follows:
# xd -j8200 -N16 -tu /dev/rdsk/c51t0d0
0000000 0 0 0 0
0000010
And in that case, is everything zero-ed out on the LUN ?
Should I export/import the VG instead ?
Thanks,
Marco
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 06:57 AM
10-17-2005 06:57 AM
Re: vgchange fails after hw problems
which errors do you obtain on vgchange command?
Does 'ioscan -fnC disk' recognize the disk (I suppose yes, please confirm)?
How many disks/LUN does the VG contain?
strings /etc/lvmtab
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:02 AM
10-17-2005 07:02 AM
Re: vgchange fails after hw problems
If you can see the diskinfo then the disks are good.What does pvdisplay show on that disk.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:03 AM
10-17-2005 07:03 AM
Re: vgchange fails after hw problems
I suspect I am trying to read zeroes, as the ioscan return is a CLAIMED.
disk 3 0/10/0/0.38.5.0.0.0.0 sdisk CLAIMED DEVICE STK XxxxxYyy ZzZz
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
I was just asking confirmation of a good method ( if any still exists ) to extract the VGDA (supposedly zeroed out) at a fixed address of the rdsk device.
Should I run a vgscan -pv too ? Can it help when a tsunami wiped out your bytes on the remote disk ?
When I 'll be totally convinced everything is lost, I could also run a pvcreate and it should succeed instead of requiring -f.
I had a 1-LUN, 1-rdsk Volume Group.
Hope it sheds more light.
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:11 AM
10-17-2005 07:11 AM
Re: vgchange fails after hw problems
how does vgchange fail?
Th error can help to know if some actions can recover the VG.
Does the problem happen just for this VG in SAN?
What does pvdisplay show?
I don't know if there is a method to extract the VGDA, it should be good to know if someone did it before.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:19 AM
10-17-2005 07:19 AM
Re: vgchange fails after hw problems
Hope you aren't in my country - I've got a special activity just after midnight and so I am in the office (suppose they ask me to pay some ICI tax one day ).
Here you are with vgchange ( renamed VG ) output :
# vgchange -a y /dev/ILMIOVG
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t0d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/ILMIOVG":
Quorum not present, or some physical volume(s) are missing.
Thanks,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 08:01 AM
10-17-2005 08:01 AM
Solutionbut not in office.
If you sure that device file for c3t0d0 is the same like before HW changes?
Check
strings /etc/lvmtab
vgcfgrestore -n /dev/ILMIOVG -l
Try
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
vgchange -a y /dev/ILMIOVG
See you tomorrow and have a nice evening!
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 09:28 PM
10-17-2005 09:28 PM
Re: vgchange fails after hw problems
Yet, I'd like someone to post a confirmation that the 2002 manual is right about adb and xd commands that follow:
# xd -j8200 -N16 -tu /dev/rdsk/c3t0d0
0000000 0 0 0 0
0000010
# echo "0d8200?DY" | adb /dev/dsk/c3t0d0
2008: 0 1970 Jan 1 01:00:00
# hostname
WWYY
_______________________________________________
_______________________________________________
# echo "0d8200?DY" | adb /dev/dsk/c51t0d0
2008: 0 1970 Jan 1 01:00:00
# xd -j8200 -N16 -tu /dev/rdsk/c51t0d0
0000000 0 0 0 0
0000010
# hostname
JJKK
vgscan failed saying that there's no LVM data , at least on one of the systems.
Literally:
Physical Volume "/dev/dsk/c3t3d7" contains no LVM information
Is there any command to issue in a SAN environment that can help to distinguish among same size LUNs ??!?!?!?
Thanks everybody,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 03:19 AM
10-19-2005 03:19 AM
Re: vgchange fails after hw problems
vgimport confirmed.
pvcreate succeded as well.
I will test the two exoterical commands I quoted in the same or another test environment.
As it was a test environment, a restore from a backup was the favourite way to restart.
Thanks everybody and ....
long live the storage 'expert' who scratched everything !