How long should resize2fs take?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hullo!

First mail, sorry if this is the wrong place for this kind of
question. I realise this is a "piece of string" type question.

tl;dr version: I have a resizefs shrinking an ext4 filesystem from
~4TB to ~3TB and it's been running for ~2 days. Is this normal?

Strace shows lots of:-

lseek(3, 42978250752, SEEK_SET)         = 42978250752
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(3, 4675072176128, SEEK_SET)       = 4675072176128
read(3, "\355A\350\3\0\20\0\0009\271\371M\206\177\0N~\206\33M\0\0\0\0\350\3\2\0\10\0\0\0"...,
4096) = 4096
lseek(3, 42978254848, SEEK_SET)         = 42978254848
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(3, 42978238464, SEEK_SET)         = 42978238464
write(3, "\355A\350\3\0\20\0\0009\271\371M\364Y\4N\200\206\33M\0\0\0\0\350\3\2\0\10\0\0\0"...,
4096) = 4096
lseek(3, 4675072180224, SEEK_SET)       = 4675072180224
read(3, "\355A\350\3\0\20\0\0009\271\371M\206\177\0N~\206\33M\0\0\0\0\350\3\3\0\10\0\0\0"...,
4096) = 4096
lseek(3, 4675072163840, SEEK_SET)       = 4675072163840
write(3, "\355A\350\3\0\20\0\0009\271\371M\206\177\0N\200\206\33M\0\0\0\0\350\3\2\0\10\0\0\0"...,
4096) = 4096

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
32719 root      20   0  785m 768m  792 R   98 20.0   2443:18 resize2fs

$ sudo resize2fs /dev/mapper/data-data 3000G
resize2fs 1.41.11 (14-Mar-2010)
Resizing the filesystem on /dev/mapper/data-data to 786432000 (4k) blocks.

Time passes. :D

It's an LVM comprising 4x2TB disks in RAID10 and 4x500GB in RAID10.

$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid10] [raid6]
[raid5] [raid4]
md1 : active raid10 sdi1[0] sdg1[1] sdf1[3] sdh1[2]
      976767872 blocks 64K chunks 2 near-copies [4/4] [UUUU]

md0 : active raid10 sda1[2] sdc1[3] sdb1[1] sdd1[0]
      3907023872 blocks 64K chunks 2 near-copies [4/4] [UUUU]

Disks are 7200RPM SATA disks.

It's ~2TB full of data which is mostly rsnapshots of lots of remote
hosts, so lots of little files.

Cheers,
Al.

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users


[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux