How to access filesystem on 2nd disk ...
Kiffin Gish
kiffin at gish.demon.nl
Tue Nov 22 15:06:52 GMT 2005
On Tue, 2005-11-22 at 09:57 -0500, Jerry McAllister wrote:
> >
> > I installed freeBSD 5.4 on a system with two hard disks, which I plan to
> > use as a dedicated fileserver, and following the default sysinstall
> > setup I have this:
> >
> > root at fileserver# df -h
> > Filesystem Size Used Avail Capacity Mounted on
> > /dev/ad0s1a 248M 35M 193M 15% /
> > devfs 1.0K 1.0K 0B 100% /dev
> > /dev/ad0s1e 248M 12K 228M 0% /tmp
> > /dev/ad0s1f 35G 573M 31G 2% /usr
> > /dev/ad0s1d 248M 1.4M 226M 1% /var
> >
> > I have three questions:
> >
> > 1/ What's the best way to partition my second 20MB hard disk?
>
> Well, if it is really only a 20MB drive, I certainly wouldn't
> break it up at all.
> But, if it is really 20GB or something like that - your ad0 looks
> like it is a nominal 36GB or maybe a 40 GB - then it really depends
> on what you are doing.
>
Yes I meant 20MB of course (sorry). Megabytes, megabytes, megabytes.
> >
> > 2/ Should I dedicate the whole thing to one mount point, say
> > called /extra?
>
> That would not be a bad choice, expecially if you have a backup device
> that will hold the whole drive. The only real reasons to break it up
> are to facilitate backup/recovery and to isolate things.
>
Actually I want to use it for backing up other systems, perhaps even on
a per person basis, storing files like images, MP3s, MPEGs, etc. Maybe
even using it as a Samba server and/or streaming music server.
> >
> > 3/ Do I also need swap space on the 2nd drive?
>
> That would be a good idea, but it is not required. It is a
> reasonable idea to split your swap over all your drives, but
> there is nothing that makes that mandatory.
I read somewhere that one should 'always' have a swap area available on
every drive in case the kernel crashes.
>
> ////jerry
>
> >
> > Thanks alot in advance as usual.
> >
> > --
> > Kiffin Gish
> > Gouda, The Netherlands
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
>
--
Kiffin Gish
Gouda, The Netherlands
More information about the freebsd-questions
mailing list