- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /dev/vg00 missing
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
06-24-2005 03:32 AM
06-24-2005 03:32 AM
/dev/vg00 missing
Somehow /dev/vg00 was removed from the system, however the system is still up and the file systems are still mounted... is there a way to restore this information?
lvmtab and everything else should be intact, just the "stuff" in /dev is gone.
Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 03:42 AM
06-24-2005 03:42 AM
Re: /dev/vg00 missing
"just the "stuff" in /dev is gone"
is all the info in /dev gone, or "only" the vg00 directory ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 03:42 AM
06-24-2005 03:42 AM
Re: /dev/vg00 missing
See Patrick's responses in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=919439
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 03:48 AM
06-24-2005 03:48 AM
Re: /dev/vg00 missing
so that means I would have to boot off an alternate source to do this...since this is a new system we are trying to stand up, it would probably be faster just to reignite.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 03:59 AM
06-24-2005 03:59 AM
Re: /dev/vg00 missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 04:56 AM
06-24-2005 04:56 AM
Re: /dev/vg00 missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 08:42 AM
06-24-2005 08:42 AM
Re: /dev/vg00 missing
Check Cheryl's answer in this thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72396
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2005 06:38 PM
06-25-2005 06:38 PM
Re: /dev/vg00 missing
Try ...
vgexport -m /vg00.map /dev/vg00
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0x000000
vgimport -m /vg00.map /dev/vg00 /dev/dsk/cXtYdZ
vgchange -a y vg00
vgcfgbackup vg00
regards
Vinod k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2005 08:24 PM
06-25-2005 08:24 PM
Re: /dev/vg00 missing
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2005 06:59 PM
06-26-2005 06:59 PM
Re: /dev/vg00 missing
The best way for doing this will be to restore /dev/vg00 from the recent ignite backup and once restored confirm by rebooting the system.
The procedure for restoring -
# mt -f /dev/rmt/0mn rew (rewinds)
# mt -f /dev/rmt/0mn fsf 1 (fast forward)
#cd /
# tar xvf /dev/rmt/0m dev/vg00 (restore directory)
( Notice no rewind device file in first two commands)
If this is interrptued at 4th step for any reason you need to follow it from 1 again.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 01:41 AM
07-04-2006 01:41 AM
Re: /dev/vg00 missing
Specifically in relation to Bill Hassell's suggestion to manually recreate the missing device files, I'm interested in more information about how to recreate the missing device files pertaining to vg00's logical volumes.
I have a full list of vg00's lvols from /etc/lvmconf/vg00.mapfile
I understand the need for both character and block device files, but I am unsure as to the major and minor number required for the mknod command ?
Initially I tried:
mknod /dev/vg00/lvol1 b 64 0x000000
mknod /dev/vg00/rlvol1 c 64 0x000000
etc for all lvols ... rebooted, that didnt work... none of the filesystems could be mounted.
I then looked at /dev/vg01 lvol device files as a template and noticed the minor number was different to the group minor number, so I recreated all the lvol and rlvol device files in vg00 using a minor number of 0x000001
Now, /stand can be mounted, but all the other filesystems (which are vxfs) cannot be mounted ?
This is a new system and I had just finished installing applications and data so there is no backup as yet to restore from... had not got that far !
Any ideas as to how to proceed ?
Cheers,
Michael Weinstock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 04:49 AM
07-04-2006 04:49 AM
Re: /dev/vg00 missing
I think you can only mount /stand because it's lvol1. You've done a mknod with 0x000001.
What I should try is to create lvol and rlvol like this :
group ==> 0x000000
lvol1 and rlvol1 ==> 0x000001 for /stand
lvol2 and rlvol2 ==> 0x000002 for swap
lvol3 and rlvol3 ==> 0x000003 for /
lvol4 and rlvol4 ==> 0x000004 for /opt
lvol5 and rlvol5 ==> 0x000005 for /tmp
lvol6 and rlvol6 ==> 0x000006 for /usr
lvol7 and rlvol7 ==> 0x000007 for /var
Perhaps you'll be able to mount your vxfs file systems.
Hope this helps
Kenavo
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 09:00 AM
07-04-2006 09:00 AM
Re: /dev/vg00 missing
umask 077
for LV in 1 2 3 4 5 6 7 8
do
mknod /dev/vg00/lvol$LV b 64 0x00000$LV
mknod /dev/vg00/rlvol$LV c 64 0x00000$LV
done
You can type all of that at the shell prompt or put it into a file. This assumes that you have 8 lvols (1 2 3 4 5 6 7 8) -- adjust as necessary.
VERY IMPORTANT: umask is probably not set in /etc/profile which makes all of your device files vulnerable to being removed accidently (or on purpose from a hacker). You should set umask to 077 for root, and fix all of your disk device files to no reaqd or write by users UNLESS you are also running Informix, Sybase or Oracle in raw access mode. The default HP-UX installation has no umask (very bad) so anything you create as root is wide open. This is also a flag to look at ANYTHING with world writability:
find / -perm -002
Now the following directories should be 777 (rwxrwxrwx): /tmp and /var/tmp, and the files in /usr/share/man can be 666 (rw-rw-rw). Otherwise, question everything that shows up in the find listing 'cause every login on the system can trash the contents of those items.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2006 10:49 PM
07-04-2006 10:49 PM
Re: /dev/vg00 missing
One system alive and kicking and now safely backed up :)