- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stale logical volume
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
08-08-2001 01:26 PM
08-08-2001 01:26 PM
/dev/dsk/c0t0d0 - array on the left, data intact
/dev/dsk/c1t0d0 - middle disk array (blown away)
/dev/dsk/c2t0d0 - array on the right, data intact
All three of these 3-disk arrays made up one volume group which was /dev/vg01a. I replaced the two disks on the /dev/dsk/c1t0d0 array and now I have a brand new array with no data on it. When I boot up, vg01a is able to be activated but I get a stale logical volume error on one of the logical volumes that was in vg01a. This is obviously due to the blown away data. I need to know how to go about readding the new physical disk to the volume group.
It still has the same address and everything. Doing a pvdisplay /dev/dsk/c1t0d0 gives me an error saying that the specified path does not correspond to physical volume attached to this volume group. I have yet to do a vgexport on this volume group since replacing the disks, although I do have the mapfile from the old configuration. Can someone please guide me as to what I need to do here to in essence reinitialize this volume group with the newly replaced disks? Do I need to do a pvcreate on c1t0d0??
Thanks a bunch for your help and if I missed some vital information that needs to be posted, let me know.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 01:44 PM
08-08-2001 01:44 PM
SolutionDo the following:
# vgcfgrestore -n /dev/vg01a /dev/rdsk/cXtYdZ
# vgchange -a y /dev/vg01a
# newfs -F [hfs|vxfs] /dev/vg01a/rlvolX
...and restore the data to lvolX appropriately. You can use 'pvdisplay -v /dev/dsk/cXtYdZ' to ascertain the logical volumes that were affected by the disk that you replaced.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 02:02 PM
08-08-2001 02:02 PM
Re: Stale logical volume
vgdisplay: Warning: couldn't query the physical volume "/dev/dsk/c1t0d0":
The specified path does not correspond to physical volume attached to this volume group.
Volume Group configuration has been restored to /dev/rdsk/c1t0d0
John
I am able to do a diskinfo on /dev/rdsk/c1t0d0 and it shows up as CLAIMED by HP/UX when I do an ioscan -funC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 12:06 AM
08-09-2001 12:06 AM
Re: Stale logical volume
mkdir /dev/vgxx
mknod c group 64 0x....
vgimport -m mapfile /dev/vgxx /dev/dsk/xxx /dev/dsk/xxx /dev/dsk/xxx
vgchange -a y /dev/vgxx
Now you vg must be active again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 06:34 AM
08-09-2001 06:34 AM
Re: Stale logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 08:27 AM
08-09-2001 08:27 AM
Re: Stale logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 08:35 AM
08-09-2001 08:35 AM
Re: Stale logical volume
You say it was a RAID-5. So when new disk is available is should be reconstructed automaticaly from others disks, so neither pvcreate or vgcfgrestore must be ran.
We dont know what is your hardware/software.
I am still confused about vgdisplay says
"Volume Group configuration has been restored to /dev/rdsk/c1t0d0 "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2001 09:11 PM
08-15-2001 09:11 PM
Re: Stale logical volume
Once this is done, you are fine. You just need to do lvremove on all the logical volumes that have the stale partitions.
Then you can create new lvs and mount them.
You don't need to do vgexport and import.
Sri