Operating System - HP-UX
1832973 Members
2470 Online
110048 Solutions
New Discussion

COPYUTIL does not see new drive

 
Norman Woo
Occasional Advisor

COPYUTIL does not see new drive

Hi folks

I was able to backup a bad disk using COPYUTIL for the HPUX 10.20. (See my previous post on fsck). I replaced the defective Seagate ST32171N drive with a similar model ST32151N (5400RPM instead of 7200 RPM). Both are 2 Gig drives.

Running ODE COPYUTIL does not show the new drive. Is there a way to make it see this new drive?

During the booting process, the system do see the new drive.

Thanks

Thanks
7 REPLIES 7
Eugeny Brychkov
Honored Contributor

Re: COPYUTIL does not see new drive

Norman,
I suspect this 'new' drive has non-HP firmware. And do not think that such 'low-level' utility like copyutil will recognize this disk, sorry.
And in addition, if you're doing these operations with boot disk, system may not boot from disk having non-HP firmware
Eugeny
Steven E. Protter
Exalted Contributor

Re: COPYUTIL does not see new drive

Assuming this is not the boot disk

ioscan -fnC disk

after boot.

Is the disk there, claimed?

If not you could have scsi id issues, all kinds of things. If its there, you should be able to use pvcreate to start the process of integrating the disk into lvm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
S.K. Chan
Honored Contributor

Re: COPYUTIL does not see new drive

What I can recall is at ISL prompt ..
ISL> ode copyutil
then you'll be in the ISL-CMD prompt .. where you would enter "copyutil".
ISL_CMD> copyutil
Finally at the COPYUTIL prompt ..
COPYUTIL> restore
and that should prompt for you to enter the backup tape path (where your image is backed up) and the disk device you want to restore the image to.

Are those the steps you're taking ?
Norman Woo
Occasional Advisor

Re: COPYUTIL does not see new drive

Hi

The disk in question is the boot disk.

Yes, I am following the ODE COPYUTIL, RESTORE steps.

When I do a dispmap, it only lists the other SCSI disks and not the new disk (/dev/dsk/c0t6d0).

When I put back the 'bad' disk back in and I go through the same steps, it now shows it in the list of drives.

Regards
Norman Woo
Occasional Advisor

Re: COPYUTIL does not see new drive

Hi again

I made this "new" as SCSI device 5 (c0t5d0) and put back the "bad" boot disk as before (c0t6d0).

Booted into bcheckrc as before when fsck failed and did a "ioscan -fnC disk" and it shows the new disk as

Class=disk
I=4
H/W path=2/0/1.5.0
driver=sdisk
S/W state=CLAIMED
H/W type=DEVICE
Description=SEAGATE ST32151N

Next line shows

/dev/dsk/c0t5d0 /dev/dsk/c0t5d0

Regards
Eugeny Brychkov
Honored Contributor

Re: COPYUTIL does not see new drive

That is correct, because hpux uses general driver, but PDC uses its own dumb 'driver' which is having problems with non-HP disk firmware
Eugeny
Norman Woo
Occasional Advisor

Re: COPYUTIL does not see new drive

Hi

If I'm not able to use "copyutil", can I still use "dd if=/dev/dsk/c0t6d0 of=/dev/dsk/c0t5d0 bs=1024k conv=noerror" to copy from the bad disk to the new disk and still be able to boot from this new disk (the one with the non-HP firmware) once I swap it with the bad boot disk?

Thanks