Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!boyd
From: boyd@austin.ibm.com (Boyd R. Faulkner)
Subject: 386bsd: trouble copying large directories from IDE to SCSI
Originator: boyd@pal411.austin.ibm.com
Message-ID: <C8MJvK.3HoF@austin.ibm.com>
Sender: boyd@austin.ibm.com ()
Date: Mon, 14 Jun 1993 18:40:32 GMT
Reply-To: boyd@pal411.austin.ibm.com
Organization: IBM Austin
Lines: 110
Unread news in comp.os.386bsd.questions 60 articles + 3093 oldUnread news in comp.os.386bsd.questions 60 articles + 3093 oldHi,
I am running 386BSD with 0.2.3 patches.
I have noticed a few problems and wondered if they were known (I haven't noticed
them here) and if there are fixes.
I did run buildworld.sh with no "real" problems.
1) vi does not recognize the arrow keys any longer. Very irritating.
2) I added a SCSI drive MAXTOR - PANTHER 12S 1.2 Gb on Adaptec 1542B card
I disklabeled it into 3 partitions and they share the drive with a 400Mb Dos
partition.
I can mount the drives fine. They newfs ok.
As I intend to move the seagate drive to another machine, I do
cp -r /usr/othersrc /u
It starts cranking and eventually the IDE drive light goes on solid and disk
activity stops. If I hit enter the screen scrolls but that is about it.
After rebooting the machine, it tries to fsck the scsi drives. They work oki
but the ide is gone again before it is done.
Trying again, If I don't remove the target, the copy returns the message
cp: /usr/othersrc not a directory
but it is. I can cd there and ls under it.
A friend of mine told me about 386bsd having problems with high disk
traffic, but this was patchkits ago. I was able to transfer this
directory before from wd0 to wd1.
Has anyone been through this yet? Can you tell me where to start looking?
(Yes, I could do it myself but there is that reinvention of the wheel thing.)
Thanks,
Boyd
The rest is data.
Below I include my drives from /etc/disktab.
maxtor213|Maxtor LXT-213: \
:dt=ESDI:ty=winchester:se#512:nt#16:ns#38:nc#683:\
:pa#121600:oa#12768:ta=4.2BSD:ba#4096:fa#512:\
:pb#32832:ob#134368:tb:swap:\
:pc#415264:oc#0:\
:pd#402496:od#12768:\
:ph#236512:oh#167200:th=4.2BSD:bh#4096:fh#512:
seagate:\
:dt=ESDI:ty=winchester:se#512:nt#15:ns#17:nc#1001:\
:pb#32895:ob#20655:tb:swap:\
:pc#255255:oc#0:\
:pd#234600:od#20655:\
:pg#95880:og#53550:tg=4.2BSD:bg#4096:fg#512:\
:ph#105825:oh#149430:th=4.2BSD:bh#4096:fh#512:
panther|panther 1.2 scsi|:\
:dt=SCSI:ty=winchester:se#512:nt#15:ns#75:nc#1795:\
:pc#2019375:oc#0:\
:pd#1199250:od#820125:\
:pf#225000:of#820125:bf#4096:ff#512:tf=4.2BSD:\
:pg#225000:og#1045125:bg#4096:fg#512:tg=4.2BSD:\
:ph#749250:oh#1270125:bh#4096:fh#512:th=4.2BSD:
This is the result of disklabel -r /dev/as0c
# /dev/as0c:
type: SCSI
disk: panther
label:
flags:
bytes/sector: 512
sectors/track: 75
tracks/cylinder: 15
sectors/cylinder: 1125
cylinders: 1795
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
c: 2019375 0 unused 0 0 # (Cyl. 0 - 1794)
d: 1199250 820125 unused 0 0 # (Cyl. 729 - 1794)
f: 225000 820125 4.2BSD 512 4096 0 # (Cyl. 729 - 928)
g: 225000 1045125 4.2BSD 512 4096 0 # (Cyl. 929 - 1128)
h: 749250 1270125 4.2BSD 512 4096 0 # (Cyl. 1129 - 1794)
Here is the results of df on the system
Filesystem 512-blks used avail capacity Mounted on
/dev/wd0a 113871 85535 16948 83% /
/dev/wd0h 221679 179545 19966 90% /usr
/dev/wd1g 89511 69451 11108 86% /usr/othersrc
/dev/wd1h 98928 40438 48597 45% /usr/src/usr.bin
/dev/as0f 210927 1 189833 0% /u
/dev/as0g 210927 12203 177631 6% /v
/dev/as0h 703856 1 633469 0% /x
... and this is my disktab.
/dev/wd0a:/:rw:1:1
/dev/wd0h:/usr:rw:1:2
/dev/wd1g:/usr/othersrc:rw:2:3
/dev/wd1h:/usr/src/usr.bin:rw:2:4
/dev/as0f:/u:rw:3:5
/dev/as0g:/v:rw:3:6
/dev/as0h:/x:rw:3:7