Operating System - HP-UX
1845905 Members
4490 Online
110250 Solutions
New Discussion

Re: Mounting using a Hardware Path

 
KHeaton
New Member

Mounting using a Hardware Path

I will try to explain what I am trying to do, I am very new to HPUX.

I have four Hard Drives each with different versions and setups of HPUX.
I can boot each seperatly OK from the boot prompt.
I would like to be able to burn some images of the Drives or just burn a tar ball of the drive.

I have used sam to find out what the Hardware Paths are, they are:
10/0/15/0.6.0
10/1/2/0.10.0
10/1/2/0.12.0
10/1/2/0.8.0
The 10/1/2/0.10.0 is presently the LVM.

How do I mount the drives?
Once I have the drive mounted can I just tar the drive up and burn to a CD/DVD?
And then if I need to recover just untar back to the correct drive.
Or any other easy method of doing this?

Thanks in advance.
Kevin
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Mounting using a Hardware Path

You cannot use tar because you need to copy at a lower level of abstraction than the filesystem. You need to capture all the LVM metadata as well as the data housed in the filesystems. Do an "ioscan -C disk -fn".You are looking for the /dev/rdsk/cXtYdZ device nodes that correspond to your hardware paths. At this point, you would use dd.

dd if=/dev/rdsk/c1t5d0 bs=64k of=xxx where xxx might be a tape drive, a regular file, or another device node.

Man dd for details.

If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Mounting using a Hardware Path

Oh, and you are really doing this the hard way. You really ought to look at a free product called "Ignite-UX".

If it ain't broke, I can fix that.