Thanks Shador! What you say about the five percent sort of makes sense, except that I *was* able to use that space until I wasn't any more, and also, I don't think df normally shows the discrepancy.
I didn't quite believe it about the five percent when I came across this information while researching the problem.
It's perhaps worth mentioning that the way my bittorrent client is set up, it writes the data to the data partition via a symlink in ~/
Code: Select all
root[vanilla]# ls -l | grep torrents
drwxr-xr-x 2 vanilla users 4096 Dec 11 16:31 new_torrents/
drwxr-xr-x 2 vanilla users 4096 Oct 19 18:29 old_torrents/
lrwxrwxrwx 1 vanilla users 33 Dec 8 14:21 torrents -> /data/mimosa/incomplete_torrents/
Here's some output from e2fsck:
Code: Select all
root[vanilla]# umount /data
root[vanilla]# e2fsck -fv /dev/sda3
e2fsck 1.41.14 (22-Dec-2010)
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
28364 inodes used (0.45%)
339 non-contiguous files (1.2%)
13 non-contiguous directories (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 28186/155
23473140 blocks used (94.18%)
0 bad blocks
7 large files
26071 regular files
2271 directories
0 character device files
0 block device files
0 fifos
0 links
12 symbolic links (12 fast symbolic links)
1 socket
--------
28355 files
Here's what you asked for:
Code: Select all
root[vanilla]# dumpe2fs /dev/root | egrep 'reserved|size|block count' -i
dumpe2fs 1.41.14 (22-Dec-2010)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Block count: 4160835
Reserved block count: 208041
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 443
Flex block group size: 16
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal size: 128M
Reserved GDT blocks at 2-444
Reserved GDT blocks at 32770-33212
Reserved GDT blocks at 98306-98748
Reserved GDT blocks at 163842-164284
Reserved GDT blocks at 229378-229820
Reserved GDT blocks at 294914-295356
Reserved GDT blocks at 819202-819644
Reserved GDT blocks at 884738-885180
Reserved GDT blocks at 1605634-1606076
Reserved GDT blocks at 2654210-2654652
Reserved GDT blocks at 4096002-4096444
And this is the same command but run on the data partition in question:
Code: Select all
root[vanilla]# dumpe2fs /dev/sda3 | egrep 'reserved|size|block count' -i
dumpe2fs 1.41.14 (22-Dec-2010)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Block count: 24922839
Reserved block count: 1246140
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1018
Flex block group size: 16
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal size: 128M
Reserved GDT blocks at 7-1024
Reserved GDT blocks at 32775-33792
Reserved GDT blocks at 98311-99328
Reserved GDT blocks at 163847-164864
Reserved GDT blocks at 229383-230400
Reserved GDT blocks at 294919-295936
Reserved GDT blocks at 819207-820224
Reserved GDT blocks at 884743-885760
Reserved GDT blocks at 1605639-1606656
Reserved GDT blocks at 2654215-2655232
Reserved GDT blocks at 4096007-4097024
Reserved GDT blocks at 7962631-7963648
Reserved GDT blocks at 11239431-11240448
Reserved GDT blocks at 20480007-20481024
Reserved GDT blocks at 23887879-23888896
root[vanilla]#