+ Post New Thread
Results 1 to 8 of 8
*nix Thread, Cloned disk thinks it's smaller than it is? in Technical; I just clonezilla'd my fog servers system over on to a larger HD. Linux still sees it as a smaller ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    Cloned disk thinks it's smaller than it is?

    I just clonezilla'd my fog servers system over on to a larger HD.
    Linux still sees it as a smaller drive.
    When I type
    Code:
    df -h
    I get this output...
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             226G  143G   72G  67% /
    varrun                474M  216K  474M   1% /var/run
    varlock               474M     0  474M   0% /var/lock
    udev                  474M   40K  474M   1% /dev
    devshm                474M     0  474M   0% /dev/shm
    This is showing 226G as the HD size when in fact it is now 500G.

    I have gParted the drive so that the main partition is about 490G?

    Can anyone suggest what I have missed.
    Last edited by reggiep; 20th July 2011 at 05:10 PM.

  2. #2

    Join Date
    Sep 2010
    Posts
    669
    Thank Post
    28
    Thanked 77 Times in 72 Posts
    Rep Power
    22
    is gparted showing any unallocated space on the new drive?
    id suggest it hasnt mounted/expanded /SDA1

  3. Thanks to SHimmer45 from:

    reggiep (20th July 2011)

  4. #3


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,706
    Thank Post
    354
    Thanked 807 Times in 722 Posts
    Rep Power
    348
    If you've extended the partition you'll need to extend the filesystem to match, maybe : resize2fs /dev/sda1

  5. #4
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by SHimmer45 View Post
    is gparted showing any unallocated space on the new drive?
    id suggest it hasnt mounted/expanded /SDA1
    I moved the swap file to the end with gparted and expanded my /dev/sda1 to fill the gap.
    Any ideas how I can make it mount/expand the drive/partition?

  6. #5
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by kmount View Post
    If you've extended the partition you'll need to extend the filesystem to match, maybe : resize2fs /dev/sda1
    Funnily enough I have just run that after a google search.

    It's still running, I ran resize2fs -p /dev/sda1 just so I can see what it's doing.

    cheers

  7. #6
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Just finished and that has now worked.

    cheers chaps

  8. #7


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,706
    Thank Post
    354
    Thanked 807 Times in 722 Posts
    Rep Power
    348
    No worries, you're welcome.

  9. #8

    Join Date
    Sep 2010
    Posts
    669
    Thank Post
    28
    Thanked 77 Times in 72 Posts
    Rep Power
    22
    might be worth checking if there is an option in clonezilla to make full use of avaliable space (norton ghost for example allows this) so you wont need to manually resize partitions after imaging



SHARE:
+ Post New Thread

Similar Threads

  1. Server thinks it is a DC but it isn't
    By localzuk in forum Windows Server 2000/2003
    Replies: 17
    Last Post: 24th May 2011, 10:16 AM
  2. Is edugeek as large as it thinks it is?
    By RingOfFlame in forum General Chat
    Replies: 67
    Last Post: 30th January 2010, 10:23 AM
  3. Here it is. The new EduGeek logo.
    By Dos_Box in forum General EduGeek News/Announcements
    Replies: 103
    Last Post: 21st September 2007, 08:32 AM
  4. do you know what it is yet??
    By russdev in forum General Chat
    Replies: 3
    Last Post: 4th October 2006, 04:42 PM
  5. The way it is.
    By Dos_Box in forum General Chat
    Replies: 7
    Last Post: 30th September 2005, 03:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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