- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to I change the lvmtab with the correct block ...
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
02-28-2005 08:48 AM
02-28-2005 08:48 AM
I'm connecting to a EMC san cx600. For some odd reason my block device changed on the HP box. I can't access's my data.
vg03 use to be c10t0d0 but now the device is c30t0d0. how do I make it correct.
Lvmtab:
^CM-h^D/dev/vg00
G"^P^^@M-^BM-H^V^A/dev/dsk/c1t2d0
/dev/vg01
G"^P^^@M-^BM-H^X^B/dev/dsk/c4t0d0
/dev/dsk/c4t0d1
/dev/vg02
G"^P^^@M-^BM-H^]^A/dev/dsk/c4t0d2
/dev/vg03
G"^P^^AbM-yM-1^B/dev/dsk/c10t0d0
/dev/dsk/c12t0d0
root(sh) $ vgscan -a -v
vgscan: The physical volume "/dev/dsk/c1t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t0d2" is already recorded in the "/etc/lvmta
b" file.
Couldn't stat physical volume "/dev/dsk/c3t2d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c22t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c24t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c26t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c28t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg03
/dev/dsk/c30t0d0
/dev/dsk/c32t0d0
/dev/dsk/c34t0d0
/dev/dsk/c36t0d0
/dev/vg01
/dev/dsk/c4t0d0
/dev/dsk/c4t0d1
/dev/vg02
/dev/dsk/c4t0d2
Scan of Physical Volumes Complete.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 08:52 AM
02-28-2005 08:52 AM
SolutionAll you need to do is:
1) Move the /etc/lvmtab somewhere out of /etc
2) Run
vgscan -av
This will rebuild the lvmtab as it should be.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 08:58 AM
02-28-2005 08:58 AM
Re: How to I change the lvmtab with the correct block device
The /etc/lvmtab file should be renamed to someother name(like .old) then after that do a vgscan -av (-a for all controller device path for all available disks & -v for verbose o/p)
this should create the lvmtab.
You can always use
#strings /etc/lvmtab to read what is in the file.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:42 AM
02-28-2005 09:42 AM
Re: How to I change the lvmtab with the correct block device
# vgexport -v -s -m /tmp/vg03.map /dev/vg03
# mkdir /dev/vg03
# mknod /dev/vg03/group c 64 0x030000
# vgimport -v -s -m /tmp/vg03.map /dev/vg03
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 11:12 AM
02-28-2005 11:12 AM