On Sun, 2010-05-02 at 17:13 -0400, Kwan Lowe wrote:
On Sun, May 2, 2010 at 5:01 PM, Rudi Ahlers rudiahlers@gmail.com wrote:
heh, there's plenty space left on the drive:
[root@zaxen02 ~]# pvscan PV /dev/md1 VG LVM01 lvm2 [232.69 GB / 141.69 GB free] Total: 1 [232.69 GB] / in use: 1 [232.69 GB] / in no VG: 0 [0 ]
As far as I know, one needs to unmount a volume in order to resize it, but /var can't be unmounted.
With LVM you don't need to unmount /var. You can do it on a running system with the following caveats:
- You'll need some free space on /var. I.e., not extra space in the
volume group, but a little extra space in the /var partition itself. In other words, don't try to resize a completely full /var partition.
- There is a possibility that you'll need to resize some metadata. If
so, this has to be done offline via a boot disk for /var.
--- Sounds good but I really do wonder if he has a hardware raid controller that does not support resizing of Linux LVM on top of the HW Raid Volume Set?? No one asked that part.
John