2009-01-18 20:18:18

by Prateek Donni

[permalink] [raw]
Subject: LVM and root.

Changing size of root partition in LVM . Is it possible .. ?


2009-01-20 09:29:25

by Cristi Magherusan

[permalink] [raw]
Subject: Re: LVM and root.

On Mon, 2009-01-19 at 01:48 +0530, Prateek Donni wrote:
> Changing size of root partition in LVM . Is it possible .. ?
The LVM volume could be resized, but for resizing the partition you may
need to use a live CD, since IIRC you cannot resize a mounted
filesystem.

--
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro +40264 401247

2009-01-20 19:48:00

by Bryan Donlan

[permalink] [raw]
Subject: Re: LVM and root.

On Tue, Jan 20, 2009 at 3:57 AM, Cristi Magherusan
<[email protected]> wrote:
> On Mon, 2009-01-19 at 01:48 +0530, Prateek Donni wrote:
>> Changing size of root partition in LVM . Is it possible .. ?
> The LVM volume could be resized, but for resizing the partition you may
> need to use a live CD, since IIRC you cannot resize a mounted
> filesystem.

Many filesystems actually do support online resize - ext3, reiserfs,
and xfs I know support it, as well as others, probably. Of course,
running fsck -> resize -> fsck from a livecd is probably the /safest/
route...