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

Re: Opinions about my partition



On Sat, Jun 12, 2010 at 06:47:49AM +1930, Germana Oliveira wrote:
> Hello!
> 
> Im going to install a new Debian Lenny and im planning to do this:
> 
> Disk 1 (10GB)
> /boot
> swap
> /tmp
> /home (it's going to be a server without GUI so, im not going to use
> /home too much)
> 
> Disk 2 (40GB)
> /usr
> /var
> / (root)

I second the opinion about using LVM.  You could also consider
using RAID1 over 1GB of both disks:

Create /dev/sda1 (10GB, total disk) and /dev/sdbn (10GB, partition)
and set these up as partitions for RAID.  You can then use that as
/dev/md0 directly, or run LVM on top of that.  You could also then
just have a /boot and put the rest of the disk in a second LVM VG:

sda:
sda1 10G RAID

sdb:
sdb1: 250M /boot
sdb2: 10G RAID
sdb3: 30G PV

You can then use the 30G PV for swap, and any other filesystems
which are less important, and use the 10G for more important
stuff which needs to be stored more safely.  It will give you
more flexibility than static partition layouts can.  You could
also use GPT partitions rather than DOS MBR.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: