- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange -a y hangs
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
06-10-2001 08:33 PM
06-10-2001 08:33 PM
vgchange -a y hangs
vgchange -a n /dev/vg01
vgexport /dev/vg01
shutdown, remove disk from A
add disk to B (hot-swap HA unit)
Then, on B:
ioscan -fC disk (new disk is visible)
mkdir /dev/vg08
mknod /dev/vg08/group c 64 0x080000
vgimport /dev/vg08 /dev/rdsk/c0t9d0
vgchange -a y /dev/vg08
And the vgchange never returns. Ever. The vgimport worked OK. It's created device files for all the logical volumes OK.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2001 10:47 PM
06-10-2001 10:47 PM
Re: vgchange -a y hangs
You should install the latest LVM and SCSI kernel patches (+ their dependent patches), check your h/w (check syslog for SCSI bus resets, check termination and unique SCSI IDs) and retry.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 12:55 AM
06-11-2001 12:55 AM
Re: vgchange -a y hangs
strings /etc/lvmtab
to ensure the vgimport worked okay.
you should see vg08 with the /dev/dsk/ of the disk you added.
ll /dev/*/group to ensure that the group maj no is unique.. and install the patches mentioned above.
It is strange seeing as the vgimport worked.
I would be suspicious of a wio and tend to finger an lvm bug before hw.. ioscan works, vgimport works.
To boot your system again, you may have to boot in maintenance mode, hpux -lm and then bring the vg's and filesystems up one by one until you get vg08 up and running..
Have a look around in /etc/lvmconf/ for anything on vg08 and list the contents of the conf file with vgcfgrestore -l
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 01:45 AM
06-11-2001 01:45 AM
Re: vgchange -a y hangs
ls -l /dev/*/group
Somtimes VGs are not numbered (like vgdb, vgsap or some other names, which might even not begin with "vg"), so if you only checked vg
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 05:00 PM
06-11-2001 05:00 PM
Re: vgchange -a y hangs
There are some SCSI timeouts in the syslog, but they don't coincide with running the vgchange command.
The disk was hot-swapped into a jbod HA unit (can't remember part #). The previous disk worked fine so there's no scsi ID problem. If it was a termination problem, I'd expect to see problems with all the other disks on the bus - but there aren't any.
I'll check for the patches...
Bill: yep, it should have been /dev/rdsk. My typo. /etc/lvmtab shows the vgimport succeeding. The group id is unique.
There is a vg08 config file in /etc/lvmconf with old incorrect info. I don't think this is a problem because I also tried importing the disk into a new vgtmp, which did not have any data in /etc/lvmconf and it behaved the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 07:05 AM
06-12-2001 07:05 AM
Re: vgchange -a y hangs
The procedure for moving a VG from one system to another is right. No doubt about it. It looks like a SCSI/hardware problem:
1. you have the same SCSI ID on two disks ( check the switches and make sure that they are fine).
2. the slot is bad. IF you have another empty one, try it.
Ovidiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 03:56 PM
06-12-2001 03:56 PM
Re: vgchange -a y hangs
Thanks for all your suggestions!