Guest User

Untitled

a guest
Feb 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. I extended the LV by 9G, which worked, unlike with -L +10G:
  2.  
  3. vega:$ sudo lvresize -L +9G vega/data
  4. Extending logical volume data to 89.00 GiB
  5. Logical volume data successfully resized
  6.  
  7. I then increased the size of the FS:
  8.  
  9. vega:$ sudo xfs_growfs /dev/mapper/vega-data
  10. meta-data=/dev/mapper/vega-data isize=256 agcount=6, agsize=3932160 blks
  11. = sectsz=512 attr=2
  12. data = bsize=4096 blocks=20971520, imaxpct=25
  13. = sunit=0 swidth=0 blks
  14. naming =version 2 bsize=4096 ascii-ci=0
  15. log =internal bsize=4096 blocks=7680, version=2
  16. = sectsz=512 sunit=0 blks, lazy-count=1
  17. realtime =none extsz=4096 blocks=0, rtextents=0
  18. data blocks changed from 20971520 to 23330816
  19.  
  20. So far, so good. Now:
  21.  
  22. vega:$ sudo lvresize -L +1G vega/data
  23. Extending logical volume data to 90.00 GiB
  24. device-mapper: resume ioctl failed: Invalid argument
  25. Unable to resume vega-data (254:4)
  26. Problem reactivating data
  27.  
  28. +1G failed, so I then issued -L -1G:
  29.  
  30. vega:$ sudo lvresize -L -1G vega/data
  31.  
  32. lvresize froze at this command and went into uninterruptible sleep (status D). This is what happened before. Any further lvm commands such as lvdisplay, lvscan, vgdisplay also freeze in status D (verified with top). The only solution I can find is a system restart.
Add Comment
Please, Sign In to add comment