HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- accidentally deleted /dev/vg01/group file
Operating System - HP-UX
1833883
Members
1811
Online
110063
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
02-22-2007 09:56 PM
02-22-2007 09:56 PM
hi guys,
i have accidentally deleted dev/vg01/group special file now what should i do ???
i do have map file of that vg should i recretae group file and then do vgimport on it...???
i have accidentally deleted dev/vg01/group special file now what should i do ???
i do have map file of that vg should i recretae group file and then do vgimport on it...???
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 10:03 PM
02-22-2007 10:03 PM
Solution
Hi,
please read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=620723
You only would have to do half the things.
Or you could use vgimport -m with your mapfile.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
please read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=620723
You only would have to do half the things.
Or you could use vgimport -m with your mapfile.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 04:13 AM
02-23-2007 04:13 AM
Re: accidentally deleted /dev/vg01/group file
On a running system, the vg device files are already open and the details (minor number) are in RAM. So you simply recreate the device file:
mknod /dev/vg01 c 64 0x010000 /dev/vg01/group
This is the same command you used to create vg01 (or when you used sam to create the vg). Since the device file info is in RAM, the replaced device file is unnoticed by the OS and you can continue running. No need for vgimport
Now this assumes that the system is working OK. If you have done some additional LVM commands and deactivated the volume, create the group file as above and the activate vg01.
Bill Hassell, sysadmin
mknod /dev/vg01 c 64 0x010000 /dev/vg01/group
This is the same command you used to create vg01 (or when you used sam to create the vg). Since the device file info is in RAM, the replaced device file is unnoticed by the OS and you can continue running. No need for vgimport
Now this assumes that the system is working OK. If you have done some additional LVM commands and deactivated the volume, create the group file as above and the activate vg01.
Bill Hassell, sysadmin
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