Add new comment
|
Hey, this howto is great. I don't do resizing of partitions often enough to remember all the necessary steps. ;) One comment I have though: you describe above a security margin of 3%-5%. But in fact, computers are precise. So when the filesystem is n 4k-Byte-Blocks, then indeed the partiton size can be set exactly to that length. In my case, the blocks given with the ext2 resizer were 4k blocks. The blocks given in fdisk were 1k blocks. So all I had to do to get the right partition size is to multiply the block number given from resize2fs by 4 to have it fitting exactly. I ran a `fsck -f` on the filesystem afterwards without problems. To verify my claim you can resize2fs on your 3%-5% larger filesystem and then take the number of blocks returned by resize2fs, multiply them by 4 and you will see your actual partition size in fdisk.
Reply |




Recent comments
2 hours 21 min ago
7 hours 47 min ago
8 hours 49 min ago
9 hours 35 min ago
11 hours 41 min ago
11 hours 51 min ago
14 hours 22 min ago
15 hours 11 min ago
17 hours 48 min ago
18 hours 12 min ago