Package: e2fsprogs
Version: 1.42.11-2
Severity: normal
Dear Maintainer,
I tried to shrink a 64bit 17TB by roughly half. This was a quite fresh FS I
needed to move the data from another FS. I extended it once from ~8.5TB to ~17TB,
filled with data, then half of that data was removed. The FS is quick and dirty
- it is put on LVM with 3 PVs - one on a HDD, and 2 on LVs on a RAID.
First I have done that:
# resize2fs -M /dev/home_move/home_move_tmp
resize2fs 1.42.11 (09-Jul-2014)
Resizing the filesystem on /dev/home_move/home_move_tmp to 2008640341 (4k) blocks.
resize2fs: Attempt to write block to filesystem resulted in short write while trying to resize /dev/home_move/home_move_tmp
Please run 'e2fsck -fy /dev/home_move/home_move_tmp' to fix the filesystem
after the aborted resize operation.
# e2fsck -fy /dev/home_move/home_move_tmp
e2fsck 1.42.11 (09-Jul-2014)
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
Block bitmap differences: +(2008547331--2008547343) +(2008547347--2008547359) +(2008548128--2008551455) -(2008640341--2008783756)
Fix? yes
Free blocks count wrong for group #61296 (31994, counted=28640).
Fix? yes
Free blocks count wrong for group #61298 (0, counted=5291).
Fix? yes
Free blocks count wrong for group #61299 (0, counted=32768).
Fix? yes
Free blocks count wrong for group #61300 (0, counted=32768).
Fix? yes
Free blocks count wrong for group #61301 (0, counted=32768).
Fix? yes
Free blocks count wrong for group #61302 (0, counted=32768).
Fix? yes
Free blocks count wrong for group #61303 (25715, counted=32768).
Fix? yes
home_move_tmp: ***** FILE SYSTEM WAS MODIFIED *****
home_move_tmp: 570/546639872 files (0.0% non-contiguous), 2021567334/
4373115904 blocks
Then I tried to shrink it by giving the size by hand. I ended up with:
# resize2fs /dev/home_move/home_move_tmp 4269801500
resize2fs 1.42.11 (09-Jul-2014)
Resizing the filesystem on /dev/home_move/home_move_tmp to 4269801500 (4k) blocks.
resize2fs: Attempt to write block to filesystem resulted in short write while trying to resize /dev/home_move/home_move_tmp
Please run 'e2fsck -fy /dev/home_move/home_move_tmp' to fix the filesystem
after the aborted resize operation.
# e2fsck -fy /dev/home_move/home_move_tmp
e2fsck 1.42.11 (09-Jul-2014)
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
home_move_tmp: 570/533729280 files (0.0% non-contiguous), 2020753972/4269802000 blocks
Now I have run out of options.
Anyway - it might be helpful:
# dumpe2fs -h /dev/home_move/home_move_tmp
dumpe2fs 1.42.11 (09-Jul-2014)
Filesystem volume name: home_move_tmp
Last mounted on: /mnt/home_move_tmp
Filesystem UUID: 80bf7fcd-eaed-4366-a6f8-8fa4c5f01b12
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr dir_index filetype meta_bg extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 533729280
Block count: 4269802000
Reserved block count: 0
Free blocks:
2249048028
Free inodes: 533728710
First block: 0
Block size: 4096
Fragment size: 4096
Group descriptor size: 64
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 4096
Inode blocks per group: 256
RAID stride: 64
RAID stripe width: 384
First meta block group: 2037
Flex block group size: 16
Filesystem created: Wed Jul 23 09:33:04 2014
Last mount time: Sun Aug 3 15:30:51 2014
Last write time: Sun Aug 3 16:20:53 2014
Mount count: 0
Maximum mount count: -1
Last checked: Sun Aug 3 16:20:53 2014
Check interval: 0 (<none>)
Lifetime writes: 17 TB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: e2945912-8b0f-4cc1-bdb6-d67ed74c31f3
Journal backup: inode blocks
Journal features: journal_incompat_revoke journal_64bit
Journal size: 128M
Journal length: 32768
Journal sequence: 0x0001098f
Journal start: 0
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages e2fsprogs depends on:
ii e2fslibs 1.42.11-2
ii libblkid1 2.20.1-5.8
ii libc6 2.19-7
ii libcomerr2 1.42.11-2
ii libss2 1.42.11-2
ii libuuid1 2.20.1-5.8
ii util-linux 2.20.1-5.8
e2fsprogs recommends no packages.
Versions of packages e2fsprogs suggests:
pn e2fsck-static <none>
ii gpart 0.1h-11+b1
ii parted 3.1-4
-- no debconf information
--
To UNSUBSCRIBE, email to
debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listm...@lists.debian.org