Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: cant grow partition

  1. #11
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: cant grow partition

    The locks on each partition mean those partitions are mounted, look at my gparted, the sda3, sda6, and sd8 are mounted, the sda1 and sda2 are not.
    Attached Images Attached Images
    Last edited by wilee-nilee; May 24th, 2012 at 08:59 AM.





  2. #12
    Join Date
    May 2010
    Beans
    45

    Re: cant grow partitionhttp://ubuntuforums.org/images/editor/attach.gif

    OK here is the full log file return for the operation including line breaks this time ....

    Turns out - there seems to be no way of pasting this in and retaining the formatting

    So I have attached it as a doc (I feel dirty now)
    Attached Files Attached Files
    Last edited by Kubischbuntu; May 24th, 2012 at 09:32 AM. Reason: it mangled the formatting

  3. #13
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: cant grow partition

    Quote Originally Posted by Kubischbuntu View Post
    OK here is the full log file return for the operation including line breaks this time:

    Grow partition ‘/dev/sda2’ from 170.70 GiB to 305.39 GiB
    Job: Check file system on partition ‘/dev/sda2’
    Command: ntfsresize -P -i -f -v /dev/sda2
    ntfsresize v2011.4.12AR.4 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 183283913216 bytes (183284 MB) Current device size: 183283914240 bytes (183284 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 143397 MB (78.2%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 56 MB 0 Multi-Record : 176095 MB 13280 $MFTMirr : 91642 MB 1 Ordinary : 183284 MB 30598 You might resize at 143396560896 bytes or 143397 MB (freeing 39887 MB). Please make a test run using both the -n and -s options before real resizing! Check file system on partition ‘/dev/sda2’: Success Job: Set geometry of partition ‘/dev/sda2’: Start sector: 208,845, length: 640,447,290
    Set geometry of partition ‘/dev/sda2’: Start sector: 208,845, length: 640,447,290: Success
    Job: Resize file system on partition ‘/dev/sda2’ to 640,447,290 sectors
    Resizing file system from 357,976,395 to 640,447,290 sectors. Resize file system on partition ‘/dev/sda2’ to 640,447,290 sectors: Error Resize/move failed: Could not resize the file system on partition ‘/dev/sda2’ Job: Set geometry of partition ‘/dev/sda2’: Start sector: 208,845, length: 357,976,395
    Could not set geometry for partition ‘/dev/sda2’ while trying to resize/move it. Set geometry of partition ‘/dev/sda2’: Start sector: 208,845, length: 357,976,395: Error Could not restore old partition size for partition ‘/dev/sda2’. Resizing/moving partition ‘/dev/sda2’ failed. Grow partition ‘/dev/sda2’ from 170.70 GiB to 305.39 GiB: Error
    You need to have the sda2 unmounted that is all really if you want to make it bigger, no lock on that partition. Use a live cd if needed. If you have that partition in fstab as automounting you need to un-mount it.

    You can't move or change a mounted linux ext partition period.





  4. #14
    Join Date
    May 2010
    Beans
    45

    Re: cant grow partition

    Quote Originally Posted by wilee-nilee View Post
    You need to have the sda2 unmounted that is all really if you want to make it bigger, no lock on that partition. Use a live cd if needed. If you have that partition in fstab as automounting you need to un-mount it.

    You can't move or change a mounted linux ext partition period.
    I know that - the only reason it is mounted in the pic is that Firefox needs the partition when it is open - when I was trying to resize it - I closed everything that need the partition - then I first right clicked the partition - selected un-mount - the lock disappeared - then I did the re-sizing and clicked apply

  5. #15
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: cant grow partition

    Quote Originally Posted by Kubischbuntu View Post
    I know that - the only reason it is mounted in the pic is that Firefox needs the partition when it is open - when I was trying to resize it - I closed everything that need the partition - then I first right clicked the partition - selected un-mount - the lock disappeared - then I did the re-sizing and clicked apply
    Not sure then, always has worked for me probably at least 500 times.

    Use a live disc and see what happens.





  6. #16
    Join Date
    May 2010
    Beans
    45

    Re: cant grow partition

    Never mind - managed to to it now. I booted into an older version of Kubuntu and it worked there straight off the bat. That is why I have several versions of Kubuntu on this machine - there are always some things that work on one version and not on others

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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