2nd hard disk help

Ed D. edporch at ori.net
Thu Oct 5 16:36:18 PDT 2006


Hi,
      I've a machine I'm running 4.0 9/1/06 snapshot on.
      I've added a 250GB second hard disk (wd1) that
I want to use to store media files, that will be accessed
over the network using samba.
My idea being that I can store the data only on the 2nd
hard disk, and just upgrade the first hard disk (wd0)
as new OpenBSD versions come out.
      THE PROBLEM I'm having is getting the second
hard disk set up to have a mount point ( /media) that
will appear like /etc, /home, /var, /usr and so on.
      I've tried using disklabel -E wd1 to set up something
along the lines of: /dev/wd1a  /media along the
lines of how you choose size of partitions with mount
points when you install OpenBSD.
Then have it added to /etc/fstab.
But disklabel doesn't give me the chance to add
any mountpoints.

I've tried various search strings using Google, but I
guess I'm not using the right ones as I haven't found
anything helpful.  (though I know I can't be the only
person who's ever wondered how to do this)
      I realize I'm in over my head, and wonder if anybody
can steer me to any tutorials or examples of something
along the lines of what I'm trying to do.
      Appreciate any insight.    Thanks,  Ed


More information about the Openbsd-newbies mailing list