2nd hard disk help

Peter Hessler phessler at theapt.org
Thu Oct 5 16:46:12 PDT 2006


You create the partition in disklabel, format it with newfs, then you
add the mount information to /etc/fstab.

for more information:
 man 8 disklabel
 man 8 newfs
 man 5 fstab
 man 8 mount


On Thu, 05 Oct 2006 19:36:18 -0400
"Ed D." <edporch at ori.net> wrote:

: 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
: _______________________________________________
: Openbsd-newbies mailing list
: Openbsd-newbies at sfobug.org
: http://mailman.theapt.org/listinfo/openbsd-newbies
: 


-- 
You may easily play a joke on a man who likes to argue -- agree with
him.
		-- Ed Howe


More information about the Openbsd-newbies mailing list