- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changed LVM physical path addresses
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
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
тАО06-03-2007 06:03 AM
тАО06-03-2007 06:03 AM
Changed LVM physical path addresses
Very new to LVM. How do I change the lvmtab to reflect the changed device paths?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 10:34 AM
тАО06-03-2007 10:34 AM
Re: Changed LVM physical path addresses
/etc/lvmtab is a binary file and you don't directly change it.
Try this, but perhaps first back up vg00 with Ignite make_tape_recovery
mv /etc/lvmtab /etc/lvmtab.save
vgscan -a
That may correct the situation. More likely however the power fail has caused damaged and your lock disk is gone. Further diagnosis, dmesg /var/adm/syslog/syslog.log is probably needed.
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
тАО06-03-2007 10:48 AM
тАО06-03-2007 10:48 AM
Re: Changed LVM physical path addresses
I did a vgscan -a but did not help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 10:48 AM
тАО06-03-2007 10:48 AM
Re: Changed LVM physical path addresses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 11:16 AM
тАО06-03-2007 11:16 AM
Re: Changed LVM physical path addresses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 01:28 PM
тАО06-03-2007 01:28 PM
Re: Changed LVM physical path addresses
vgchange -a n
vgcfgrestore -n
vgchange -a y
This will update the lvmtab file and vgconf files .... If there are multiple disk like this then you need to run vgcfgrestore for all the disks one by one.... Make sure PV paths are correct else you may get an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2007 01:44 PM
тАО06-03-2007 01:44 PM
Re: Changed LVM physical path addresses
check fc connection with fcmsutil. maybe card problem or FC cable problem.
and try to activate all volume group.
# vgchange -c n
# vgchange -a y
have any error when you activated the vg? (capture the error)
Thanks
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 01:38 AM
тАО06-04-2007 01:38 AM
Re: Changed LVM physical path addresses
ll /dev/*/group
mkdir /maps
cd /maps
vgexport -p -s -m
mkdir /dev/
mknod /dev/
(replace the y with the number u hv noted from above "ll /dev/*/group" output)
then do a
vgimport -s -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 01:48 AM
тАО06-04-2007 01:48 AM
Re: Changed LVM physical path addresses
Is it possible we could just remove the old EVA paths as they were already mirrored to the EMC CX. My problem is now how to carry out the removal. The lock is on the EVA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 01:50 AM
тАО06-04-2007 01:50 AM
Re: Changed LVM physical path addresses
If changed then the suggestions above will update LVM, but if they're missing (as indicated from ioscan) then you will need to resolve that and re-assign it the server first before address in the LVM side.
Jov