Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Originally Posted by Being Using: resize2fs ext4 104857600 gave me" "No such file or directory while opening ext4" am i using the resize2fs command incorrectly to get that error? how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,454

    Quote Originally Posted by Being View Post
    Using: resize2fs ext4 104857600

    gave me" "No such file or directory while opening ext4"

    am i using the resize2fs command incorrectly to get that error?

    how about using gparted?
    No, you do something like thins: resize2fs /dev/sda6

    And that would be after you increased the size of the partition with something like fdisk.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  2. #12
    Just Joined!
    Join Date
    Dec 2012
    Posts
    24
    gosh, sorry im a total newbie

    first i need to expand ext with fdisk, i see.

    does that require un-mounting or can it be done on the fly?

  3. #13
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,454
    Either. Changing (increasing) the partition size won't affect the file system. Then you can resize (increase) it. The resize2fs tool is good about that, for increasing the size. I do it frequently when I install a new Amazon cloud server that has a small default root file size that I need to increase. I allocate more disc space, increase the partition size, and after rebooting, simply run resize2fs. In any case, read the man page - man resize2fs - for more information.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #14
    Just Joined!
    Join Date
    Dec 2012
    Posts
    24
    sorry, i dont understand
    this is a virtual machine
    i added disk space in VM, but the linux system doesnt see the added space..

    I need help in knowing:
    what do i do first?
    what do i do next?
    etc.

    thanks

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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