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

Re: 120GB Hard Disk, Debian and Partition Suggestions



At 2002-07-19T10:28:06Z, nick lidakis <nick.lidakis@verizon.net> writes:

> I just purchased a 120GB Hard Disk to use with debian. Most of the HOWTO's
> I have read at Linux Documentation Project deal with small (~2GB) disks.
> What are the general recommendations for large hard disk and Debian
> workstations?

If you're really adventurous, you could install 'lvm2' and make that 120GB
monster one giant 'volume group' from which to partition 'logical volumes'
for your filesystems.  Only slice up as much as you think you'll need for
right now, say, 256M for /, 2GB for /var and 4GB for /usr.  If you need more
room later, you can use lvm's utilities to extend the appropriate logical
volume.

For example, here's my current layout:

    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/hdc1               241116    113256    115412  50% /
    /dev/volgroup1/tmp_stripe32k
                            524268     32848    491420   7% /tmp
    /dev/volgroup1/usr_stripe32k
                           6291260   2472224   3819036  40% /usr
    /dev/volgroup1/var_stripe32k
                           2097084    245552   1851532  12% /var


Whenever one of those filesystems starts to get full, I have plenty of extra
storage to tack on:

    root@pooh:~# vgdisplay 
      --- Volume group ---
      VG Name               volgroup1
      System ID             pooh.int1027089672
      VG Access             read/write
      VG Status             resizable
      MAX LV                255
      Cur LV                3
      Max PV                255
      Cur PV                2
      VG Size               29.77 GB
      PE Size               4.00 MB
      Total PE              7622
      Alloc PE / Size       2176 / 8.50 GB
      Free  PE / Size       5446 / 21.27 GB
      VG UUID               ETm08h-PL8R-K3vc-cG83-DT8R-OPNL-YFjpgX
   
In my case, I'm using two smaller drives (20GB and 30GB) and setting up the
logical volumes as RAID0 (striped) which was a trivial command-line flag
more work than setting them up as standard single-drive volumes.

I did set this up earlier today for the first time and it worked correctly
on the first try.  I think I'm in love.  :)
-- 
Kirk Strauser
The Strauser Group - http://www.strausergroup.com/


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: