HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restore VG's special files?
Operating System - HP-UX
1832872
Members
2326
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-14-2007 07:15 AM
06-14-2007 07:15 AM
Hi,
I accidentally deleted my production VG device files:
rm /dev/vgoraprod/*
I created back the group file (with mknod) (I remembered the minor number) but I need to create the files for the logical volumes.
I know there is vgcfgrestore but I'm not sure if that would do it.
Any help will be appreciated.
Thanks,
Jorge
I accidentally deleted my production VG device files:
rm /dev/vgoraprod/*
I created back the group file (with mknod) (I remembered the minor number) but I need to create the files for the logical volumes.
I know there is vgcfgrestore but I'm not sure if that would do it.
Any help will be appreciated.
Thanks,
Jorge
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 07:25 AM
06-14-2007 07:25 AM
Solution
Ok, it's rather easy if you followed stand LVOL naming conventions otherwise you will need to find your original LVOL names.
For each LVOL, you will create two device nodes for the block and character devices respectively.
Let's pretend that your group device node is
64 0x050000
lvol1 will use 0x050001
lvol2 will use 0x050002
lvol20 (14 hex) will use 0x050014
For lvol1:
mknod /dev/vgoraprod/lvol1 b 64 0x050001
mknod /dev/vgoraprod/rlvol1 c 64 0x050001
and so on.
For each LVOL, you will create two device nodes for the block and character devices respectively.
Let's pretend that your group device node is
64 0x050000
lvol1 will use 0x050001
lvol2 will use 0x050002
lvol20 (14 hex) will use 0x050014
For lvol1:
mknod /dev/vgoraprod/lvol1 b 64 0x050001
mknod /dev/vgoraprod/rlvol1 c 64 0x050001
and so on.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 07:33 AM
06-14-2007 07:33 AM
Re: How to restore VG's special files?
What about Ignite backups? Or if this is a clustered VG then look at its definition in the /dev/vgoraprod directory on other nodes. If you have one you would be able to restore the char/block device special files. Besides you also need to know the mount points those lvols were mounted on or the app name for raw device files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 07:38 AM
06-14-2007 07:38 AM
Re: How to restore VG's special files?
A. Clay: THANKS A MILLION! YOU SAVED MY LIFE :) This is actually the very first time I do something dumb like that. I have plenty of Ignite backups. I just knew there had to be an easier/faster way that restoring from backup (overkill) for this kind of particular situation. Again, thanks A. Clay and also for being so fast! All the best! Jorge
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP