System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

lvm doen't create even more space there

Dhananjaya Amarakoon
Regular Advisor

lvm doen't create even more space there

Hi Friends

I have an RedHat system ( Red Hat Enterprise Linux ES release 4 (Nahant) ) with a kernel 2.6.9-5.EL.

When I create a logical volume using LVM it gave some error mentioning there is no space. but there is space available. I have attached the commands output and please let me know the solution for this issue....

Dhananjaya
5 REPLIES
Matti_Kurkela
Honored Contributor

Re: lvm doen't create even more space there

The messages indicate that the creation of the new LV is successful, but activating it and actually writing to the beginning of the LV fails. This might be happening because one of your PVs has a bad block.

Please check the output of the "dmesg" command and system logs. If you see any disk errors, replace the failing disk.

Also, the kernel version 2.6.9-5.EL indicates you probably have not installed *any* of the updates released after the initial release of RHEL 4. You're ignoring hundreds of known bugs (security and otherwise), even though fixes for them are already available.

MK
MK
Dhananjaya Amarakoon
Regular Advisor

Re: lvm doen't create even more space there

Hi

I have checked the dmesg for the HDD but couldn't find any error.

dmesg | grep hdc
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hdc: Maxtor 6Y080L0, ATA DISK drive
hdc: max request size: 128KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdc: cache flushes supported

Also nothing any errors found in messages log also.

Any further suggestions for this issue ???

Dhananjaya
Ivan Ferreira
Honored Contributor

Re: lvm doen't create even more space there

Your lvs output shows that LV holding an "inactive table". Maybe a sudden reboot may fix the problem.

What do you get if you do lvchange -ay /dev/VG00/dhaj
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Dhananjaya Amarakoon
Regular Advisor

Re: lvm doen't create even more space there

Hi

It failed . :-(

[root@mail ~]# lvchange -ay /dev/VG00/dhaj
device-mapper: resume ioctl failed: Invalid argument
Unable to resume VG00-dhaj (253:7)

I will try to reboot the server and check it back...
Dhananjaya Amarakoon
Regular Advisor

Re: lvm doen't create even more space there

Hi

I rebooted the server... but still same... :-(
Any further actions ...?


Dhananjaya