Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506128 - sys-fs/e4rat-0.2.3-r1 - e4rat-realloc gives error and does not seem to do anything
Summary: sys-fs/e4rat-0.2.3-r1 - e4rat-realloc gives error and does not seem to do any...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL: https://sourceforge.net/p/e4rat/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-29 08:50 UTC by Tim Mohlmann
Modified: 2014-12-01 11:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
`strace -o strace.log e4rat-realloc '/var/lib/e4rat/startup.log'` log (strace.log,362.81 KB, text/plain)
2014-03-29 08:50 UTC, Tim Mohlmann
Details
emerge --info e4rat systemd cryptsetup lvm2 dracut output (file_506128.txt,17.70 KB, text/plain)
2014-03-29 08:53 UTC, Tim Mohlmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mohlmann 2014-03-29 08:50:01 UTC
Created attachment 373800 [details]
`strace -o strace.log e4rat-realloc '/var/lib/e4rat/startup.log'` log

Whenever issuing `e4rat-realloc /var/lib/e4rat/startup.log` I get the following messages:

Parsing file /var/lib/e4rat/startup.log
Unknown block device: no such device found in /dev

It does not seem that e4rat-realloc is really reallocating anything. There is almost no disk usage monitored and the process exits immediately.

Exit code is 0.

Systems description:
root on LVM on (luks)CRYPT
sys-apps/systemd-208-r2 as init
sys-fs/cryptsetup-1.6.2
sys-fs/lvm2-2.02.103
sys-kernel/dracut-037 -- opens luks / mounts root

ext4 mounts:
/dev/mapper/vg0-root on / type ext4 (rw,noatime,data=ordered)
/dev/mapper/vg0-home on /home type ext4 (rw,noatime,data=ordered)

lvm> pvdisplay
  --- Physical volume ---
  PV Name               /dev/mapper/luks-9e25d251-199e-43a7-9a27-ce8575292aa1
  VG Name               vg0
  PV Size               698.51 GiB / not usable 4.87 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              178818
  Free PE               0
  Allocated PE          178818
  PV UUID               uDzMj8-JgQp-Na7L-Leqc-ohwU-mEZU-dO4tFX

Steps to reproduce:
1. Set `init /usr/lib/systemd/systemd` in /etc/e4rat.conf
2. Boot system with `init=/sbin/e4rat-collect`
3. Switch to `systemctl rescue`
4. `e4rat-realloc /var/lib/e4rat/startup.log`

Actual results:
Parsing file /var/lib/e4rat/startup.log
Unknown block device: no such device found in /dev

Expected results
Parsing file /var/lib/e4rat/startup.log
~ A reasonable amount of disk utilisation ~
Comment 1 Tim Mohlmann 2014-03-29 08:53:54 UTC
Created attachment 373802 [details]
emerge --info e4rat systemd cryptsetup lvm2 dracut output
Comment 2 Pacho Ramos gentoo-dev 2014-03-29 18:38:11 UTC
I would open a bug to upstream:
https://sourceforge.net/p/e4rat/tickets/new/
Comment 3 Tim Mohlmann 2014-11-22 10:49:05 UTC
Bug is reported and accepted upstream. Sorry for the delay.
Comment 4 Tim Mohlmann 2014-11-24 20:36:54 UTC
Issue is fixed in upstream commit.
Comment 5 Pacho Ramos gentoo-dev 2014-12-01 11:38:22 UTC
+*e4rat-0.2.4_pre20141201 (01 Dec 2014)
+
+  01 Dec 2014; Pacho Ramos <pacho@gentoo.org> +e4rat-0.2.4_pre20141201.ebuild:
+  Add a new snapshot fixing multiple bugs, including bug #506128 by Tim
+  Mohlmann.
+