- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Resurrecting old disk
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
05-01-2008 02:06 AM
05-01-2008 02:06 AM
Resurrecting old disk
I've had to re-install HP-UX 11.11, as the OS disk crashed.
Unfortunately, all my backups are corrupt as the tape drive was also faulty.
My problem is that I have a second disk that I need to re-mount, but I can't seem to do it using sam as I'm going around in circles. i.e. everytime I seem to be getting close, it keeps saying that there are old LVM structures on the disk and all your data will be lost if you proceed.
Is there any easy way that I can just mount this disk without using sam ?
Any help would be appreciated,
Kevin Eady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 02:29 AM
05-01-2008 02:29 AM
Re: Resurrecting old disk
Try to do the following:
mkdir /dev/vgrest
mknod /dev/vgrest c 64 0x070000
vgimport /dev/vgrest /dev/dsk/cxxxx
vgchange -a y vgrest
And after that try to mount all file systems.
Please use a unique minor number in the mknod command and replace cxxxx with real disk address
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 02:40 AM
05-01-2008 02:40 AM
Re: Resurrecting old disk
Just one question though, how do I find out the real disk address ?
I tried to get the "device information" in sam, but it wouldn't let me have the info as I hadn't configured it, and when I try to configure it, it says the bit about losing all my information.
I also don't know what the original disk address was as I don't have a copy of the "fstab".
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 09:00 AM
05-01-2008 09:00 AM
Re: Resurrecting old disk
ioscan -fnCdisk
If the disk is internal, near it's slot you can find it's H/W address and, according to it from output of ioscam you'll see its device name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2008 02:50 AM
05-03-2008 02:50 AM
Re: Resurrecting old disk
>>> how do I find out the real disk address ?
==> ioscan -fnC disk
==> lvlnboot -v
==> setboot -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 07:06 AM
05-07-2008 07:06 AM
Re: Resurrecting old disk
# mkdir /dev/vgrest
# mknod /dev/vgrest c 64 0x070000
mknod: File exists
# vgimport /dev/vgrest /dev/dsk/c3t15d0
vgimport: "/dev/vgrest/group": not a character device.
any thoughts ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 08:59 AM
05-07-2008 08:59 AM
Re: Resurrecting old disk
1. # rm -r /dev/vgrest
2. # mkdir /dev/vgrest
3. # mknod /dev/vgrest c 64 0x0f0000
4. # vgimport /dev/vgrest /dev/dsk/c3t15d0
If you get any output messages from mknod command you must repeat steps 1-3 changing the minor number (the "0f" in 0x0f0000) by other not currently in use.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 06:57 AM
05-08-2008 06:57 AM
Re: Resurrecting old disk
Have done a "vgscan" and it says that Physical Volume "/dev/dsk/c3t15d0" is not part of a Volume Group.
Can this be part of the problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:21 AM
05-08-2008 07:21 AM
Re: Resurrecting old disk
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:25 AM
05-08-2008 07:25 AM
Re: Resurrecting old disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:28 AM
05-08-2008 07:28 AM
Re: Resurrecting old disk
What is the result of
# vgscan -v -p
(this is preview mode)
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
05-08-2008 07:29 AM
05-08-2008 07:29 AM
Re: Resurrecting old disk
> # mknod /dev/vgrest c 64 0x070000
> 3. # mknod /dev/vgrest c 64 0x0f0000
You left out the group file
# mknod /dev/vgrest/group c 64 0x070000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:31 AM
05-08-2008 07:31 AM
Re: Resurrecting old disk
{hp11} root> # vgscan -v -p
Error getting path name of volume group with group file minor number 0x10000.
Minor number of /dev/vg10/group is not unique. /dev/vg02/group has the same mino
r number.
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01
".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/evg0
5".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/evg2
0".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/evg5
0".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/evg7
0".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/evg6
0".
vgscan: The physical volume "/dev/dsk/c1t15d0" is already recorded in the "/etc/
lvmtab" file.
Physical Volume "/dev/dsk/c3t15d0" is not part of a Volume Group
/dev/vg00
/dev/dsk/c1t15d0
The Volume Group /dev/vg01 was not matched with any Physical Volumes.
The Volume Group /dev/evg05 was not matched with any Physical Volumes.
The Volume Group /dev/evg20 was not matched with any Physical Volumes.
The Volume Group /dev/evg50 was not matched with any Physical Volumes.
The Volume Group /dev/evg70 was not matched with any Physical Volumes.
The Volume Group /dev/evg60 was not matched with any Physical Volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:40 AM
05-08-2008 07:40 AM
Re: Resurrecting old disk
# ll /dev/vg*/group
# strings /etc/lvmtab
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
05-08-2008 07:44 AM
05-08-2008 07:44 AM
Re: Resurrecting old disk
But now get this ...
{hp11} root> # vgimport /dev/vgrest /dev/dsk/c3t15d0
Physical Volume "/dev/dsk/c3t15d0" is not part of a Volume Group
{hp11} root> # ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Apr 23 17:07 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x030000 Feb 12 2005 /dev/vg01/group
cr--r--r-- 1 root sys 64 0x010000 Apr 30 16:45 /dev/vg02/group
crw-r--r-- 1 root sys 64 0x010000 Dec 15 14:24 /dev/vg10/group
crw-r--r-- 1 root sys 64 0x0f0000 May 8 16:31 /dev/vgrest/group
{hp11} root> # strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t15d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 07:46 AM
05-08-2008 07:46 AM
Re: Resurrecting old disk
because of your naming please do this too
# ll /dev/evg*/group
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
05-08-2008 07:47 AM
05-08-2008 07:47 AM
Re: Resurrecting old disk
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
05-08-2008 07:49 AM
05-08-2008 07:49 AM
Re: Resurrecting old disk
/dev/evg05:
total 0
crw-r--r-- 1 root sys 64 0x040000 Nov 7 2006 group
brw-r----- 1 root sys 64 0x040001 Nov 7 2006 lv_u05_oracledb
brw-r----- 1 root sys 64 0x040002 Nov 7 2006 lv_u05_oradata
crw-r----- 1 root sys 64 0x040001 Nov 7 2006 rlv_u05_oracledb
crw-r----- 1 root sys 64 0x040002 Nov 7 2006 rlv_u05_oradata
/dev/evg20:
total 0
crw-r--r-- 1 root sys 64 0x060000 Feb 12 2005 group
brw-r----- 1 root sys 64 0x060001 Feb 12 2005 lv_u20
crw-r----- 1 root sys 64 0x060001 Feb 12 2005 rlv_u20
/dev/evg50:
total 0
crw-r--r-- 1 root sys 64 0x070000 Feb 12 2005 group
brw-r----- 1 root sys 64 0x070001 Feb 12 2005 lv_u50
crw-r----- 1 root sys 64 0x070001 Feb 12 2005 rlv_u50
/dev/evg60:
total 0
crw-r--r-- 1 root sys 64 0x0a0000 Dec 15 14:26 group
brw-r----- 1 root sys 64 0x0a0001 Dec 15 14:26 lv_u60
crw-r----- 1 root sys 64 0x0a0001 Dec 15 14:26 rlv_u60
/dev/evg70:
total 0
crw-r--r-- 1 root sys 64 0x090000 Feb 12 2005 group
brw-r----- 1 root sys 64 0x090001 Feb 12 2005 lv_u70
crw-r----- 1 root sys 64 0x090001 Feb 12 2005 rlv_u70
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 09:13 AM
05-08-2008 09:13 AM
Re: Resurrecting old disk
It looks like you only have two disks on this server, c1t15d0 is the boot disk and c3t15d0 is the disk you are trying to import.
This can be verified with
ioscan -fnkC disk
lvlnboot -v
> {hp11} root> # vgimport /dev/vgrest /dev/dsk/c3t15d0
Physical Volume "/dev/dsk/c3t15d0" is not part of a Volume Group
This should have worked. Unless the conflict of group minor nimbers prevented it. Did you possibly initialize (pvcreate) the second disk from within SAM?
Verify theat all these volume groups do not exist in this server and delete the /dev/vg??? directories except /dev/vg00 and /dev/vgrest and try the vgimport again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2008 01:24 AM
05-09-2008 01:24 AM
Re: Resurrecting old disk
Kevin