Re: How to access filesystem on 2nd disk ...
On Tue, 2005-11-22 at 10:14 -0500, Jerry McAllister wrote: > > > > 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: > > > > > > > > [EMAIL PROTECTED] df -h > > > > Filesystem SizeUsed Avail Capacity Mounted on > > > > /dev/ad0s1a248M 35M193M15%/ > > > > devfs 1.0K1.0K 0B 100%/dev > > > > /dev/ad0s1e248M 12K228M 0%/tmp > > > > /dev/ad0s1f 35G573M 31G 2%/usr > > > > /dev/ad0s1d248M1.4M226M 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. > > -GB- Am I sleeping or what? Yes, of course I meant GB!!! Sorry (again) ... > > > > > 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. > > Well, in that case, it might not be a bad idea to make a partition > for each person. But, there are not so many partitions available > - only a-h. If you have less than 8 people, it would work, but > if you have more, then you might want to explore chroot and jails > to keep them isolated. > > > > > > > 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. > > That would probably be every boot drive/slice. For a kernel crash, > having swap on a different drive probably is less relevent. > > jerry > > > > > > jerry > > > > > > > > > > > Thanks alot in advance as usual. > > > > > > > > -- > > > > Kiffin Gish > > > > Gouda, The Netherlands > > > > > > > > > > > > ___ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > > > > > -- > > Kiffin Gish > > Gouda, The Netherlands > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to access filesystem on 2nd disk ...
On Tue, 22 Nov 2005 16:05:55 +0100 Kiffin Gish <[EMAIL PROTECTED]> wrote: > > 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. For learning purposes size does not matter that much, FreeBSD Handbook contains useful information on how to use disks on FreeBSD. But, for a production fileserver with backup purposes, how much do you expect to backup on a 20MB disk? -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to access filesystem on 2nd disk ...
> > 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: > > > > > > [EMAIL PROTECTED] df -h > > > Filesystem SizeUsed Avail Capacity Mounted on > > > /dev/ad0s1a248M 35M193M15%/ > > > devfs 1.0K1.0K 0B 100%/dev > > > /dev/ad0s1e248M 12K228M 0%/tmp > > > /dev/ad0s1f 35G573M 31G 2%/usr > > > /dev/ad0s1d248M1.4M226M 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. -GB- > > > 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. Well, in that case, it might not be a bad idea to make a partition for each person. But, there are not so many partitions available - only a-h. If you have less than 8 people, it would work, but if you have more, then you might want to explore chroot and jails to keep them isolated. > > > > 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. That would probably be every boot drive/slice. For a kernel crash, having swap on a different drive probably is less relevent. jerry > > > jerry > > > > > > > > Thanks alot in advance as usual. > > > > > > -- > > > Kiffin Gish > > > Gouda, The Netherlands > > > > > > > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > > -- > Kiffin Gish > Gouda, The Netherlands > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to access filesystem on 2nd disk ...
On November 22, 2005 10:05 am, Kiffin Gish wrote: > 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: > > > > > > [EMAIL PROTECTED] df -h > > > Filesystem SizeUsed Avail Capacity Mounted on > > > /dev/ad0s1a248M 35M193M15%/ > > > devfs 1.0K1.0K 0B 100%/dev > > > /dev/ad0s1e248M 12K228M 0%/tmp > > > /dev/ad0s1f 35G573M 31G 2%/usr > > > /dev/ad0s1d248M1.4M226M 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. I wasn't aware you could still get 20MB hard drives... Not to insult your intelligence, but are you certain you meant 20MB (equivalent of 13 floppy disks) and not 20GB (equivalent of ~ 30 cds?) Nicolas. -- FreeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc pgpcnC4sCtFe1.pgp Description: PGP signature
Re: How to access filesystem on 2nd disk ...
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: > > > > [EMAIL PROTECTED] df -h > > Filesystem SizeUsed Avail Capacity Mounted on > > /dev/ad0s1a248M 35M193M15%/ > > devfs 1.0K1.0K 0B 100%/dev > > /dev/ad0s1e248M 12K228M 0%/tmp > > /dev/ad0s1f 35G573M 31G 2%/usr > > /dev/ad0s1d248M1.4M226M 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to access filesystem on 2nd disk ...
> > 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: > > [EMAIL PROTECTED] df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ad0s1a248M 35M193M15%/ > devfs 1.0K1.0K 0B 100%/dev > /dev/ad0s1e248M 12K228M 0%/tmp > /dev/ad0s1f 35G573M 31G 2%/usr > /dev/ad0s1d248M1.4M226M 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. > > 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. > > 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. jerry > > Thanks alot in advance as usual. > > -- > Kiffin Gish > Gouda, The Netherlands > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to access filesystem on 2nd disk ...
On November 22, 2005 09:41 am, Kiffin Gish 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: > > [EMAIL PROTECTED] df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ad0s1a248M 35M193M15%/ > devfs 1.0K1.0K 0B 100%/dev > /dev/ad0s1e248M 12K228M 0%/tmp > /dev/ad0s1f 35G573M 31G 2%/usr > /dev/ad0s1d248M1.4M226M 1%/var > > I have three questions: > > 1/ What's the best way to partition my second 20MB hard disk? > I'll assume you meant 20gb. The best partition is the one that is the most useful for you. I don't like having partitions above 100gb, and that's a personal preference. I'd use the whole 20gb. > 2/ Should I dedicate the whole thing to one mount point, say > called /extra? > If you do decide to use it all, you won't have a choice but to have one hard mount point. Based on what my drives are used for, I will put it in different places. Ex: my backup drive resides in /mnt/backup. My public share drive resides in /usr/local/public_share. Again, theses are not standards but what I'm most comfortable with. > 3/ Do I also need swap space on the 2nd drive? > Not if you don't need it. > Thanks alot in advance as usual. No prob, Nicolas. -- FreeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc pgpcFsHmIiQL4.pgp Description: PGP signature
Re: How to access filesystem on 2nd disk ...
On Tue, 22 Nov 2005 15:41:26 +0100 Kiffin Gish <[EMAIL PROTECTED]> wrote: > 1/ What's the best way to partition my second 20MB hard disk? you mean 20 Gb or something else, no ? > 2/ Should I dedicate the whole thing to one mount point, say > called /extra? yes > 3/ Do I also need swap space on the 2nd drive? no -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to access filesystem on 2nd disk ...
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: [EMAIL PROTECTED] df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a248M 35M193M15%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1e248M 12K228M 0%/tmp /dev/ad0s1f 35G573M 31G 2%/usr /dev/ad0s1d248M1.4M226M 1%/var I have three questions: 1/ What's the best way to partition my second 20MB hard disk? 2/ Should I dedicate the whole thing to one mount point, say called /extra? 3/ Do I also need swap space on the 2nd drive? Thanks alot in advance as usual. -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"