- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recover an external 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
06-28-2001 10:22 AM
06-28-2001 10:22 AM
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 10:33 AM
06-28-2001 10:33 AM
Re: Recover an external disk
You didn't mention OS but I'll assume 10.x and above.
Let's pretend your external disk is c0t5d0.
1) cd /dev
2) mkdir vg01 (or vg02)
3) cd vg01
4) mknod group c 64 0x010000
Make sure that there is not already a group file under /dev/vg00 with a minor device number of 0x010000. If so, you can still be vg01 with a minor device of 0x020000.
5) vgimport -v /dev/vg01 /dev/dsk/c0t5d0
This will create a series of logical devices under /dev/vg01 (lvol1, lvol2, ...)
6) Create a mountpoint for each one.
e.g. mkdir /filesys1
mkdir /filesys2 ...
7) Mount the filesystems
e.g. mount -F vxfs /dev/vg01/lvol1 /filesys1
8) Modify /etc/fstab to automatically mount the filesystems.
This should do it, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 11:15 AM
06-28-2001 11:15 AM
Re: Recover an external disk
The steps mentioned by clay are fine.
If this external disk was the only disk in a VG then its ok but if not then posibly you may get errors during vgimport as it may non find the ohter PV in the VG.
Also if you are connecting the disk to a latest series 800 server than you might want to check if the scsi standard is supported on the new servers.
Goodluck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 11:38 AM
06-28-2001 11:38 AM
Re: Recover an external disk
I feel compelled to tell you that 'my backup tapes are unreadable' is right up there with 'My dog ate my homework'. Please, never let yourself be in this position again. The surest method to never need good backups is to have good backups - one of God's little jokes.
In this case, other than the root disk; you should be ok.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:12 PM
06-28-2001 12:12 PM
Re: Recover an external disk
Clay - everything went well up to the Mount command... after the vgimport, it created lvol1 to lvol10
When I run the mount command:
mount -F vxfs /dev/vg01/lvol1 /filesys1
I get an error saying :
vxfs mount: /dev/vg01/lvol1 no such device.
I tried for all 10 with the same result...
any ideas?
BTW - it is hpux 10.20 and I did use vg01 and device number 0x010000. The device itself is on c0t4d0.
Thanks for your help.. (and sometimes dogs do eat homework!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:22 PM
06-28-2001 12:22 PM
Re: Recover an external disk
vgchange -a y /dev/vg01
and then try your mount again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:32 PM
06-28-2001 12:32 PM
Re: Recover an external disk
Patrick nailed it; activate the volume group.
Also, I assume the filesystems are vxfs if not nount -F hfs /dev/vg01/lvol1 /filesys1.
Sorry about that, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:37 PM
06-28-2001 12:37 PM
Re: Recover an external disk
This command failed horribly. I think it may be related to the comment from Ajitkumar Rane.
The error I get when trying to activate the volume group is:
vgchange: Warning: Couldn't attach to the volume group physical volume "":
A component of the path of the physical volume does not exist.
vgchange: Warning: couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Couldn't query the list of physical volumes.
vgchange: Couldn't activate volume group "/dev/vg01":
Quorum not present, or some physical volume(s) are missing.
-----
Any ideas on this one??
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:44 PM
06-28-2001 12:44 PM
Re: Recover an external disk
If they were both VG00, you may be stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:51 PM
06-28-2001 12:51 PM
Re: Recover an external disk
Did you 'vgimport' *all* of the physical disk comprising the "external" volume group?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:54 PM
06-28-2001 12:54 PM
Re: Recover an external disk
Is there any other way around this??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:05 PM
06-28-2001 01:05 PM
Re: Recover an external disk
vgimport -v /dev/vg01 /dev/dsk/c0t4d0
Is there something else I should be doing?
Thanks,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:11 PM
06-28-2001 01:11 PM
Re: Recover an external disk
This does not sound good but you have one slim hope. If you had the MirrorDisk/UX product (B5403BA) installed originally and all (or at least some) of your logical volumes were mirrored then you may pull this off.
If you meet the above conditions:
1) Install MirrorDisk/UX from one of your application CD (you will need a codeword).
2) vgchange -a y -q n /dev/vg01
This will activate the volume group without a 'quorum' of disks.
Cross your fingers, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:11 PM
06-28-2001 01:11 PM
Re: Recover an external disk
I want(ed) to make sure of the number of physical disks that were present "externally". Can you descibe the original I/O configuration -- i.e. one physical disk at cXtYdZ used as vgXX [now defunct]; plus one (or two?) physical disk at CxtYdZ [trying to save]?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:16 PM
06-28-2001 01:16 PM
Re: Recover an external disk
The orignal configuration was one internal on 6, and one external on 4. The disk on 6 which had the os etc, failed and I could not boot. I replaced the disk and installed the OS. Now I am trying to recover the one external...
But I don't know the original configuration for the volume groups...
Hope this helps you to help me!
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 01:26 PM
06-28-2001 01:26 PM
Re: Recover an external disk
I would suggest redo the whole procedure againg,it was my personal experience that forgetting to do a VGchange before mountting the filesystems cause errors.I think you should try to vgexport the VG you created and again freshly import it performing all the steps in sequence. You might be lucky this time
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 09:38 PM
06-28-2001 09:38 PM
Solutionfollow the steps given by Clay once again & vgchange with quorum option.
ie.
mkdir /dev/vg08
mknod /dev/vg08/group c 64 0x080000
vgimport /dev/vg08 /dev/dsk/c0t4d0
vgchange -a y -q n /dev/vg08
Do fsck on all devicel files , then mount them. some of them may give errors if they had some physical extents on the lost disk. forget abt them.
I think the external disk was part of vg00 that's y it gave the error.
Best of luck
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 05:39 AM
06-29-2001 05:39 AM
Re: Recover an external disk
Thanks to everyone for your input!