- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restore the LVM after pvcreate
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
Discussions
Discussions
Discussions
Forums
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
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-23-2003 06:09 AM
тАО09-23-2003 06:09 AM
I did a "pvcreate -f /dev/rdsk/c3t0d1" which is the alternate path to /dev/rdsk/c5t0d1. After, I vgextend this disk to vg01, but the
system doesn't see this as an alternate link
but instead an individual disk. How can I resolve this problem?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:14 AM
тАО09-23-2003 06:14 AM
Re: Restore the LVM after pvcreate
After pvcreate, you need to re-establish your alternate links.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B7660-90010/B7660-90010_top.html&con=/hpux/onlinedocs/B7660-90010/00/00/60-con.html&toc=/hpux/onlinedocs/B7660-90010/00/00/60-toc.html&searchterms=PVLINK&queryid=20030923-121401
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:15 AM
тАО09-23-2003 06:15 AM
Re: Restore the LVM after pvcreate
To add an alternate link to a VG all you have to do is the 'vgextend'. You don't have to do the pvcreate.
At this point you may have to recreate the VG. As a first step you might try doing a 'vgcfgrestore' to c5t0d1 and then try your 'vgextend' again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:16 AM
тАО09-23-2003 06:16 AM
Re: Restore the LVM after pvcreate
Are you sure that c3t0d1 is really the alternate path to c5t0d1? If LVM adds your disk to a volume group and it doesn't come in as an alternate link, it must be another disk.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:18 AM
тАО09-23-2003 06:18 AM
Re: Restore the LVM after pvcreate
I think u did a blunder here.
Was /dev/dsk/c5t0d1 already in the VG01 and U pvcreated and vgextended the /dev/dsk/c3t0d1. ???
Incase of PV links, since both the device files are referring to the same LUN, you should NOT have pvcreated the c3t0d1 but rather just vgextend /dev/vg01 /dev/dsk/c3t0d1.
You have effectively overwritten the PVRA, VGRA & VGDA of c5t0d1.
I am sure all ur LVs of VG01 are dead by now ???
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:18 AM
тАО09-23-2003 06:18 AM
SolutionHere is what I would do to fix the issue.
1) cd /etc/lvmconf
2) cp vg01* /tmp
(save these before we start making changes)
3) vgreduce /dev/vg01 /dev/dsk/c3t0d1
4) vgcfgrestore -f /tmp/vg01.conf.old /dev/dsk/c5t0d1
Then proceed to do the extending of the alternate linking with vgextend without doing anything with pvcreate.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2003 06:26 AM
тАО09-23-2003 06:26 AM