Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running FC9 under VMware Fusion 3.0. I wanted to resize my /dev/sda2 partition.

In order to do that I did the following:

  1. Changed the size of the vmware file (under VMware settings)
  2. Rebooted the host to rescue mode without mounted disks
  3. fdisk - removed and added /dev/sda2
    • I had a bigger /dev/sda2
  4. lvm pvresize /dev/sda2
  5. lvm pvdisplay
    • It showed me a bigger size on /dev/VolGroup00 for /dev/sda2
  6. lvm vgchange -a y
    • device-mapper: reload ioctl failed: Invalid argument
    • 2 logical volume(s) in volume group "VolGroup00" now active

This is not true because there is no /dev/VolGroup00/LogVol00 - my whole "/" disappeared.

dmsetup table, shows:

VolGroup00-LogVol01: 0 2097152 linear 8:2 38338944  

Can anyone help me solve this?

share|improve this question

In step 5 you're running 'lvm vgchange -a y'; shouldn't it be 'lvm vgchange -ay'? (i.e. no space between a and y)

Here's hoping it's that simple...

share|improve this answer
I tried both and the result is the same. thx. – user20196 Dec 5 '09 at 11:30
anyway the option is okey while it enabled the LogVol01 logical Volume. – user20196 Dec 5 '09 at 11:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .