0

I have a partition in use, ext4 and the operating system is already run, is it possible resize that partition?

Pilot6
  • 90,100
  • 91
  • 213
  • 324

1 Answers1

1

It is not possible to resize a mounted ext4 partition.

This is possible only for btrfs but only "the right-hand border".

You can boot with Ubuntu LiveUSB and resize it this way.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • man resize2fs contradicts this. The mounted file system can be expanded with any modern kernel. – doneal24 Sep 02 '19 at 15:55
  • That's true. But it can't be shrinked. So generally "resize" only one way. btrfs can both ways. – Pilot6 Sep 02 '19 at 15:58
  • I have never seen a case where one of my customers has requested that their disk allocation been reduced. In my experience, resize is only one way - increase the disk size. – doneal24 Sep 02 '19 at 16:10
  • I shrinked filesystems very many times. E.g. if I wanted to create another partition. – Pilot6 Sep 02 '19 at 16:13