Menu

#3 e4rat-0.2.3-r1 - e4rat-realloc gives error and does not seem to do anything

0.2
closed
conso
None
2014-12-02
2014-11-20
muhlemmer
No

This regards a gentoo compiled version.

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 ~

2 Attachments

Discussion

  • conso

    conso - 2014-11-21

    This is a problem of mapping major minor device node to the path name of the device in /dev. I hope to fix this soon ;)

     
  • conso

    conso - 2014-11-21
    • status: open --> accepted
     
  • conso

    conso - 2014-11-24
    • assigned_to: conso
     
  • conso

    conso - 2014-11-24

    hi
    commit f830d68cee709468602cd0468300b65de27be79a

    is this working for you?

     
  • conso

    conso - 2014-11-24
    • status: accepted --> pending
     
  • muhlemmer

    muhlemmer - 2014-11-24

    Works for me. Issue is fixed in above commit.

    Thanks!

     
  • conso

    conso - 2014-12-02
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB