[comp.sys.hp] SCSI discs on HP-UX

wille@frith.egr.msu.edu (02/03/90)

I need to know how to make a non-HP SCSI drive (Imprimis Wren 7) work
with an HP 370 workstation running HP-UX 6.5, soon to be 7.0.  When I
run MEDIAINIT on it, it appears to format, but df and bdf show it as
having negative free blocks and when I try to create a file system on
it, it says something like that it can't write to disk because it's full.
Please send or post help.  Thanks.                Jeff Wille

burdick@hpindda.HP.COM (Matt Burdick) (02/06/90)

> When I run MEDIAINIT on it, it appears to format, but df and bdf show it
> as having negative free blocks and when I try to create a file system on
> it, it says something like that it can't write to disk because it's full.

When you say 'when I try to create a file system', does this mean you've
run newfs?  For example:

	/etc/newfs -L -v /dev/rdsk/3s0 hp7937

This will set up the file system on disk 3s0, including the bootstrap code
in the initial 8192 bytes of the device.  The newfs will by default set up
the disk with the same directory format as the root partition, so if the
root partition has long file names enabled the new disk will as well.  The
-L flag specifically chooses this option.  The hp7937 entry is in
/etc/disktab.

I'm not sure if your disk is in the default /etc/disktab - you may have to
create your own (good luck).  On the other hand, there does appear to be a
SCSI Wren disk in mine...

							-matt
-- 
Matt Burdick                    | Hewlett-Packard
burdick@hpda.cup.hp.com   OR    |
burdick%hpda@hplabs.hp.com      | Information Technology (IND/IT)

rer@hpfcdc.HP.COM (Rob Robason) (02/06/90)

> I need to know how to make a non-HP SCSI drive (Imprimis Wren 7) work
> with an HP 370 workstation running HP-UX 6.5, soon to be 7.0.  When I
> run MEDIAINIT on it, it appears to format, but df and bdf show it as
> having negative free blocks and when I try to create a file system on
> it, it says something like that it can't write to disk because it's full.
> Please send or post help.  Thanks.                Jeff Wille
> ----------

You need to run mkfs(1M) to create a file system.  Mediainit(1M) only
initializes the media, and does not create a file system on it.  df and
bdf look at the file system structures to figure out free space.

Rob Robason