- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: retrieve data of old disk vg00
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
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
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
тАО10-28-2002 12:58 AM
тАО10-28-2002 12:58 AM
retrieve data of old disk vg00
I have a old disk with vg00 of HPUX10.20 which is not bootable.
I have also a running HPUX11 system (containing vg00 and vg01).
Now i need to retrieve some directories of the old disk, so i want to insert the disk and connect it maybe like a vg03, but what to do with double filesystemnames /var, /opt etcetera?
I've understood that vgimport is not the way, or is it?
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 01:00 AM
тАО10-28-2002 01:00 AM
Re: retrieve data of old disk vg00
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 01:07 AM
тАО10-28-2002 01:07 AM
Re: retrieve data of old disk vg00
It IS the way. You only need to vgimport the old vg00 with a minor number other than the minor of other VGs you already have in your system (if you plan to have it as vg03, choose 0x030000 as minor #).
Then the filesystems can be mounted elsewhere. For example:
mount /dev/vg03/lvol7 /old_var
^^^^^
You'll need to know the
exact structure, for sure.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 02:50 AM
тАО10-28-2002 02:50 AM
Re: retrieve data of old disk vg00
mkdir /dev/vg03
mknod /dev/vg03/group c 64 0x030000
vgcreate /dev/vg03 /dev/dsk/c0t3d0
for i in 1 2 3 4 5 6 7 8 9
do
mknod /dev/vg03/rlvol$i c 64 0x00000$i
mknod /dev/vg03/lvol$i b 64 0x00000$i
done
mknod /dev/vg03/rlvol10 c 64 0x00000a
mknod /dev/vg03/lvol10 b 64 0x00000a
mknod /dev/vg03/rlvol11 c 64 0x00000b
mknod /dev/vg03/lvol11 b 64 0x00000b
The 'ls -l' of the newly created vg03 looks exactly the same as the old system had as vg00.
Now i try to mount:
mkdir /oldcontrib
mount /dev/vg03/lvol11 /oldcontrib
/dev/vg03/lvol11: No such device or address
Where do i have to look for faults??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 02:51 AM
тАО10-28-2002 02:51 AM
Re: retrieve data of old disk vg00
you need to make an vgimport to import LVM Data in disk to a VG
Probably disk is empty.... if not you can't make the vgcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 02:56 AM
тАО10-28-2002 02:56 AM
Re: retrieve data of old disk vg00
mkdir /dev/vg03
mknod /dev/vg03/group c 64 0x030000
vgimport /dev/vg03 /dev/dsk/c0t3d0
However, if you want to do it your way, your mknod's should have a minor number of:
0x03000x not
0x00000x
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 04:01 AM
тАО10-28-2002 04:01 AM
Re: retrieve data of old disk vg00
(points will be rewarded later).
Now i have a /dev/vg03 in my /etc/lvmtab which i want to delete (vgremove).
But.. it needs to have the vg activated. But activation failes:
#vgchange -a y /dev/vg03
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t3d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t3d0":
The specified path does not correspond to physical volume attached to this volume group vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg03": Quorum not present, or some physical volume(s) are missing.
How can i delete the faulty vg03 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 04:13 AM
тАО10-28-2002 04:13 AM
Re: retrieve data of old disk vg00
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a
..still trying to vgimport.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 04:14 AM
тАО10-28-2002 04:14 AM
Re: retrieve data of old disk vg00
Wy not remove the lvol's instead of removing the whole volume group.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2002 04:28 AM
тАО10-28-2002 04:28 AM
Re: retrieve data of old disk vg00
vgexport vg03
Are you sure that c0t3d0 is the correct disk?
Regards,
John