IT Infrastructure Administration

Search This Blog

Friday, 20 May 2016

Resizing a LVM swap volume

  • swapoff /dev/vg_foo/lv_swap
  • lvextend -L+100M /dev/vg_foo/lv_swap
  • mkswap /dev/vg_foo/lv_swap
  • swapon /dev/vg_foo/lv_swap
Posted by Sakthi at 00:26
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Sakthi
View my complete profile

Pageviews

Blog Archive

  • ▼  2016 (86)
    • ►  March (7)
    • ►  April (3)
    • ▼  May (7)
      • Increase “Open Files Limit” in Linux Box
      • Redirect script error and output messages to /dev/...
      • How to extend disk space linux guest vm without re...
      • Fdisk table update command without rebooting the s...
      • samba_selinux
      • Resizing a LVM swap volume
      • How to add Java environment variable on Linux.
    • ►  July (6)
    • ►  August (5)
    • ►  September (2)
    • ►  October (15)
    • ►  November (16)
    • ►  December (25)
  • ►  2017 (39)
    • ►  January (4)
    • ►  February (1)
    • ►  March (2)
    • ►  April (1)
    • ►  June (1)
    • ►  July (13)
    • ►  August (3)
    • ►  September (1)
    • ►  October (2)
    • ►  November (1)
    • ►  December (10)
Ethereal theme. Powered by Blogger.