Hello,
on an Ubuntu 12.04 NAS there are some lvm's
VG #PV #LV #SN Attr VSize VFree
vg01 1 2 0 wz--n- 930,45g 411,83g
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv-iscsi vg01 -wi-a- 500,00g
lv-root vg01 -wi-ao 18,62g
After i extend the lvm (lv-iscsi vg01), the I/O goes to 99% and when i enter lvs on cmd the command hangs. The only solution is to reboot the hole machine. This I/O is not real, it is a failure display from the system. I've extended with these commands:
lvextend -L 900g /dev/mapper/vg01-lv--iscsi
lvextend -L 900G /dev/mapper/vg01-lv--iscsi
lvextend -L +400g /dev/mapper/vg01-lv--iscsi
lvextend -L +400G /dev/mapper/vg01-lv--iscsi
Every test the same. I'am lucky because after every test i can go back with
lvreduce -L 500g /dev/mapper/vg01-lv--iscsi
What can be the problem here? I've ugradet the kernel to newest 3.13... and the same. The system is not old, about one month. I've never had some problem like this before.
The message when i extend the lv is:
Extending logical volume lv-iscsi to 900,00 GiB
device-mapper: resume ioctl failed: Das Argument ist ung�ltig
Unable to resume vg01-lv--iscsi (252:1)
Problem reactivating lv-iscsi
After, when i reboot the machine, lv have the 900GB, but it is not mountable. ISCSI is not anymore on the machine. It was, but it has never worked.
Thanks for help, best regards
---------- Post updated at 09:32 PM ---------- Previous update was at 09:23 PM ----------
Hi,
sorry
i found the solution, some minutes after posting, i don't know, but 900G is to much. I found in the logs:
device-mapper: table: 252:1: md1 too small for target: start=39061504, len=1887436800, dev_size=185520704
i'm confusing
Best regards