From owner-freebsd-questions@FreeBSD.ORG Thu May 5 18:32:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 210FA16A4CE for ; Thu, 5 May 2005 18:32:32 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1264543D41 for ; Thu, 5 May 2005 18:32:31 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 05 May 2005 18:32:25 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp017) with SMTP; 05 May 2005 20:32:25 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Thu, 5 May 2005 20:32:15 +0200 User-Agent: KMail/1.8 References: <200505051256.j45Cu2rM009492@clunix.cl.msu.edu> <200505051653.00301@harrymail> <427A3F28.4040106@donnacha.com> In-Reply-To: <427A3F28.4040106@donnacha.com> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1645329.Miyol4iLS8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505052032.24543@harrymail> X-Y-GMX-Trusted: 0 cc: freebsd.org@donnacha.com Subject: Re: How should I divvy up my HDDs? Suggestions Please. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 18:32:32 -0000 --nextPart1645329.Miyol4iLS8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Donnerstag, 5. Mai 2005 17:43 schrieb freebsd.org@donnacha.com: > Hi Harald, thanks. > > GPT sounds great but the quick search I did turned up a lot of > references to 64-bit chips i.e. FreeBSD.org said "The GPT partitioning > scheme was introduced with the ia64 architecture as an MBR replacement". > > Can GPT be also be used on 32-bit chips? My server has a single P4 2.8 > 533FSB. Yes, you cannot boot from GPT disks without IA64 (EFI), so you have to use= =20 MBR/bsdlabel for the first disk on x86 (which includes AMD64 and EMT-64)=20 systems and the root mountpoint must be a bsdlabel, but you can also use=20 GPT additionally on the first disk by creating a GPT inside a slice. On non-booting disks you don't need any MBR etc., just GPT works fine on=20 any architecture FreeBSD supports > Also, is it easy to implement and commonly know about? I ask because I > won't be the one doing the initial installation. It's rarely known, but no problem to "implement" since FreeBSD has GPT=20 support in the generic kernel. Sysinstall can't handle GPT, so you should=20 be quiet familar with FreeBSD to make the boot-disk GPT extended. To=20 create GPT on the second disk is quiet easy (gpt create ad2) and the man=20 page of the gpt (8) tool describes the easy steps to add partitions. Then=20 you need to newfs them and add them to /etc/fstab, just like with=20 slice/labels, but you have to do it manually, like mentioned sysinstall=20 can't manage GPT. =2DHarry > > Thanks, > > Donnacha > > Harald Schmalzbauer wrote: > > Am Donnerstag, 5. Mai 2005 14:56 schrieb Jerry McAllister: > >>>Hello, I'm new to FreeBSD and this list, my name is Donnacha, I'm an > >>>Irishman living in Edinburgh, Scotland. > >>> > >>>I have read The Complete FreeBSD's section on disk partioning but > >>>would very much appreciate some advice on how to divide up the 2 HDDs > >>>I'm getting on my new server. > >>> > >>>The server is located in a facility in the US and will be used as a > >>>Web and email server. It has an 80GB HDD and a 200GB HDD, both IDE > >>>but I'm asking for them to be placed on seperate buses. > >>> > >>>I was thinking of using the 80GB as the primary and placing / on it, > >>>while putting /var, /usr and /home on the 200GB. > >>> > >>>I'll have 2GB of RAM, so, I was thinking about putting 2GB of swap on > >>>each HDD. > >>> > >>>How does that sound. I would be very grateful for any advice you can > >>>give me before I relay my instructions to the guys doing the > >>>installation. > >> > >>It depends a lot on what you leave in /usr and /var and /home. > >>It kind of looks like you will leave the 80GB drive mostly empty > >>the way you are doing things. If all your accounts and web pages > >>are really in /home and you have no databases, I would be inclined > >>to put both /usr and /var in the 80GB drive and leave the other one > >>for home directories and web pages. Since the default place for > >>databases is in /var that can make a big difference on where you put > >>it or if you take the db directory out of /var and put it somewhere > >>else, etc. > >> > >>Putting some of your swap on each drive as you have indicated > >>is a good idea. > > > > Ack! I just wanted to point you to GPT. I always use my second drive > > without MBR/slices/labels, just GPT. You can create up to 128 > > Pratitions and together with either growfs ( if you leave unassigned > > space between the partitions) or gconcat I have a very flexible > > storage solution (of course gvinum is another option). > > It's also possible to create a GPT inside a slice (so even on the > > first HD), just / must be on a bsdlabel. > > I use such a configuration for jails or virtual hosts, where every > > jail or virthos has its own mountpoint. Initially with not too much > > space (1G), increased on demand. > > > > -Harry > > > >>////jerry > >> > >>>Thanks and I look forward to participating in this community, > >>> > >>>Donnacha > >>> > >>> > >>> > >>>_______________________________________________ > >>>freebsd-questions@freebsd.org mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>To unsubscribe, send any mail to > >>>"freebsd-questions-unsubscribe@freebsd.org" > >> > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1645329.Miyol4iLS8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCema4Bylq0S4AzzwRAll2AJ4+y4U6DVDgi2Z3AyP0pkcevL9lTACfcDNM 7xe67EjBuXfWeAkdVkWtq6U= =gkHV -----END PGP SIGNATURE----- --nextPart1645329.Miyol4iLS8--