- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- where LV names are stored?
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
тАО03-31-2011 07:58 AM
тАО03-31-2011 07:58 AM
I've been notified that LV names are not stored on disks(PVs), so where are they? they should not be at VGRA. If I mistakenly rm some LVs' device file, how can vgexport -m get those LVs' name of specific VGs?
regards
Stephen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:29 AM
тАО03-31-2011 08:29 AM
Re: where LV names are stored?
After that it is up to you if you want to rename those newly created lvol driver files under /dev/vgXX/lvolXX files back to the way they were before, by just using mv command. I was told this, as the way to do it. Never done it myself. Hence, I can not advise you to do it or discourage for that matter.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:46 AM
тАО03-31-2011 08:46 AM
Re: where LV names are stored?
I don't think your "default name" saying was true when I use vgexport -m and vgimport -m and I did recover some accidently-lv-deleted VGs using this method. I just want to know how vgexport -m get LVs' name and whether there was another way to recover such VGs I mentioned before, not application halting needed.
regards
Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:46 AM
тАО03-31-2011 08:46 AM
Re: where LV names are stored?
When you do a 'vgimport' with a mapfile, it is the association of the device minor number and the name in the mapfile that makes the logical volume name (as seen in the device file created).
In the absence of a mapfile, the default, standard is 'lvolN' where N is the minor number.
If you lost a mapfile, or wanted to change the names of your logical volumes you could build a custom mapfile that looks like this:
1 mylvone
2 mylvtwo
3 lvol3
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:51 AM
тАО03-31-2011 08:51 AM
Re: where LV names are stored?
So how vgexport -m creates the map file? from where it get those LVs' names?
regards
Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:57 AM
тАО03-31-2011 08:57 AM
Re: where LV names are stored?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 08:59 AM
тАО03-31-2011 08:59 AM
Solution> So how vgexport -m creates the map file? from where it get those LVs' names?
My understanding is that the names are derived from the '/dev/vgXX' directory's files during the 'vgexport'. During a 'vgimport', you have the ability to specify a mapfile with your *own* nomenclature or let 'vgimport' use default names (as in the absence of any mapfile).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 09:04 AM
тАО03-31-2011 09:04 AM
Re: where LV names are stored?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 09:18 AM
тАО03-31-2011 09:18 AM
Re: where LV names are stored?
Sorry, I must forget something, and I agree with your words after I did a test right before.
So, if, I accidently rm some LVs' names under /dev/vgxx on a standalone server, all I can do is vgexport and vgimpot vgxx, then mv the new-created default-name lvs to what name I need them to be.
regards
Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2011 09:22 AM
тАО03-31-2011 09:22 AM
Re: where LV names are stored?
What you said was right, I owe you points, just give me a reply.
regards
Stephen