[forgot to Cc: the bug, sorry for the duplicate] On Jo, 07 ian 21, 11:33:42, Theodore Ts'o wrote: > On Wed, Jan 06, 2021 at 02:31:46PM +0200, Andrei POPESCU wrote: > > Package: e2fsprogs > > Version: 1.44.5-1+deb10u3 > > Severity: normal > > Tags: upstream > > > > According to the man page the -p option should print out "percentage > > completion bars", though this was not done on a recent operation > > (offline shrink). > > If the resize operation doesn't require anything complex --- for > example, merely adjusting the number of blocks in the superblock, > without needing to relocate any blocks or inodes, we end up not doing > anything time-consuming enough to trigger a progress bar. Whether the operation is time-consuming probably depends a lot on the underlying hardware. I was resizing a 2TB partition connected via USB2 to a PINE A64+ device, i.e. max theoretical throughput 480 Mbit/s, shared with another drive ;)
> I suppose we could add a pointless progress bar which shows up for a > few milliseconds, but it would be a "even if you don't blink, you > still might miss it". For example: Ok, it that is probably less useful :) > Probably the best thing to do is to change the man page to say that > progress bars will be displayed for non-trivial resize operations, or > some such. Would it be possible for resize2fs to print some advance information on whether relocating data will be needed and how much of it (e.g. "will need to relocate X nr of data blocks and Y inodes") and be slightly more verbose about the specific operation it is doing (e.g. "adjusting the number of blocks in the superblock", etc.)? Thank you for reading and considering. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature

