- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Problem
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
09-10-2003 10:43 PM
09-10-2003 10:43 PM
LVM Problem
Thanks.
Negara
crauapp1:/admdir# vgchange -a y /dev/vg05
---
--- Physical volumes ---
PV Name /dev/dsk/c8t4d0
PV Name /dev/dsk/c6t4d0 Alternate Link
PV Status available
Total PE 4340
Free PE 2201
Autoswitch On
PV Name /dev/dsk/c9t0d0
PV Name /dev/dsk/c7t0d0 Alternate Link
PV Status unavailable
Total PE 4340
Free PE 2201
Autoswitch On
crauapp1:/admdir# vgcfgrestore -n /dev/vg05 /dev/rdsk/c7t0d0
Volume Group configuration has been restored to /dev/rdsk/c7t0d0
crauapp1:/admdir# vgchange -a y /dev/vg05
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d0":
A component of the path of the physical volume does not exist.
Volume group "/dev/vg05" has been successfully changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 10:53 PM
09-10-2003 10:53 PM
Re: LVM Problem
What do you see through ioscan command.
Use ioscan -fnCdisk to see if both these disks show as claimed, also their alternate path should come as claimed.
cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 11:02 PM
09-10-2003 11:02 PM
Re: LVM Problem
Yes, both primary and alternate are CLAIMED.
disk 17 0/4/0/0.8.0.255.1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318203FC
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 33 0/7/0/0.8.0.255.1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318203FC
/dev/dsk/c9t0d0 /dev/rdsk/c9t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 11:13 PM
09-10-2003 11:13 PM
Re: LVM Problem
use vgcfgrestore -n /dev/vg05 /dev/rdsk/c7t0d0 /dev/dsk/c9t0d0
and then do vgchange
that should work.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 11:25 PM
09-10-2003 11:25 PM
Re: LVM Problem
It seems like the command is not working. Pelase see below.
Thanks.
Volume group "/dev/vg05" has been successfully changed.
crauapp1:/admdir# vgcfgrestore -n /dev/vg05 /dev/rdsk/c7t0d0 /dev/rdsk/c9t0d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
"/dev/rdsk/c9t0d0": Too many arguments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 12:44 AM
09-11-2003 12:44 AM
Re: LVM Problem
You really want to run vgcfgrestore when the volume group is offline. It shouldn't matter which disk you restore to as they are the same physical device. Try the following after unmounting filesystems belonging to this volume group :
# vgchange -a n vg05
# vgcfgrestore -n vg05 /dev/rdsk/c9t0d0
# vgchange -a y vg05
The last restore failed because of the syntax - you can only restore to one disk at a time.
Cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 10:22 AM
09-11-2003 10:22 AM
Re: LVM Problem
#vgchange -a n /dev/vg05
#vgcfgrestore -n /dev/vg05 -o /dev/dsk/c7t0d0 /dev/dsk/c9t0d0
This will copy the info from c7 to the c9 disk.