You are not logged in.

#1 2011-10-08 11:01:22

nyuszika7h
Member
Registered: 2011-07-31
Posts: 1

How can I resize an LVM volume?

Hi,

I've created an LVM volume based on the wiki, but later I found out that Syslinux doesn't know anything about LVM, so I need a separate /boot partition outside of LVM. Although my LVM volume (/dev/sda1) uses up all disk space, and I don't know how to resize it. I've tried gparted as suggested in #archlinux, but it says it doesn't support LVM yet. I also tried parted from gparted live CD, it also failed with some invalid label error.

I'd like to know how can I resize an LVM volume. After that, I can probably create another non-LVM partition on /dev/sda and install Syslinux based on the wiki.

Last edited by nyuszika7h (2011-10-08 13:23:00)

Offline

#2 2011-10-08 20:18:53

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: How can I resize an LVM volume?

The wiki page you linked to explains how to shrink a logical volume. I suppose LVM's manual has information on how to shrink a physical volume afterwards...

Offline

#3 2011-10-08 21:41:35

mir
Member
Registered: 2010-08-25
Posts: 59

Re: How can I resize an LVM volume?

Try pvresize.

Offline

Board footer

Powered by FluxBB