[CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume?

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Sep 20 13:52:22 UTC 2011


Johnny Tan wrote:
<snip>
> Anyway, here's the real issue with LVM, at least in CentOS-6:
>
> [root at jttest ~]# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/vg_main-lv_root
>                        1548144   1548144         0 100% /
>
> [root at jttest ~]# lvextend -L 2G /dev/vg_main/lv_root
>   /etc/lvm/archive/.lvm_jttest.pp.local_5523_51321310: write error
> failed: No space left on device
>   Volume group "vg_main" metadata archive failed.
>   /etc/lvm/cache/.cache.tmp: write error failed: No space left on device
>
> So I can't extend a logical volume if there's no space in /etc?
<snip>
Um, just how do you have your system partitioned? I've never seen /etc on
its own partition; it's on the same partition as /... and if so, and
*that's* full, you've got a much bigger problem.

        mark




More information about the CentOS mailing list