Eu fui forçado a iniciar um USB ao vivo para corrigir outra coisa e pensei em tentar resize2fs
primeiro.
eu corri:
sudo umount /dev/sda
Então:
$ sudo resize2fs /dev/sda
resize2fs 1.42.13 (17-May-2015)
Please run 'e2fsck -f /dev/sda' first.
Então eu corri:
$ sudo e2fsck -f /dev/sda
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity /lost+found not found.
Create<y>? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information
data: ***** FILE SYSTEM WAS MODIFIED *****
data: 177679/244121600 files (10.1% non-contiguous), 1776221118/1952970240 blocks
E finalmente corri:
$ sudo resize2fs /dev/sda
resize2fs 1.42.13 (17-May-2015)
Resizing the filesystem on /dev/sda to 2929456640 (4k) blocks.
The filesystem on /dev/sda is now 2929456640 (4k) blocks long.
E agora df -h
relatórios:
/dev/sda 11T 6.6T 3.8T 64% /media/ubuntu/data