- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recovering vg for non-bootable disks
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
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
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-10-2009 10:27 PM
тАО06-10-2009 10:27 PM
Recovering vg for non-bootable disks
The master boot disk of my L2000 HP server has failed. How do I recover the other vgs after replacing and re-installing hpux.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 10:32 PM
тАО06-10-2009 10:32 PM
Re: Recovering vg for non-bootable disks
Restore your backup, this should include all settings. Otherwise use "vgscan" to discover all other VGs.
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
тАО06-10-2009 10:37 PM
тАО06-10-2009 10:37 PM
Re: Recovering vg for non-bootable disks
Dear friend
please restore from the backup
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 10:44 PM
тАО06-10-2009 10:44 PM
Re: Recovering vg for non-bootable disks
restore the system from ignite, as Trosten said, and them if the configuration of VG-s are not presented, use vgscan to import the VG-s.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 10:55 PM
тАО06-10-2009 10:55 PM
Re: Recovering vg for non-bootable disks
Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 11:39 PM
тАО06-10-2009 11:39 PM
Re: Recovering vg for non-bootable disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 11:55 PM
тАО06-10-2009 11:55 PM
Re: Recovering vg for non-bootable disks
There was three vg for three disks: sybase, data and log.
root@library:/ ll /tmp/backup/
total 2696
-rw-rw-rw- 1 root sys 580 Jun 10 11:24 bdf.ant
-rw-rw-rw- 1 root sys 580 Jun 10 11:24 bdf.bak
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 data.conf
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 data.conf.old
-rw-rw-rw- 1 root sys 539 Jun 10 11:24 fstab
-rw-rw-rw- 1 root sys 817 Jun 10 11:24 ioscan.bak
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 logs.conf
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 logs.conf.old
-rw-rw-rw- 1 root sys 0 Jun 10 11:24 lvm_lock
drwxrwxrwx 2 root sys 96 Jun 10 11:26 root
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 sybase.conf
-rw-rw-rw- 1 root sys 165888 Jun 10 11:24 sybase.conf.old
-rw-rw-rw- 1 root sys 190464 Jun 10 11:24 vg00.conf
-rw-rw-rw- 1 root sys 190464 Jun 10 11:24 vg00.conf.old
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 03:35 AM
тАО06-11-2009 03:35 AM
Re: Recovering vg for non-bootable disks
Start the server, interupt the automatic boot and do a
> sea ipl
to find bootable disks.
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
тАО06-11-2009 03:55 AM
тАО06-11-2009 03:55 AM
Re: Recovering vg for non-bootable disks
It was not mirrored.
But, I used the following command to recover vg sybase
#cd /dev
#mkdir /dev/sybase
#cd /dev/sybase
#mknod group c 64 0x010000
#vgimport /dev/sybase /dev/dsk/c1t0d0
root@library:/dev/sybase ll
total 0
crw-rw-rw- 1 root sys 64 0x010000 Jun 11 14:08 group
brw-r----- 1 root sys 64 0x010001 Jun 11 14:09 lvol1
crw-r----- 1 root sys 64 0x010001 Jun 11 14:09 rlvol1
The # of lv are right but with a wrong lv name. And when I try to mount it, hete is the error message.
root@library:/dev/sybase mount -a
vxfs mount: /dev/sybase/lvol1 is corrupted. needs checking
mount: /dev/logs/backup: No such file or directory
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:00 AM
тАО06-11-2009 04:00 AM
Re: Recovering vg for non-bootable disks
use fsck on the rlvol
fsck -F vxfs -o full /dev/vgxyz/rlvol
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:01 AM
тАО06-11-2009 04:01 AM
Re: Recovering vg for non-bootable disks
Run following command
fsck -F vxfs
and then mount it
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:10 AM
тАО06-11-2009 04:10 AM
Re: Recovering vg for non-bootable disks
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:29 AM
тАО06-11-2009 04:29 AM
Re: Recovering vg for non-bootable disks
For more than one volume group, it will give me the error message.
root@library:/dev/data ll
total 0
brw-r----- 1 root sys 64 0x020005 Jun 11 13:35 dbcc_data
crw-rw-rw- 1 root sys 64 0x020000 Jun 11 13:32 group
brw-r----- 1 root sys 64 0x020001 Jun 11 13:35 master
crw-r----- 1 root sys 64 0x020005 Jun 11 13:35 rdbcc_data
crw-r----- 1 root sys 64 0x020001 Jun 11 13:35 rmaster
crw-r----- 1 root sys 64 0x020002 Jun 11 13:35 rsqldev1
crw-r----- 1 root sys 64 0x020003 Jun 11 13:35 rsqldev2
crw-r----- 1 root sys 64 0x020004 Jun 11 13:35 rsqltestlog
brw-r----- 1 root sys 64 0x020002 Jun 11 13:35 sqldev1
brw-r----- 1 root sys 64 0x020003 Jun 11 13:35 sqldev2
brw-r----- 1 root sys 64 0x020004 Jun 11 13:35 sqltestlog
root@library:/dev/data fsck -F vxfs /dev/data/dbcc_data
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:36 AM
тАО06-11-2009 05:36 AM
Re: Recovering vg for non-bootable disks
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
use the RAW dev file /dev/data/rdbcc_data
apart from that have the copy of the OLD /etc/fstab that you can be sure before all whether the FS for this had been HFS or VXFS.
you can simply use
fsck /dev/
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 05:48 AM
тАО06-11-2009 05:48 AM
Re: Recovering vg for non-bootable disks
root@library:/dev/data fsck /dev/data/rdbcc_data
fsck: /etc/default/fs is used for determining the file system type
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
The content of /etc/default/fs is only
LOCAL=vxfs