** Description changed:
After each system boot, iostat -m shows that the kernel has written
around 16 GB to SSD disk:
avg-cpu: %user %nice %system %iowait %steal %idle
-9.100.00 10.062.380.00 78.47
+ 9.100.00 10.062.380.00 78.47
Device:tpsMB_read/sMB_wrtn/sMB_readMB_wrtn
sda 702.3216.91 1495.65182 16108
dm-0808.3615.64 1495.65168 16108
dm-1786.8215.39 0.01165 0
dm-2 10.21 0.21 1495.64 2 16107
- It's a fresh Ubuntu 17.04 installation with rootfs installed on LUKS.
+ It's a fresh Ubuntu 17.04 installation with rootfs installed on
+ encrypted LVM (selected during the installation).
/proc/diskstats (https://www.kernel.org/doc/Documentation/ABI/testing
/procfs-diskstats) seem to be matching the output of "iostat -m".
-
Please note that dm-2 is 16 GB swap (the system has 16 GB RAM):
$ ls /dev/mapper/ -l
total 0
crw--- 1 root root 10, 236 Apr 30 01:53 control
lrwxrwxrwx 1 root root 7 Apr 30 01:53 sda3_crypt -> ../dm-0
lrwxrwxrwx 1 root root 7 Apr 30 01:53 ubuntu--vg-root -> ../dm-1
lrwxrwxrwx 1 root root 7 Apr 30 01:53 ubuntu--vg-swap_1 -> ../dm-2
-
- $ cat /proc/swaps
+ $ cat /proc/swaps
FilenameTypeSizeUsed
Priority
/dev/dm-2 partition 164945880
-1
-
- So what seems to happen, is that the OS overwrites the whole encrypted swap
partition during bootup.
+ So what seems to happen, is that the OS overwrites the whole encrypted
+ swap partition during bootup.
This is very worrying, given that it's SSD disk!
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: systemd 232-21ubuntu3
Uname: Linux 4.11.0-041100rc7-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Sun Apr 30 01:57:04 2017
ExecutablePath: /lib/systemd/systemd
InstallationDate: Installed on 2017-04-14 (15 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Lsusb:
- Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
- Bus 001 Device 003: ID 1bcf:2b95 Sunplus Innovation Technology Inc.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
+ Bus 001 Device 003: ID 1bcf:2b95 Sunplus Innovation Technology Inc.
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Precision 5520
ProcEnviron:
- TERM=linux
- PATH=(custom, no user)
+ TERM=linux
+ PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.11.0-041100rc7-generic
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.4
dmi.board.name: 0GPNW9
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.2.4:bd03/29/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0GPNW9:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.name: Precision 5520
dmi.sys.vendor: Dell Inc.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687212
Title:
~16 GB written to disk from power on till lightdb login screen?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1687212/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs