Re: New drive ready to partition. Just what some recommendations and suggestions.
Hmmm, does incremental backups sound good in this situation? Anyone? Regards, Onno At 07:44 PM 1/18/00 +, John Gay wrote: I've got some good suggestions, and apparently raised a few questions as well. Let me outline my reasons for asking and what I hope to do: I've got a CD-RW. I plan to use this for back-ups as well as software publishing. I've also got a SCSI tape drive, but I'm not quite sure how to use it yet. I've got / as a 500M partition. This is perfect for putting onto a bootable CD-RW for emergency recovery. Being new, I've already screwed up my system to the point where it wouldn't boot. Last time I had to do a complete install. I would like to keep the other partitions small enough to put onto just a few CD's each. Worst-case scenario, I trash a complete partition, I can recover from just a few CD's. This also makes backing up each partition less work. I also want to have a few partitions set aside for CD images. I would feel better having a number of smaller partitions that I can back-up and recover quickly, plus fsck would run faster, that just a few really big partitions and lots of sym-links to hide the facts. I've read the multi-disk HOW-TO, as it has some good info on partitions sizes and such. I've also read the FHS info as well. I know StarOffice wants to install in /opt, and apt-get uses /var quite heavily. I expect only three users, and maybe a business account, so mail shouldn't be too much. At the moment I'm more concerned with being able to recover the various system and user programmes before I make my next mistake as root, rather than and user data. This would indicate a good scheme for recovering /usr. Probably spitting it up may help, as long as my / partition would have enough to recover the rest of the system in case of catastrophic failure. Thanks again for your input. I'll have another read of the FHS documents and a good think.
Re: New drive ready to partition. Just what some recommendations and suggestions.
Hi, On Wed, 19 Jan, 2000 à 10:17:54AM +1100, Peter Ross wrote: well. AFAIK the only directories that need to be on the / partition are /bin, /sbin, and /etc. Are you sure you don't need /lib and /dev ? -- ( - Laurent PICOULEAU - ) /~\ [EMAIL PROTECTED] /~\ | \)Linux : mettez un pingouin dans votre ordinateur !(/ | \_|_Seuls ceux qui ne l'utilisent pas en disent du mal. _|_/
Re: New drive ready to partition. Just what some recommendations and suggestions.
A long time ago, in a galaxy far, far way, someone said... Hi, On Wed, 19 Jan, 2000 ? 10:17:54AM +1100, Peter Ross wrote: well. AFAIK the only directories that need to be on the / partition are /bin, /sbin, and /etc. Are you sure you don't need /lib and /dev ? You're right; you usually do need them. Not always, though: sometimes many programs in /bin and /sbin (the ones needed at boot time) are all statically linked, so /lib isn't needed, unless you have any modules /lib/modules, at which time you have no choice :) /dev is only needed if /dev isn't populated at boot time by either a) a script or b) there's a pseudo filesystem (like /proc, or /dev/pts if you've seen a fresh install of potato) where nothing sits there anyway, and the device nodes are created dynamically as drivers are loaded by either a user-level daemon, or bey the kernel. -- -- Phil Brutsche [EMAIL PROTECTED] There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe. - Albert Einstein
New drive ready to partition. Just what some recommendations and suggestions.
I recently got a new 13G hard drive. I've installed it as hdb, and moved my CD-RW to hdc. At the moment I've got a 6G drive with 2G for WindowsNT, 100M for /, 1G for /home and 2G for /usr. I really need more room for both /home AND /usr, but I also need more space for /var and /opt and some others. I would like to make several partitions and use them to my best use, I just wanted to get some recommendations from the Expert/Experienced before I partitioned this drive. I also would like to have a few partitions set aside for CD images as I hope to start selling Software on CD as well. Right now my box is Slink with several Potato things installed. I plan to do a full upgrade as soon as Potato settles down after the freeze. I use it mainly for myself, but my Daughter has an account and as soon as I can get StarOffice installed, I'll be setting up an account for the wife as well. I recently got lxdoom installed and working with the .wads from my 3-CD set, and finally got Netscape installed from the .deb rather than netscapes own package. I'm still learning quite a bit, but I'm getting to the point where I feel I can tell the wife that it's stable for general family use. Once I can get everything we need running in Linux, I'll wipe the WindowsNT partition. My daughter also has a PC with Window95 for games and such, but I also want to set this up as another terminal in the future. SO: With 13G to play with, what partitions should I make and approximately how should I divide them up? I realise there are as many answers as people with PC's, I just want to get a general feel for how big I should make what partitions. Thanks for your help. Cheers, John Gay
Re: New drive ready to partition. Just what some recommendations and suggestions.
I recently got a new 13G hard drive. I've installed it as hdb, and moved my CD-RW to hdc. At the moment I've got a 6G drive with 2G for WindowsNT, 100M for /, 1G for /home and 2G for /usr. I really need more room for both /home AND /usr, but I also need more space for /var and /opt and some others. I would like to make several partitions and use them to my best use, I just wanted to get some recommendations from the Expert/Experienced before I partitioned this drive. I also would like to have a few partitions set aside for CD images as I hope to start selling Software on CD as well. I don't know if you're willing to reinstall completely or just want to add the space, if you're willing to reinstall I would: 1) Your current hd 4 GB on / 2) New hd 5 GB on /home 3) New hd 8 GB on /usr That way you'll have more on /home, /usr, /var and /opt (both /var and /opt will be on /). If you don't want to reinstall you could set a 5 GB on /home and remount your current /home to /var or /opt (whatever you prefer). That way you'll have more on /home and on /var or /opt. Then you create the 8 GB, mount it somewhere, cp the /usr to that partition, following you mount your current /usr to /var or /opt (just the one you hadn't used) and mount that new partition to /usr. (It'll probably need a reboot because you can't umount your /usr (maybe you can after a init 1 (runlevel 1 single user), I've never tried). Ron
Re: New drive ready to partition. Just what some recommendations and suggestions.
Sometimes I don't understand the stratagies used in disk partitioning. Please correct me if I'm wrong but I always thought that you split the partitions by long term usage: 1- 2 GB / 1- 2 GB /var 1- 4 GB /var/spool rest on /home Then I link /tmp to /var/tmp WHY: The chance that / is being filled by a user is small this way. Email and printing activities are split from other partitions. Logging, tmp and such are split from other partitions. And last but not least home directories are split from other partitions. Ideas and critical remarks are welcome... Groetjes, Onno At 12:48 PM 1/18/00 +0100, Ron Rademaker wrote: I recently got a new 13G hard drive. I've installed it as hdb, and moved my CD-RW to hdc. At the moment I've got a 6G drive with 2G for WindowsNT, 100M for /, 1G for /home and 2G for /usr. I really need more room for both /home AND /usr, but I also need more space for /var and /opt and some others. I would like to make several partitions and use them to my best use, I just wanted to get some recommendations from the Expert/Experienced before I partitioned this drive. I also would like to have a few partitions set aside for CD images as I hope to start selling Software on CD as well. I don't know if you're willing to reinstall completely or just want to add the space, if you're willing to reinstall I would: 1) Your current hd 4 GB on / 2) New hd 5 GB on /home 3) New hd 8 GB on /usr That way you'll have more on /home, /usr, /var and /opt (both /var and /opt will be on /). If you don't want to reinstall you could set a 5 GB on /home and remount your current /home to /var or /opt (whatever you prefer). That way you'll have more on /home and on /var or /opt. Then you create the 8 GB, mount it somewhere, cp the /usr to that partition, following you mount your current /usr to /var or /opt (just the one you hadn't used) and mount that new partition to /usr. (It'll probably need a reboot because you can't umount your /usr (maybe you can after a init 1 (runlevel 1 single user), I've never tried). Ron -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: New drive ready to partition. Just what some recommendations and suggestions.
Currently I have two partitions. 1. / 2. /mnt/wally/hdc2 which contains my /usr/local and /home setup by using symlinks. The advantage for me, is that I can trash the root partition any time I want and still have all my important stuff. Pete
Re: New drive ready to partition. Just what some recommendations and suggestions.
On Tue, Jan 18, 2000 at 02:01:07PM +0100, Onno Ebbinge wrote: Sometimes I don't understand the stratagies used in disk partitioning. Me neither, why are we making things so complicated and inflexible? My partition scheme is as follows: 1.5 GB / Rest/vol/0 /home is a link to /vol/0/_home. If you need extra space some time later, for example for /usr/local, make /usr/local a link to /vol/0/_local. If you want to prevent that users (or runaway programs run by users) can fill up entire partitions, use quota. As for runaway daemons filling up the entire partition, well really, how often does that happen? Of course for a lot of situations the above scheme is unthinkable, but for a home pc... Wouter -- Linux duckman 2.2.14 #1 Wed Jan 5 14:45:16 CET 2000 i586 unknown 2:26pm up 2 days, 1:24, 1 user, load average: 0.00, 0.00, 0.00
Re: New drive ready to partition. Just what some recommendations and suggestions.
I've got some good suggestions, and apparently raised a few questions as well. Let me outline my reasons for asking and what I hope to do: I've got a CD-RW. I plan to use this for back-ups as well as software publishing. I've also got a SCSI tape drive, but I'm not quite sure how to use it yet. I've got / as a 500M partition. This is perfect for putting onto a bootable CD-RW for emergency recovery. Being new, I've already screwed up my system to the point where it wouldn't boot. Last time I had to do a complete install. I would like to keep the other partitions small enough to put onto just a few CD's each. Worst-case scenario, I trash a complete partition, I can recover from just a few CD's. This also makes backing up each partition less work. I also want to have a few partitions set aside for CD images. I would feel better having a number of smaller partitions that I can back-up and recover quickly, plus fsck would run faster, that just a few really big partitions and lots of sym-links to hide the facts. I've read the multi-disk HOW-TO, as it has some good info on partitions sizes and such. I've also read the FHS info as well. I know StarOffice wants to install in /opt, and apt-get uses /var quite heavily. I expect only three users, and maybe a business account, so mail shouldn't be too much. At the moment I'm more concerned with being able to recover the various system and user programmes before I make my next mistake as root, rather than and user data. This would indicate a good scheme for recovering /usr. Probably spitting it up may help, as long as my / partition would have enough to recover the rest of the system in case of catastrophic failure. Thanks again for your input. I'll have another read of the FHS documents and a good think. aphro [EMAIL PROTECTED] on 18/01/2000 17:11:52 Sent by: aphro [EMAIL PROTECTED] To: Onno Ebbinge [EMAIL PROTECTED] cc: Ron Rademaker [EMAIL PROTECTED], John Gay/IE/[EMAIL PROTECTED], debian-user@lists.debian.org, recipient list not shown: ; Subject: Re: New drive ready to partition. Just what some recommendations and suggestions. i do stuff along those lines as well ..i dont understand when i installed freebsd it reccomended a 20MB /var partition/slice even though i gave it 6.1GB of space. it doesnt make sense to have such small partitions even if there is nothing on them to me anyways. nate On Tue, 18 Jan 2000, Onno Ebbinge wrote: Onno Sometimes I don't understand the stratagies used in disk partitioning. Onno Onno Please correct me if I'm wrong but I always thought that you split Onno the partitions by long term usage: Onno Onno 1- 2 GB / Onno 1- 2 GB /var Onno 1- 4 GB /var/spool Onno rest on /home Onno Onno Then I link /tmp to /var/tmp Onno Onno WHY: The chance that / is being filled by a user Onno is small this way. Email and printing activities Onno are split from other partitions. Logging, tmp and Onno such are split from other partitions. And last but Onno not least home directories are split from other Onno partitions. Onno Onno Ideas and critical remarks are welcome... Onno Onno Groetjes, Onno Onno Onno Onno Onno At 12:48 PM 1/18/00 +0100, Ron Rademaker wrote: Onno Onno Onno I recently got a new 13G hard drive. I've installed it as hdb, and moved my Onno CD-RW to hdc. At the moment I've got a 6G drive with 2G for WindowsNT, 100M for Onno /, 1G for /home and 2G for /usr. I really need more room for both /home AND Onno /usr, but I also need more space for /var and /opt and some others. I would like Onno to make several partitions and use them to my best use, I just wanted to get Onno some recommendations from the Expert/Experienced before I partitioned this Onno drive. I also would like to have a few partitions set aside for CD images as I Onno hope to start selling Software on CD as well. Onno Onno I don't know if you're willing to reinstall completely or just want to add Onno the space, if you're willing to reinstall I would: Onno Onno1) Your current hd 4 GB on / Onno2) New hd 5 GB on /home Onno3) New hd 8 GB on /usr Onno Onno That way you'll have more on /home, /usr, /var and /opt (both /var and Onno /opt will be on /). Onno Onno If you don't want to reinstall you could set a 5 GB on /home and remount Onno your current /home to /var or /opt (whatever you prefer). That way you'll Onno have more on /home and on /var or /opt. Then you create the 8 GB, mount it Onno somewhere, cp the /usr to that partition, following you mount your current Onno /usr to /var or /opt (just the one you hadn't used) and mount that new Onno partition to /usr. (It'll probably need a reboot because you can't umount Onno your /usr (maybe you can after a init 1 (runlevel 1 single user), I've Onno never tried). Onno Onno Ron Onno Onno Onno -- Onno Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: New drive ready to partition. Just what some recommendations and suggestions.
On 18-Jan-2000, Ron Rademaker [EMAIL PROTECTED] wrote: On Wed, 19 Jan 2000, Peter Ross wrote: Currently I have two partitions. 1. / 2. /mnt/wally/hdc2 which contains my /usr/local and /home setup by using symlinks. The advantage for me, is that I can trash the root partition any time I want and still have all my important stuff. As long as you're not interested in things as mail or logfiles. True, however I use use procmail to deliver my mail to my home directory. You could of course have those directories as symlinks as well. AFAIK the only directories that need to be on the / partition are /bin, /sbin, and /etc. Pete