Find the answer to your Linux question:
Results 1 to 5 of 5
Hi! I do this command: sudo /usr/sbin/lvextend -L +2G /dev/VolGroup00/LogVol00 and my Logical volume (LogVol00) are successfully resized but i would like to make a rollback because i don't like ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    48

    rollback to command "lvextend"

    Hi!

    I do this command:

    sudo /usr/sbin/lvextend -L +2G /dev/VolGroup00/LogVol00

    and my Logical volume (LogVol00) are successfully resized but i would like to make a rollback because i don't like to extendend this Volum Group. Is it possible??
    (i don't make this command: sudo resize2fs /dev/VolGroup00/LogVol00)

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Check out lvreduce.

    info lvreduce

    or

    info lvresize

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    48
    this is the correct command for my rollback:

    sudo /usr/sbin/lvreduce -L -2G /dev/VolGroup00/LogVol00

    ???

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Looks right but honestly I don't know I got the commands by looking up the lvextend info and checking the reference to other related function at the bottom of the file. I myself have never actually done it.

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    48
    ok thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...