Resized Primary Partition, Filesystem Size Not Updating

Chris J. Vargo

I moved and resized by /boot primary partition using gparted.

 sudo parted /dev/sda print

 Number  Start   End    Size    Type      File system  Flags
  1      1049kB  256MB  255MB   primary   ext2
  2      257MB   128GB  128GB   extended
  5      257MB   128GB  128GB   logical                lvm
  3      253GB   256GB  3146MB  primary   ext2         boot

Yet, the size of the filesystem remains the same:

 df

 Filesystem      1K-blocks      Used  Available Use% Mounted on
 /dev/sda1          240972    235317          0 100% /boot
 ...

I've tried to extend the filesystem:

sudo resize2fs /dev/sda1

But it returns:

The filesystem is already 248832 (1k) blocks long.  Nothing to do!
tu-Reinstate Monica-dor duh

I think you may be confusing your partition mounted at /boot with your partition flagged as boot.

When you call

sudo resize2fs /dev/sda1

You are attempting to resize partition 1 (/dev/sda1)

According to your parted output, this is partition 1:

 1      1049kB  256MB  255MB   primary   ext2

which correctly outputs that it's already ~255MB long:

The filesystem is already 248832 (1k) blocks long.  Nothing to do!

I suspect that you meant partition 3, the partition flagged as boot:

 3      253GB   256GB  3146MB  primary   ext2         boot

Can you please try resizing that filesystem by doing this?

sudo resize2fs /dev/sda3

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Resized partition with gparted size with df -h

분류에서Dev

How to increase size of filesystem to match partition

분류에서Dev

Set primary swap partition

분류에서Dev

Partition size inconsistent

분류에서Dev

Get only the size of a mounted filesystem

분류에서Dev

Check that filesystem and partition table are in a good state?

분류에서Dev

How to merge free space with filesystem partition?

분류에서Dev

Resize MDADM/Software RAID underlying partition and filesystem

분류에서Dev

Which filesystem to use for a partition shared with a parallel Windows installation?

분류에서Dev

Is it possible to merge the partition type of EFI System into Linux Filesystem?

분류에서Dev

Resize a dd dump without changing partition size

분류에서Dev

Possible to specify boot partition size during the installation?

분류에서Dev

How to find the size of an unmounted partition on Linux?

분류에서Dev

Is there a maximum swap partition size for 12.04, 64 bit

분류에서Dev

Create encrypted partition on existing drive with one primary partition while keeping data

분류에서Dev

Reasonable size for "filesystem reserved blocks" for non-OS disks?

분류에서Dev

How to free up space on filesystem in /dev/sda2 root partition?

분류에서Dev

Ubuntu preseed partman gets partition type and size wrong

분류에서Dev

Is it possible to change the sector size of a partition for zfs raidz pool in linux?

분류에서Dev

What is the maximum partition size for 4Kn disks if MBR is used?

분류에서Dev

How to increase the size of Linux Partition (EXT4) without loosing data when the swap partition is exactly after it?

분류에서Dev

LiveCD에서 filesystem.size의 목적은 무엇입니까?

분류에서Dev

How do I extend mint root partition using a previous un allocated size?

분류에서Dev

Move content if textarea is resized

분류에서Dev

왜 std :: filesystem :: file_size가 구현에 남아있는 디렉토리에 있습니까?

분류에서Dev

How to set quality of resized jpg

분류에서Dev

Center panel when window resized

분류에서Dev

Extending Filesystem in Linux

분류에서Dev

Modifying a BTRFS filesystem UUID

Related 관련 기사

  1. 1

    Resized partition with gparted size with df -h

  2. 2

    How to increase size of filesystem to match partition

  3. 3

    Set primary swap partition

  4. 4

    Partition size inconsistent

  5. 5

    Get only the size of a mounted filesystem

  6. 6

    Check that filesystem and partition table are in a good state?

  7. 7

    How to merge free space with filesystem partition?

  8. 8

    Resize MDADM/Software RAID underlying partition and filesystem

  9. 9

    Which filesystem to use for a partition shared with a parallel Windows installation?

  10. 10

    Is it possible to merge the partition type of EFI System into Linux Filesystem?

  11. 11

    Resize a dd dump without changing partition size

  12. 12

    Possible to specify boot partition size during the installation?

  13. 13

    How to find the size of an unmounted partition on Linux?

  14. 14

    Is there a maximum swap partition size for 12.04, 64 bit

  15. 15

    Create encrypted partition on existing drive with one primary partition while keeping data

  16. 16

    Reasonable size for "filesystem reserved blocks" for non-OS disks?

  17. 17

    How to free up space on filesystem in /dev/sda2 root partition?

  18. 18

    Ubuntu preseed partman gets partition type and size wrong

  19. 19

    Is it possible to change the sector size of a partition for zfs raidz pool in linux?

  20. 20

    What is the maximum partition size for 4Kn disks if MBR is used?

  21. 21

    How to increase the size of Linux Partition (EXT4) without loosing data when the swap partition is exactly after it?

  22. 22

    LiveCD에서 filesystem.size의 목적은 무엇입니까?

  23. 23

    How do I extend mint root partition using a previous un allocated size?

  24. 24

    Move content if textarea is resized

  25. 25

    왜 std :: filesystem :: file_size가 구현에 남아있는 디렉토리에 있습니까?

  26. 26

    How to set quality of resized jpg

  27. 27

    Center panel when window resized

  28. 28

    Extending Filesystem in Linux

  29. 29

    Modifying a BTRFS filesystem UUID

뜨겁다태그

보관