Topic: error resizing sd-card gpart
i followed instructions to resize a sd-card partition:
https://www.htpcguides.com/easy-resize- … th-ubuntu/
i wanted to resize 7.36 gb to 5.08 but i got an error "new size smaller than minimum" I tried the same 7.36 gb to 5.86 gb. Same error.
See both gparted_detail.htm logfiles.
I am new in Linux world so if anyone can help me?
thanks
Paul
====
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
Shrink /dev/sdj2 from 7.36 GiB to 5.86 GiB 00:00:22 ( ERROR )
calibrate /dev/sdj2 00:00:00 ( SUCCESS )
path: /dev/sdj2 (partition)
start: 94208
end: 15523839
size: 15429632 (7.36 GiB)
check file system on /dev/sdj2 for errors and (if possible) fix them 00:00:21 ( SUCCESS )
e2fsck -f -y -v -C 0 /dev/sdj2 00:00:21 ( SUCCESS )
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
130896 inodes used (27.57%, out of 474832)
41 non-contiguous files (0.0%)
137 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 113496/13
1149272 blocks used (59.59%, out of 1928704)
0 bad blocks
1 large file
102247 regular files
10938 directories
55 character device files
25 block device files
0 fifos
1423 links
17619 symbolic links (17296 fast symbolic links)
3 sockets
------------
132310 files
e2fsck 1.42.13 (17-May-2015)
shrink file system 00:00:01 ( ERROR )
resize2fs -p /dev/sdj2 6144000K 00:00:01 ( ERROR )
resize2fs 1.42.13 (17-May-2015)
resize2fs: New size smaller than minimum (1626614)
=====
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
Shrink /dev/sdj2 from 7.36 GiB to 5.08 GiB 00:00:19 ( ERROR )
calibrate /dev/sdj2 00:00:00 ( SUCCESS )
path: /dev/sdj2 (partition)
start: 94208
end: 15523839
size: 15429632 (7.36 GiB)
check file system on /dev/sdj2 for errors and (if possible) fix them 00:00:19 ( SUCCESS )
e2fsck -f -y -v -C 0 /dev/sdj2 00:00:19 ( SUCCESS )
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
130896 inodes used (27.57%, out of 474832)
41 non-contiguous files (0.0%)
137 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 113496/13
1149272 blocks used (59.59%, out of 1928704)
0 bad blocks
1 large file
102247 regular files
10938 directories
55 character device files
25 block device files
0 fifos
1423 links
17619 symbolic links (17296 fast symbolic links)
3 sockets
------------
132310 files
e2fsck 1.42.13 (17-May-2015)
shrink file system 00:00:00 ( ERROR )
resize2fs -p /dev/sdj2 5324800K 00:00:00 ( ERROR )
resize2fs 1.42.13 (17-May-2015)
resize2fs: New size smaller than minimum (1626614)