On Fri, Dec 09, 2005 at 10:42:18AM -0600, Denny White wrote:
> 
> Today Joachim Schipper contributed the following:
> 
> > On Wed, Dec 07, 2005 at 11:36:35AM -0600, Denny White wrote:
> >> /dev/wd0a / ffs rw 1 1
> >> /dev/wd0h /data ffs rw,nodev,nosuid 1 2
> >> /dev/wd0f /home ffs rw,nodev,nosuid 1 2
> >> /dev/wd0g /tmp ffs rw,nodev,nosuid 1 2
> >> /dev/wd0e /usr ffs rw,nodev 1 2
> >> /dev/wd0d /var ffs rw,nodev,nosuid 1 2
> >> /dev/wd1c /mnt ffs rw,nodev,nosuid 1 2
> >> /dev/cd0c /mnt/cdrom cd9660 ro,nodev,nosuid,noauto 0 0
> >> /dev/fd0a /mnt/floppy msdos ro,nodev,nosuid,noauto 0 0
> >> /mnt/data2/swap /mnt/data2/swap swap sw 0 0
> >
> > I am not certain your swap file is configured correctly - I'm not
> > certain, I've never used it, but every swap I've ever seen had a mount
> > point of 'none'. Then again, the mount point was simply not used at all
> > on Linux - I've never toyed with it on OpenBSD.
> >
> > Additionally, you shouldn't mount any 'c' partitions, such as /dev/wd1c,
> > unless you are *very*, *very* sure what you are doing. In which case you
> > probably don't want to. ;-)
> >
> > I don't think either of this will help much, though.
> >
> >             Joachim
> >
> I thought it was configured right, but maybe not, afterall.
> Maybe I didn't understand how to add a 2nd disk properly
> when I put in an extra hd for storage space. I dangerously
> dedicated, I think it's called, the entire drive. I didn't
> see any need to divide it up, at the time. Did the same thing
> on a fbsd box (but it's scsi, not ide) & not having problems
> there. I can remotely mount the shares from the xp box & copy
> really large files to the fbsd box without any problems. Have
> copied files as large as iso's there without complaint from
> that system. As for mounting /dev/wd1c, I didn't see any other
> way to mount it, nor would the system let me do it any other
> way. So, if you or anyone else sees a mistake there, in the
> way I've mounted it, please advise. When I get home from work
> tonight, I'm going to use swapctl to stop using the extra file
> swap I created on the 2nd disk, hash it out in fstab, & see if
> that helps with the file copying problem. If that works, I might 
> try doing, what the obsd faq calls, a more permanent swap to that
> disc using a vnode device (www.openbsd.org/faq/faq14#SwapFile)
> instead of a file swap. Thanks for the reply & advice.
> Denny White

If you want to do it properly, use fdisk -e wd1, disklabel -E wd1, and
newfs /dev/rwd1a, in that order.

                Joachim

Reply via email to