Re: Run out of disk space on LVM
On 24.02.07 10:58, Justin Hartman wrote:
> I must say I'm a little confused here. In the past I just created one
> large partition for my debian install but for this one machine I setup
> seperate partitions using LVM. I may be way off the mark here but I
> thought that with lvm I could resize partitions if it ran out of
> space?
>
> My current filesystem looks like this:
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/debian-root 268M 268M 0 100% /
> tmpfs 249M 0 249M 0% /lib/init/rw
> udev 10M 64K 10M 1% /dev
> tmpfs 249M 0 249M 0% /dev/shm
> /dev/hda1 236M 24M 200M 11% /boot
> /dev/mapper/debian-home
> 27G 4.8G 21G 19% /home
> /dev/mapper/debian-tmp
> 380M 11M 350M 3% /tmp
> /dev/mapper/debian-usr
> 4.7G 3.0G 1.6G 66% /usr
> /dev/mapper/debian-var
> 2.9G 283M 2.4G 11% /var
>
> As you can see my /dev/mapper/debian-root is 100% full and I have no
> idea how to extend the size to that partition or how to remove stuff
> from that partition.
>
> My first prize solution is to move space from my /home partition to my
> /dev/mapper/debian-root partition but again - not sure how.
>
> Any ideas please?
if you can, repartition the LVM, merge / and /usr and mount /tmp on tmpfs
(you can put remaining space on swap, or /)
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.
Reply to: