I am now running the logical volume manager (LVM) on central-services.
The filesystems look like this.
central-services ~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.9G 1.5G 2.2G 40% /
/dev/vg0/var 2.0G 1.5G 381M 81% /var
/dev/vg0/tmp 248M 8.1M 227M 4% /tmp
/dev/vg0/home 9.8G 4.6G 4.7G 50% /home
/dev/vg0/mp3 49G 37G 10G 78% /mp3
/dev/vg0/debian 49G 27G 20G 56% /debian
central-services ~> vgdisplay
--- Volume group ---
VG Name vg0
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 5
Open LV 5
MAX LV Size 2 TB
Max PV 256
Cur PV 1
Act PV 1
VG Size 181.97 GB
PE Size 32 MB
Total PE 5823
Alloc PE / Size 3592 / 112.25 GB
Free PE / Size 2231 / 69.72 GB
VG UUID PTLVFD-s5rL-SH1g-4poL-Ayoj-Vm6V-Kv4GW8
vg0 is a volume group. A volume group is a logical grouping of
storage space. You can have many volume groups on a system, but I
only have one.
Each of the devices under /dev/vg0 is a logical volume. Each one can
be resized in increments of 32 MB. So if /mp3 or /debian fills up
again, I can grow it by a couple of GB at a time. If I want to create
new filesystems (I'm thinking about /photos and /kitchen) I can
put them in vg0 on the existing disk.
If the disk fills up, I can add more physical volumes (disk
partitions) to vg0 and just keep going/growing. If I ditch the mp3
collection, I can reallocate its space to other partitions.
LVM is your friend. I started using it at SGI around 1995, and it's
great to have it on Linux.
Here's the HOWTO. http://tldp.org/HOWTO/LVM-HOWTO/
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug