- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to recover a VG with its devices files lost?
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
08-13-2010 01:28 AM
08-13-2010 01:28 AM
I've got network issue to cause MC ServiceGuard halted and server rebooted, after it's reboot,a package could not startup cause it could not mount a specific filesystem.one VG configured in the package lost its device files for no reason including lv* and rlv*(just one lv in that vg), vg's configuration on other server was not a correct copy. there was no map file backup for this vg, how could I achive to recover this vg?
thanks a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 01:37 AM
08-13-2010 01:37 AM
Re: how to recover a VG with its devices files lost?
else
restore the volume configuration from
/etc/lvmconf directory.
man vgcfgrestore
for more information.
What HPUX and service guard?
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 02:31 AM
08-13-2010 02:31 AM
Re: how to recover a VG with its devices files lost?
Restore files /dev/vglost/* from backup.
Rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 04:45 AM
08-13-2010 04:45 AM
Re: how to recover a VG with its devices files lost?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 04:46 AM
08-13-2010 04:46 AM
Re: how to recover a VG with its devices files lost?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 05:09 PM
08-13-2010 05:09 PM
Re: how to recover a VG with its devices files lost?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2010 09:37 AM
08-14-2010 09:37 AM
Re: how to recover a VG with its devices files lost?
try to activate the VG and see if those LV devices will get created.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2010 10:02 AM
08-14-2010 10:02 AM
Re: how to recover a VG with its devices files lost?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2010 11:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2010 02:59 AM
08-15-2010 02:59 AM
Re: how to recover a VG with its devices files lost?
So you're saying that a vgdisplay -v /dev/
Like victor says, vgexport/vgimport would be the proper way to get the device files back, without specifying a mapfile as a backup seems also not have been taken, so afterwards you will need to rename the device files again that dont have a "standard" lvol* name.
If you have a ll output of the /dev/
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2010 05:13 PM
08-15-2010 05:13 PM
Re: how to recover a VG with its devices files lost?
you can use mknod to create the device files for the LVs.
mknod c 64 0xXX000D /dev/vg01/rlvol9
mknod b 64 0xXX000D /dev/vg01/lvol9
you need to know the volume group minor number XX and the LV number in the volume group
The name of the LV can be anything but the minor number will be used to access the correct LV device in the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2010 06:27 PM
08-15-2010 06:27 PM
Re: how to recover a VG with its devices files lost?
just make sure you have /dev/VG_name directory
and group file inside this directory and import the VG.
#/sbin/vgcfgrestore -n vg_name -l
to check
and /sbin/vgcfgrestore -n vg_name PV1 PV2 ....
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2010 03:03 AM
08-16-2010 03:03 AM