*** before mount ...
17M -rw-r--r-- 1 root root 1001M Oct 17 13:32 /root/lp1381961/sparse-file
*** copy files ...
*** sync ...
*** du before trim...
16K /root/lp1381961/mnt/lost+found
342M /root/lp1381961/mnt/.jd_home
342M /root/lp1381961/mnt
*** before trim ...
364M -rw-r--r-- 1 root root 1001M Oct 17 13:32 /root/lp1381961/sparse-file
/root/lp1381961/mnt: 656330752 bytes were trimmed
*** after trim ...
4.1M -rw-r--r-- 1 root root 1001M Oct 17 13:32 /root/lp1381961/sparse-file
*** du after trim...
16K /root/lp1381961/mnt/lost+found
342M /root/lp1381961/mnt/.jd_home
342M /root/lp1381961/mnt
*** after umount ...
4.1M -rw-r--r-- 1 root root 1001M Oct 17 13:32 /root/lp1381961/sparse-file
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-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
23615 inodes used (36.90%, out of 64000)
2 non-contiguous files (0.0%)
14 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 23605/2
95763 blocks used (37.41%, out of 256000)
0 bad blocks
1 large file
22267 regular files
1339 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
------------
23606 files
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381968
Title:
Fstrim destroys data on loopback device
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1381968/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs