I am trying to copy a HP-UX disk. Both the OS and H/W are quite old
HP-UX hpeval3 B.09.10 A 9000/382 080009789a46
I have a 1.5Gb disk and a new 2Gb disk. I have been using the following method to create the copy, which must be a bootable disk.
#mediainit /dev/rdsk/cEd1s0
(2Gb disk) cEd0s0 is the 1.5gb existing boot disk.
#newfs -s 1800000 /dev/rdsk/cEd1s0 SEAGATE_35151N
Remainder for swap (think this is maybe where I am going wrong) I have
Tried without the size option as disktab suggests it will be worked out.
I have defined the disktype in the disktab file which came from the disk supplier see below.
I then edit the checklist file on the newly copied disk and change the root disk from cEd0s0 to cEd1s0.
Power cycle, reset & pick the new disk from the list.
It boots up a valid HP OS but fails with no swap space configured.
I am considering doing a dd though this will loose me the extra space, but wondered if I am missing something first?
Entry in disktab:-
SEAGATE_ST32151N:\
:2147.5 MB:ns#30:nt#25:nc#2659:\
:s0#1994752:b0#8192:f0#1024:\
:se#512:rm#5400:
Greetings,
I have no idea what kind of box you are dealing with since I know only serie 700 and 800, and nerver heard of 9.10 (I started with 8.00) so 2 way of seing things a serie 800 before 10.XX didnt have tools to make bootable backup, you need to boot from the CD...
a serie 700 with 9.05 and on had commands to create bootable tapes...
In your case, Im not sure what your goal is : have a spare disk to boot from? or replace existing?
Have you tried a copy of disk using dd (this works well!) only trouble in this case you will loose 500 MB...
vbe thanks,
I have considered dd as that is my normal method when copying like for like disks on UNIX systems (more Solaris than anything else), just was hoping to use the slightly larger capacity.
I have not used or heard of a lif volume or lifinit. Will look into this. My objective is to have an alternative boot disk, so dd really is looking like the way to go.
I have moved office since I received the media on CD, they seem to have disappeared since.
its more than 12 years since the last time I used mkrs...
I used it for dds tape for 712 and 715 boxes..
I remember it was said able to use any device (cartridge, magneto-optico, DDS DAT, and other hard disks)
So why not give it a try?
something like mkrs -v -f/dev/dsk/cEd1s0 -r/dev/dsk/cEd0s0 [-mseries] the last option was for the case it failed and I had to give -m700 (for serie 700) so it would be 300 for you...
Cheers,
I have just re-ran mediainit for the umpteenth time. Going to try this lifinit if that fails have a go at the mkrs. If all that fails there is always trusty dd
On a 10.20 I get:
civ:/home/vbe $ lifls -l /dev/dsk/c1t6d0
volume ISL10 data size 7984 directory size 8 96/05/28 04:10:13
filename type start size implement created