[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About to format the whole laptop, need some partitioning advice.



On Tue, Feb 11, 2014 at 09:11:50PM +0530, Anubhav Yadav wrote:
> Okay, I installed debian now, a perfect install with LVM.
> Here is the output of df -H
> 
> Filesystem               Size  Used Avail Use% Mounted on
> rootfs                   8.7G  330M  7.9G   5% /
> udev                      11M     0   11M   0% /dev
> tmpfs                    830M  754k  830M   1% /run
> /dev/mapper/Debian-Root  8.7G  330M  7.9G   5% /
> tmpfs                    5.3M     0  5.3M   0% /run/lock
> tmpfs                    1.7G     0  1.7G   0% /run/shm
> /dev/mapper/Debian-Home  466G  427M  442G   1% /home
> /dev/mapper/Debian-tmp    16G  174M   15G   2% /tmp
> /dev/mapper/Debian-Usr    32G  2.8G   28G  10% /usr
> /dev/mapper/Debian-Var    32G  461M   30G   2% /var
> 
> And this is what lvsan says
>   ACTIVE            '/dev/Debian/Root' [8.19 GiB] inherit
>   ACTIVE            '/dev/Debian/Usr' [29.80 GiB] inherit
>   ACTIVE            '/dev/Debian/Var' [29.80 GiB] inherit
>   ACTIVE            '/dev/Debian/tmp' [14.90 GiB] inherit
>   ACTIVE            '/dev/Debian/Swap' [3.72 GiB] inherit
>   ACTIVE            '/dev/Debian/Home' [440.52 GiB] inherit
> 
> Is there anything wrong with this partitioning scheme.

This looks fine.  Some suggestions/comments though:

- I wouldn't personally bother with a separate /usr.  You could
  move this onto the Root LV and remove the Usr LV.
- The size of the Root LV is more than plenty for /+/usr
  combined for all but the biggest installs.
- The size of /home is very big.  Not really a problem if you
  need that much space right away, but I'd personally have made
  it about ten times as small and left the remaining space
  unallocated until I was sure what I needed it for.

- If you made the tmp LV into swap space so that you had around
  18GiB swap total, you could then mount a tmpfs on /tmp which
  could potentially be much faster, depending upon the amount of
  memory in the system.  Or just remove it and extend the tmp LV
  --now that you're on LVM you have the power to play around with
  this!  See /etc/default/tmpfs.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: