RE: 38 GB partitioning advice
I would think, though I'm not using RH's RAID, that you would create the RAID set first then partition it. This way the SWAP would appear on both. <> On Tue, 2003-03-25 at 12:54, Douglas, Stuart wrote: > One last question. Since I'm doing all partitions onto RAID devices across my 2 > drives, what's the proper way to do the swap partition? I had set it up on both > drives just to be consistent without knowing any good/bad implications of that. I > didn't want one drive to have a chunk of unused space equivalent to the swap > partition size on the other drive. With a swap partition on two drives, would Linux > use either/both and therefore be somewhat resilient in case of a drive failure? > > Just curious. Thanks! > > Stuart > > > -Original Message- > From: Joe Polk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 10:43 AM > To: [EMAIL PROTECTED] > Subject: RE: 38 GB partitioning advice > > > I've not played with LVM myself, but it would certainly give you > flexibility. If I don't find a buyer for my HP Netserver, I may just > play with LVM myself. For a relatively static server, though, I think > you'l do fine with the partitioning scheme I gave. I build most of my > servers based on such a percentage or setup. Now desktops and laptops > are a different beast. /usr really get's used then because you tend to > want to load a lot of applications on them. My first Linux book was one > that shipped with RH5.1. It did a good job of laying out what partitions > are used for and recommended sizes. I've loosely used that ever since, > upping the sizes for modern boxes and versions as I've moved along. > Good luck on the project! Glad I could help. > > <> > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: 38 GB partitioning advice
One last question. Since I'm doing all partitions onto RAID devices across my 2 drives, what's the proper way to do the swap partition? I had set it up on both drives just to be consistent without knowing any good/bad implications of that. I didn't want one drive to have a chunk of unused space equivalent to the swap partition size on the other drive. With a swap partition on two drives, would Linux use either/both and therefore be somewhat resilient in case of a drive failure? Just curious. Thanks! Stuart -Original Message- From: Joe Polk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:43 AM To: [EMAIL PROTECTED] Subject: RE: 38 GB partitioning advice I've not played with LVM myself, but it would certainly give you flexibility. If I don't find a buyer for my HP Netserver, I may just play with LVM myself. For a relatively static server, though, I think you'l do fine with the partitioning scheme I gave. I build most of my servers based on such a percentage or setup. Now desktops and laptops are a different beast. /usr really get's used then because you tend to want to load a lot of applications on them. My first Linux book was one that shipped with RH5.1. It did a good job of laying out what partitions are used for and recommended sizes. I've loosely used that ever since, upping the sizes for modern boxes and versions as I've moved along. Good luck on the project! Glad I could help. <> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: 38 GB partitioning advice
I've not played with LVM myself, but it would certainly give you flexibility. If I don't find a buyer for my HP Netserver, I may just play with LVM myself. For a relatively static server, though, I think you'l do fine with the partitioning scheme I gave. I build most of my servers based on such a percentage or setup. Now desktops and laptops are a different beast. /usr really get's used then because you tend to want to load a lot of applications on them. My first Linux book was one that shipped with RH5.1. It did a good job of laying out what partitions are used for and recommended sizes. I've loosely used that ever since, upping the sizes for modern boxes and versions as I've moved along. Good luck on the project! Glad I could help. <> On Tue, 2003-03-25 at 10:24, Douglas, Stuart wrote: > Thanks for the detailed reply, Joe! > > Well...the box DID boot with that HighPoint card and software RAID1 on the 2 drives. > I'm going to redo it all over again, but with your partition recommendations. No > plans for a Web server, but you never know. This is really just a box for me to > mess with regarding FTP setup and/or act as an emergency spare to replace any in > production. > > Now I have to go read up on LVM to see if I can add it to the mix. > > Thanks again! > > Stuart > > > -Original Message- > From: Joe Polk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 10:11 AM > To: [EMAIL PROTECTED] > Subject: RE: 38 GB partitioning advice > > > I see a couple of problems already. /boot should be no more than 100MB. > Anything more is a waste. / should be way more than 500MB. I know that > some will say "I run my entire Linux box on a 486DX66 and 250MB HD!" > Well, this is RH8 and given what you're telling me, I would jack that > up. I would give it at least a Gig. I use a 4gig on my server but it > shares /usr too and not many applications will be loaded. Also, if users > are going to be uploading these files, then they will likely reside in > /home. If you're having an anonymous FTP server then you can point that > where you want, but I would still use /home for all such storage. /usr > is application data and I wouldn't use if for ftp storage, but you're > certainly free to do so. Hell, you can put it anywhere you want, but > that's just my assessment. > Here's how I would do it, take this for what you will: > /boot = 80MB > / = 5G > /usr = 3G > /home = remaining > SWAP = 512MB > > There are a plethora of opinions I'm sure on whether this is necessary, > take that for what you will. If you plan to add Apache and email > services, then add a /var partition. Keep in mind Apache by default now > uses /var/www for it's root, not /home/http as in the past. You can, > however, move it to /home if you wish. > > The important thing to stress is, increase / and make /boot smaller as > indicated. 500MB is too small for / and way too big for /boot. > > <> > > On Tue, 2003-03-25 at 08:06, Douglas, Stuart wrote: > > Thanks for the reply (all of you!). > > > > I did read a tiny bit about LVM in the RH install/config documentation. It seemed > > like very useful technology, but I stayed away from it for the moment given my > > embryonic understanding of the Linux environment. > > > > My setup is strictly for an anonymous (private...by fixed IP list at the FW) FTP > > server that will take in HUGE (100-1000 MB) MPEG2 files which then get moved to > > our video production servers (the FTP basically serves as a temporary holding bin > > for inbound content from our clients). Being stuck on the cheap, I'm using an old > > PII/400 PC with 256 MB of RAM and 2 40 GB IDE drives connected to a HighPoint ATA > > controller card and setting up RAID1 during the Linux install. I started the > > install yesterday, and after feeling my way through the manual DiskDruid part > > (something like 5-6 times!) I THINK I have the RAID done correctly (I'll find out > > this morning, I left it doing the drive checking part on all the partitions > > yesterday evening). I went with 500 MB partitions for swap, / and /boot. I went > > with 4 GB /var and /home partitions, and then put all remaining disk space into > > the /usr partition (where I'll point the FTP server). I have no idea if the box > > will even end up boo! ti! > ng! > > after I'm done...I guess I'll find out shortly. Since this is something of a > > developmental/test box, I'd kinda like to investigate everyone's LVM suggestions, > > especially since I'm not even through the initial OS i
RE: 38 GB partitioning advice
Thanks for the detailed reply, Joe! Well...the box DID boot with that HighPoint card and software RAID1 on the 2 drives. I'm going to redo it all over again, but with your partition recommendations. No plans for a Web server, but you never know. This is really just a box for me to mess with regarding FTP setup and/or act as an emergency spare to replace any in production. Now I have to go read up on LVM to see if I can add it to the mix. Thanks again! Stuart -Original Message- From: Joe Polk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:11 AM To: [EMAIL PROTECTED] Subject: RE: 38 GB partitioning advice I see a couple of problems already. /boot should be no more than 100MB. Anything more is a waste. / should be way more than 500MB. I know that some will say "I run my entire Linux box on a 486DX66 and 250MB HD!" Well, this is RH8 and given what you're telling me, I would jack that up. I would give it at least a Gig. I use a 4gig on my server but it shares /usr too and not many applications will be loaded. Also, if users are going to be uploading these files, then they will likely reside in /home. If you're having an anonymous FTP server then you can point that where you want, but I would still use /home for all such storage. /usr is application data and I wouldn't use if for ftp storage, but you're certainly free to do so. Hell, you can put it anywhere you want, but that's just my assessment. Here's how I would do it, take this for what you will: /boot = 80MB / = 5G /usr= 3G /home = remaining SWAP= 512MB There are a plethora of opinions I'm sure on whether this is necessary, take that for what you will. If you plan to add Apache and email services, then add a /var partition. Keep in mind Apache by default now uses /var/www for it's root, not /home/http as in the past. You can, however, move it to /home if you wish. The important thing to stress is, increase / and make /boot smaller as indicated. 500MB is too small for / and way too big for /boot. <> On Tue, 2003-03-25 at 08:06, Douglas, Stuart wrote: > Thanks for the reply (all of you!). > > I did read a tiny bit about LVM in the RH install/config documentation. It seemed > like very useful technology, but I stayed away from it for the moment given my > embryonic understanding of the Linux environment. > > My setup is strictly for an anonymous (private...by fixed IP list at the FW) FTP > server that will take in HUGE (100-1000 MB) MPEG2 files which then get moved to our > video production servers (the FTP basically serves as a temporary holding bin for > inbound content from our clients). Being stuck on the cheap, I'm using an old > PII/400 PC with 256 MB of RAM and 2 40 GB IDE drives connected to a HighPoint ATA > controller card and setting up RAID1 during the Linux install. I started the > install yesterday, and after feeling my way through the manual DiskDruid part > (something like 5-6 times!) I THINK I have the RAID done correctly (I'll find out > this morning, I left it doing the drive checking part on all the partitions > yesterday evening). I went with 500 MB partitions for swap, / and /boot. I went > with 4 GB /var and /home partitions, and then put all remaining disk space into the > /usr partition (where I'll point the FTP server). I have no idea if the box will > even end up booti! ng! > after I'm done...I guess I'll find out shortly. Since this is something of a > developmental/test box, I'd kinda like to investigate everyone's LVM suggestions, > especially since I'm not even through the initial OS install yet. I may just have > to get out the company checkbook and get a hardware IDE RAID controller instead and > start all over. > > Sorry to ramble a bit hear, but if anyone has any feedback given the above, your > advice or comments are always greatly appreciated. > > Regards, > > Stuart > > > > -Original Message- > From: Thierry ITTY [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 4:13 AM > To: [EMAIL PROTECTED] > Subject: Re: 38 GB partitioning advice > > > I'd set up reasonnable system partitions (depending on what you'll install) > such as > 50/100 MB for /boot > 2/4GB for / > swap (twice ram) > then use LVM for the rest. with LVM you'll be able to increase/decrease > partitions size seamlessly > > > > > A 13:00 24/03/2003 -0500, vous avez écrit : > >All, > > > >I'm setting up a RH8 server (FTP) onto mirrored 40 GB drives (38162 > usable...doing the RAID as part of the OS install) and need some > partitioning suggestions for the installation. What partitions and sizes > should I use (and why for those who feel like bei
RE: 38 GB partitioning advice
I see a couple of problems already. /boot should be no more than 100MB. Anything more is a waste. / should be way more than 500MB. I know that some will say "I run my entire Linux box on a 486DX66 and 250MB HD!" Well, this is RH8 and given what you're telling me, I would jack that up. I would give it at least a Gig. I use a 4gig on my server but it shares /usr too and not many applications will be loaded. Also, if users are going to be uploading these files, then they will likely reside in /home. If you're having an anonymous FTP server then you can point that where you want, but I would still use /home for all such storage. /usr is application data and I wouldn't use if for ftp storage, but you're certainly free to do so. Hell, you can put it anywhere you want, but that's just my assessment. Here's how I would do it, take this for what you will: /boot = 80MB / = 5G /usr= 3G /home = remaining SWAP= 512MB There are a plethora of opinions I'm sure on whether this is necessary, take that for what you will. If you plan to add Apache and email services, then add a /var partition. Keep in mind Apache by default now uses /var/www for it's root, not /home/http as in the past. You can, however, move it to /home if you wish. The important thing to stress is, increase / and make /boot smaller as indicated. 500MB is too small for / and way too big for /boot. <> On Tue, 2003-03-25 at 08:06, Douglas, Stuart wrote: > Thanks for the reply (all of you!). > > I did read a tiny bit about LVM in the RH install/config documentation. It seemed > like very useful technology, but I stayed away from it for the moment given my > embryonic understanding of the Linux environment. > > My setup is strictly for an anonymous (private...by fixed IP list at the FW) FTP > server that will take in HUGE (100-1000 MB) MPEG2 files which then get moved to our > video production servers (the FTP basically serves as a temporary holding bin for > inbound content from our clients). Being stuck on the cheap, I'm using an old > PII/400 PC with 256 MB of RAM and 2 40 GB IDE drives connected to a HighPoint ATA > controller card and setting up RAID1 during the Linux install. I started the > install yesterday, and after feeling my way through the manual DiskDruid part > (something like 5-6 times!) I THINK I have the RAID done correctly (I'll find out > this morning, I left it doing the drive checking part on all the partitions > yesterday evening). I went with 500 MB partitions for swap, / and /boot. I went > with 4 GB /var and /home partitions, and then put all remaining disk space into the > /usr partition (where I'll point the FTP server). I have no idea if the box will > even end up booti! ng! > after I'm done...I guess I'll find out shortly. Since this is something of a > developmental/test box, I'd kinda like to investigate everyone's LVM suggestions, > especially since I'm not even through the initial OS install yet. I may just have > to get out the company checkbook and get a hardware IDE RAID controller instead and > start all over. > > Sorry to ramble a bit hear, but if anyone has any feedback given the above, your > advice or comments are always greatly appreciated. > > Regards, > > Stuart > > > > -Original Message- > From: Thierry ITTY [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 4:13 AM > To: [EMAIL PROTECTED] > Subject: Re: 38 GB partitioning advice > > > I'd set up reasonnable system partitions (depending on what you'll install) > such as > 50/100 MB for /boot > 2/4GB for / > swap (twice ram) > then use LVM for the rest. with LVM you'll be able to increase/decrease > partitions size seamlessly > > > > > A 13:00 24/03/2003 -0500, vous avez écrit : > >All, > > > >I'm setting up a RH8 server (FTP) onto mirrored 40 GB drives (38162 > usable...doing the RAID as part of the OS install) and need some > partitioning suggestions for the installation. What partitions and sizes > should I use (and why for those who feel like being extra > informative...thanks in advance). > > > >Regards and thanks, > > > >Stuart > > > > > > > >-- > >redhat-list mailing list > >unsubscribe mailto:[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > - * - * - * - * - * - * - > Bien sûr que je suis perfectionniste ! > Mais ne pourrais-je pas l'être mieux ? > Thierry ITTY > eMail : [EMAIL PROTECTED] FRANCE > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: 38 GB partitioning advice
Thanks for the reply (all of you!). I did read a tiny bit about LVM in the RH install/config documentation. It seemed like very useful technology, but I stayed away from it for the moment given my embryonic understanding of the Linux environment. My setup is strictly for an anonymous (private...by fixed IP list at the FW) FTP server that will take in HUGE (100-1000 MB) MPEG2 files which then get moved to our video production servers (the FTP basically serves as a temporary holding bin for inbound content from our clients). Being stuck on the cheap, I'm using an old PII/400 PC with 256 MB of RAM and 2 40 GB IDE drives connected to a HighPoint ATA controller card and setting up RAID1 during the Linux install. I started the install yesterday, and after feeling my way through the manual DiskDruid part (something like 5-6 times!) I THINK I have the RAID done correctly (I'll find out this morning, I left it doing the drive checking part on all the partitions yesterday evening). I went with 500 MB partitions for swap, / and /boot. I went with 4 GB /var and /home partitions, and then put all remaining disk space into the /usr partition (where I'll point the FTP server). I have no idea if the box will even end up booting! after I'm done...I guess I'll find out shortly. Since this is something of a developmental/test box, I'd kinda like to investigate everyone's LVM suggestions, especially since I'm not even through the initial OS install yet. I may just have to get out the company checkbook and get a hardware IDE RAID controller instead and start all over. Sorry to ramble a bit hear, but if anyone has any feedback given the above, your advice or comments are always greatly appreciated. Regards, Stuart -Original Message- From: Thierry ITTY [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 4:13 AM To: [EMAIL PROTECTED] Subject: Re: 38 GB partitioning advice I'd set up reasonnable system partitions (depending on what you'll install) such as 50/100 MB for /boot 2/4GB for / swap (twice ram) then use LVM for the rest. with LVM you'll be able to increase/decrease partitions size seamlessly A 13:00 24/03/2003 -0500, vous avez écrit : >All, > >I'm setting up a RH8 server (FTP) onto mirrored 40 GB drives (38162 usable...doing the RAID as part of the OS install) and need some partitioning suggestions for the installation. What partitions and sizes should I use (and why for those who feel like being extra informative...thanks in advance). > >Regards and thanks, > >Stuart > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > - * - * - * - * - * - * - Bien sûr que je suis perfectionniste ! Mais ne pourrais-je pas l'être mieux ? Thierry ITTY eMail : [EMAIL PROTECTED] FRANCE -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 38 GB partitioning advice
I'd set up reasonnable system partitions (depending on what you'll install) such as 50/100 MB for /boot 2/4GB for / swap (twice ram) then use LVM for the rest. with LVM you'll be able to increase/decrease partitions size seamlessly A 13:00 24/03/2003 -0500, vous avez écrit : >All, > >I'm setting up a RH8 server (FTP) onto mirrored 40 GB drives (38162 usable...doing the RAID as part of the OS install) and need some partitioning suggestions for the installation. What partitions and sizes should I use (and why for those who feel like being extra informative...thanks in advance). > >Regards and thanks, > >Stuart > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > - * - * - * - * - * - * - Bien sûr que je suis perfectionniste ! Mais ne pourrais-je pas l'être mieux ? Thierry ITTY eMail : [EMAIL PROTECTED] FRANCE -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 38 GB partitioning advice
* Joe Polk > > I typically partition as follows: > /boot - can be very small, around 50-75MB. I think RH8 recommends 75mb. > / - I like to make this fairly large, but not the largest since it > houses everything not specified elsewhere. > /home - If you intend to have lots of users or share a lot of files, > then it's good to have this be the bulk of your space. I create my > Samba shares here, so this makes sense for me. > /var - If you're going to be moving mail for users, then this should > have it's own partition and be fairly large. > /usr - Very important partition because the more applications you add, > the bigger this directory will get. > /tmp - Some people make a separate partition for /tmp but provided / is > large enough it isn't necessary. Well, shouldn't / be kept small so that you can boot even with disk errors? > SWAP - Always make a decent swap partition! At least 256MB, but more if > you have a lot of RAM. I always thought this is odd, and to the layman it seems that it should be the other way around... (Like the saying that you have to have money if you want to get rich.) Anyway, if you do not plan to reinstall very soon, using LVM is the trick. Then you can give and take disk space whenever you like to do this. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 38 GB partitioning advice
Partitioning can be a subjective thing since it depends, in part, on what you intend to do with the machine. If, for instance, you intend to have a sizable user base, then you want to have plenty of /home space. Regardless, most people new to Linux make the mistake of not making /usr and /var large enough. If you intend to experiment with various applications or intend to load a fair amount of applications, then to make certain that your /usr is big enough make it a separate partition. You can, however, make put everything on / and let everything just run on a single partition. The caveat there, however, is if the drive fills up then / is full and you likely will have a difficult time recovering. I typically partition as follows: /boot - can be very small, around 50-75MB. I think RH8 recommends 75mb. / - I like to make this fairly large, but not the largest since it houses everything not specified elsewhere. /home - If you intend to have lots of users or share a lot of files, then it's good to have this be the bulk of your space. I create my Samba shares here, so this makes sense for me. /var - If you're going to be moving mail for users, then this should have it's own partition and be fairly large. /usr - Very important partition because the more applications you add, the bigger this directory will get. /tmp - Some people make a separate partition for /tmp but provided / is large enough it isn't necessary. SWAP - Always make a decent swap partition! At least 256MB, but more if you have a lot of RAM. On Mon, 2003-03-24 at 13:00, Douglas, Stuart wrote: > All, > > I'm setting up a RH8 server (FTP) onto mirrored 40 GB drives (38162 usable.. .doing the RAID as part of the OS install) and need some partitioning suggestions for the installation. What partitions and sizes should I use (and why for those who feel like being extra informative...thanks in advance). > > Regards and thanks, > > Stuart > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list