- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to mount Non-Bootable Harddisk with Data
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
03-21-2004 08:36 AM
03-21-2004 08:36 AM
How to mount Non-Bootable Harddisk with Data
How do I go about it without removing data on this additional Harddrive?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2004 08:43 AM
03-21-2004 08:43 AM
Re: How to mount Non-Bootable Harddisk with Data
have a look at vgimport.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2004 12:17 PM
03-21-2004 12:17 PM
Re: How to mount Non-Bootable Harddisk with Data
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:23 AM
03-22-2004 03:23 AM
Re: How to mount Non-Bootable Harddisk with Data
Here's the full story:
This external Harddrive is from a HP-UX filesystem.
However, it was first configured as an additional Harddisk (HD) space to the main HD residing on another UX machine.
In other words, it was used to increase the overall disk space allocated to vg00.
Now the main HD on that other UX machine is no longer functional, so I am planning to move this additional HD to the C240 with the hope that whatever data that used to reside on this additional HD can be recovered.
I went into SAM -> Disk and Filesystems -> Volume Groups. When I tried to add the additional HD either to vg00 or a new volume group, it gives me the error: "Although this disk is currently not part of any active LVM volume group, there are old LVM data structures on the disk. If the disk is added, the old LVM structures will be overwritten and it will not be possible to recover the data currently on the disk. Do you want to continue and add this disk"
Looks like in order to add the additional HD, I've got to delete all existing data on it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:43 AM
03-22-2004 03:43 AM
Re: How to mount Non-Bootable Harddisk with Data
If you attach both disks, you can use VGImport to make the old VG active on the new system, then mount the logical volumes within.
You can think of a VG as a puzzle that is spread across 2 tables (disks), without all the pieces, none of the data makes sense.
It should be noted that if you can import the VG, you might be able to save the data from the portions of the disk that are not bad. I recently recovered 8 out of 9 partitions on a 2 disk VG that had bad sectors on one of the disks.
If your root volume is bad, but the rest of the volumes are good, you could save your data this way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 03:51 AM
03-22-2004 03:51 AM
Re: How to mount Non-Bootable Harddisk with Data
Do NOT try to add the disk to an existing VG. Instead choose the 'IMPORT' option to try to import this disk as a new VG. Since the other disk that was a part of this VG is not available, you may have a hard time importing this disk, especially if there were LVOLs that spanned BOTH disks.
An easier way even than using SAM:
(This assumes that your disk is c0t2d0, if not substitute the appropriate disk device file -- This also assumes a new VG of VG03)
# mkdir /dev/vg03
# mknod /dev/vg03/group c 64 0x030000
# vgimport -v /dev/vg03 /dev/dsk/c0t2d0
This will generate some messages as to what LV's were imported and whether or not the import was successful. If it was then you can do:
# vgchange -a y /dev/vg03
Then just create directories and mount the LVOLs from this disk.
Good luck.