Best partition Layout
I hope this is not a repost.
What is the best partition layout? The OS is in a SATA 200 GB Disk, USB_Drive is a external 500GB USB Drive, LVM have one drive with 2TB Code:
/dev/sda1 swap swap defaults 0 0 Code:
df -h Anyone suggest a new layout? |
Do what you like, it's your computer. :D
For me, I find that separate /home and /root partitions are all I need. Everything else goes into /. On my terabyte disk, / gets 100 GB, /root gets 150 GB, and /home gets all the rest (except for 150 GB dedicated to a Windows partition). I'm actually thinking of shrinking the / and /root partitions because Slackware simply doesn't take that much space and I seldom have much except tarballs in the /root directory. Regards, |
Code:
PV VG Fmt Attr PSize PFree Plenty of room left in the vg to expand any lvs when they need it. Trick to running with lvm is to not allocate everything at the start. Keep the space back and add it to your lvs as needed. When I next get around to reworking it I'll most likely merge both /usr and /opt back into '/' but keep the rest the same. There's no right answer though. it's all personal preference. |
This is mine
Code:
PV VG Fmt Attr PSize PFree |
I don't get too fancy myself. On any linux install besides a swap partition I go for a / and /home
only generally in the proportion of 30%/70% respective of disk space. |
I always keep an empty partition of the same size a my / partition. That way when a new version comes along I can do a fresh install and get it fully working before I swap over to my "working" system. i.e. / for 13.1 is currently sda3 for 13.0 it was sda1 and for 13.2/14.0 it will also be sda1. This way I always have a fully working backup system (as long as I don't get a hardware failure - then I have to use the XP laptop - yuch!).
samac |
I do it this way so I can do a clean install of a new release without having to copy everything off to another server or back up media (I just don't format the non-root partitions when doing the fstab part of the installation -- saves a whole lot of time and trouble):
Code:
Filesystem Size Used Avail Use% Mounted on |
Put your least important partition to the innermost region (highest track numbers). The heads are nearest to the plate in this (dangerous) region.
I had my /usr/src destroyed under low air pressure because it's the last partition. Fortunately my /home is in the middle so it had no problem. |
I have it like this
Code:
Filesystem Size Used Avail Use% Mounted on And another thing, since guanx mentioned sectors. I wasn't aware that some sections were more likely to get corrupt, but the seek-time in the other region of the plate is less then on the inner part. Before I changed to SSD, I always had /home at the end. :) |
I agree with the people above: it's whatever floats your boat. For my own computer, I see no reason to separate / from /home, since instead of preventing one partition from overflowing, now I have to watch two, or three, or whatever, and space gets wasted at the same time. What I found really useful, though, is having at least two similarly sized partitions around, both ready for a GNU/Linux install (e.g., ext3 or ext4). The spare one can be used to test and possibly migrate to a different distribution, and also serves as a place for large temporary files (my Downloads folder links to that). Right now I actually have them on two different hard drives, which really simplified my last Ubuntu -> Slackware migration.
|
All times are GMT -5. The time now is 07:50 PM. |