From: rwhelan@elephant.axion.bt.co.uk (Richard Whelan)
Newsgroups: comp.sys.hp
Subject: Help with 1.3G disk
Date: 28 Aug 92 09:17:27 GMT
Reply-To: rwhelan@axion.bt.co.uk
Organization: British Telecom Labs
Organisation: BT Laboratories, Martlesham Heath, IPSWICH UK

Hi,

	I have a problem. I'm trying to add an HP57960, and HP disk, but not
supported as an HP product, which is 1.3GB (formatted), well supposed to be.
The disk is due to go onto to a HP9000/425 running 7.05, which has already
got two internal 600Mb disks and one external 300 Mb Maxtor disk, used for
swap. I eventually managed to get a disktab entry for the disk, directly sent
from HP. Below is a copy of the checklist file I was trying to use.

/dev/dsk/0s0    /       hfs     defaults        0       1
/dev/dsk/1s0    /home/vulture   hfs     defaults        0       2
/dev/dsk/1s0    /       swap    defaults        1       0
/dev/dsk/4s0    /       swap    default         0       0	(Maxtor disk)
/dev/dsk/2s0 	/spare hfs rw,suid 0 2				(New disk)

I was originally trying to get the new disk to talk on 4s0 as the swap disk
was already on 2s0. For some weird reason the new disk kept on being seen as
2s0 and so we had a 1.3 Gb swap disk, useful for swap but useless to me. In
the end we recobfigured the kernel to use 4s0 as the swap disk and mount the
new one on 2s0. 

Ok. So now we have a useable 1.3 Gb disk, or so I thought. I managed to
newfs the disk and it gave me approx the right size. Then we started
having problems. We decided to make the new disk a project disk, so we tried
to copy a 100Mb + directory in /home/vulture, using cpio onto the new disk.
At first it went fine, then the following errors started to appear

Cannot create directory for
</spare/maint/docman/newgen/source/lib/resrce_err.o> (errno:6)
Cannot create directory for </spare/maint/docman/newgen/source/lib/salloc.c>
(er
rno:6)
Cannot create directory for </spare/maint/docman/newgen/source/lib/salloc.o>
(errno:6)
Cannot create directory for </spare/maint/docman/newgen/source/lib/set_ext.c>
(errno:6)

etc. (masses of them).

a df of the device showed

Filesystem           kbytes    used   avail capacity Mounted on
/dev/dsk/2s0        1277886    6744 1143353     1%   /spare

and trying to create further directories resulted in the following:

# mkdir JUNK
mkdir: cannot make directory JUNK: No such device or address

Thinking there might have been a formatting problem I mediainited the disk
and re-newfsd it. Then it tried the copy again, and it crashed out in
exactly the same place.

Thoroughly confused I called in the suppliers who sent and engineer with a
new disk, and we tries again. With the new disk I got exactly the same
error. We then tried a different method of copying. I tarred a file onto that
disk until we had used about 20 Megs. Hooray we had got past the 6.7 Mb
mark. However when I then tried to untar the file within the disk, it
crashed out again, with the same error. Probably about 6.7 Mb beyond the
starting point. I then tried to fsck the disk. If I use the raw device, ie
/dev/rdsk/2s0 it goes through no problems. If I use the other device,
/dev/dsk/2s0 it dies instantly saying it can't read a particular block,
which happens to match the last magic block number from a newfs. This to me
sounds as though the disktab could be slightly wrong, but I don't know.

My questions are:

Has anyone had this problem or even better succeeded in getting an HP97560
disk onto an HP9000/425 running 7.05.

Also does anyone have another copy of the disktab entry, as the one I have
may of course not be quite correct.

And lastly HELP !! 

Please can you mail me directly, with any help you may have.


			Richard Whelan

---------------------------------------------------------------------
vax to vax (UUCP)  RWhelan@axion.bt.co.uk
paper to paper     DAE11 G01 SSTF, British Telecom Research Labs,
		   Martlesham Heath, IPSWICH, IP5 7RE, UK.
voice to voice     +44 473 645099

 "Never trust a man with short legs - brains too near their bottoms."
----------------------------------------------------------------------
Newsgroups: comp.sys.hp