Lv not useable after lvextend - high I/O


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Lv not useable after lvextend - high I/O
# 1  
Old 05-22-2014
Lv not useable after lvextend - high I/O

Hello,

on an Ubuntu 12.04 NAS there are some lvm's
Code:
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:
Code:
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
Code:
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:
Code:
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

Last edited by Don Cragun; 05-22-2014 at 04:32 PM.. Reason: Change ICODE to CODE tags.
This User Gave Thanks to darktux For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

LVextend problem

So, we are facing problem with extending LV... We had 2x300GB in mirror on IBM Xserver for rootvg. We failed one of the disks and replaced it with 600GB, rebuild it and did it with the other disk the same... Extended Virtual drive on RAID to 600GB. After that we have shut down the server and... (1 Reply)
Discussion started by: protein
1 Replies

2. Shell Programming and Scripting

Lookup first high value

Hello experts, I have a file looking like v1 g1 5.42 v2 g1 2.43 v1 g2 1.24 v3 g2 0.6 I want to lookup the first value in another sorted table which is greater than column 3 value, keying on column 2 on the first table. The sorted table looks like the following,. where I want to find... (3 Replies)
Discussion started by: sheetalk
3 Replies

3. Shell Programming and Scripting

Turning my lists into useable copy commands

Hello everyone! I currently work in the motion picture industry and we constantly receive lists of missing media from our sound department. I use a series of commands in TextWrangler in order to remake the lists into useable copy commands to automate the whole process but if I could make this work... (9 Replies)
Discussion started by: grep_me_please
9 Replies

4. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

5. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

6. SuSE

lvextend on ext3 resizing

Hi all IM very curious about one thing Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad: I created an pv, then vg and finaly some lv's which is fine. I mounted then and everything worked fine... (0 Replies)
Discussion started by: kl1ngac1k
0 Replies

7. Solaris

lvextend in solaris 10

Hi all, I wish to extend my logical volumn, previously i am using the command lvextend in HPUX, but hows in solaris 10 ? Thank you (1 Reply)
Discussion started by: SmartAntz
1 Replies

8. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

9. UNIX for Dummies Questions & Answers

Convert Jpeg to useable Unix Pics

I'm running a Sunblade 1500 with 2 XVR-100 video cards. I have Xinerama runing as well. Desktop is CDE. Can someone help me in converting Jpeg pictures so that I can use them as backdrops? Is there a way to make the picture come on both monitors instead of streaching it across both? Thanks. (1 Reply)
Discussion started by: HSTheDuck
1 Replies
Login or Register to Ask a Question