LVM: Shrinking a physical partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 1/17/06, Michael Ubell <ubell@xxxxxxxxxxxxx> wrote:
> When I installed CentOS 4 it created a LVM partition
> occupying the bulk of my disk.  I would like to trim it
> back so I can put another partition for another (thrid)
> operating system.
>
> I found some directions that I thought would let me do
> this.  I used resize2fs to resize the filesystem and lvreduce
> to resize the logical volume.
>
> My problem is that I cannot reduce the size of the partition.
> When I do, I get errors when I try to boot:
>

Just for the record, are you up to 4.2 level? AFAIK, lvm(2) support
was quite broken prior to that. Waiting for others to comment.

--
Collins Richey
      Debugging is twice as hard as writing the code ... If you write
      the code as cleverly as possible, you are, by definition, not
      smart enough to debug it.
             -Brian Kernighan

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux