Gary Clemans-Gibbon wrote: > Hi All, > > I just built a OpenBSD 3.7 samba file server for my home lan. It's a P3 > 500, 128mb RAM, with a 2 gig IDE HDD for the OS and two x Maxtor 200 GB > IDE drives for data.
whoa. no where near enough RAM. Trip over the power cord, you will end up swapping during fsck. That will be most unpleasant. Assuming you have the swap available. (also assuming you have big partitions) 128M of RAM is large for a home firewall. 200G is a large amount of disk space, period. 2x200G is a huge amount of storage. Pair it up with some real RAM. In fact, if you are after balance, you will want about 1G of RAM, that won't be fun on that system, I suspect. http://www.openbsd.org/faq/faq14.html#LargeDrive I think you put a bullet in the project with that 2G "OS" drive, too. What were you planning on gaining by pairing up a 2G drive with a nice, brand-new 200G drive? (and it's not even a 2G, its a 1G...) > Everything is working fine except that when I copy files to the box from > a Windows XP box the transfers are very slow, like 9 minutes for a 48 Mb > file. Copying the same file back to the win box is quick - a couple of > seconds as you'd expect. Would you happen to be mirroring the drives with ccd(4)? That will hurt your write performance significantly. ... > > Here is dmesg.... > > OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC ...so not running RAIDframe... > wd0 at pciide0 channel 0 drive 0: <Seagate Technology 1080MB - ST31082A> > wd0: 16-sector PIO, LBA, 1032MB, 2114180 sectors > wd1 at pciide0 channel 0 drive 1: <Maxtor 6B200P0> > wd1: 16-sector PIO, LBA48, 194481MB, 398297088 sectors > wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 > wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 Mixing a 1G drive with a 200G drive on the same channel is really bad. I would have bet money that this config would not have worked for a few reasons: 1) small, old drive as master, big drive as slave 2) 200G drive on old IDE interface (pre-LBA48) 3) very very slow IDE drive with very fast IDE drive I'm amazed this thing boots. Anything beyond that is a gift. > wd2 at pciide0 channel 1 drive 0: <Maxtor 6Y200P0> > wd2: 16-sector PIO, LBA48, 194481MB, 398297088 sectors > atapiscsi0 at pciide0 channel 1 drive 1 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <, 52X24X52 CD-RW, 1.07> SCSI0 5/cdrom > removable > wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 > cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 and you sabbotage the secondary channel by mixing a HD with a CDROM. IF you really want that 1G drive, put it on the same channel with the CDROM, and put the two 200G drives on the same channel. Better design would be to put the two new, fast 200G drives on a new, fast PCI IDE card, and not use the on-board IDE interface. I'm amazed this works, I'm not surprised it is slow. Nick.

