Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#53251 - [coreutils] Incorrect Root FS detected by df
Attached to Project:
Arch Linux
Opened by Jay Aurabind (aurabindo) - Saturday, 11 March 2017, 11:23 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 19 March 2017, 10:59 GMT
Opened by Jay Aurabind (aurabindo) - Saturday, 11 March 2017, 11:23 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 19 March 2017, 10:59 GMT
|
DetailsDescription:
df does not correctly detect the root file system when there is an LVM partition that has 'root' in its name. Version: df (GNU coreutils) 8.26 Details: I have the actual root on a normal partition (/dev/sda2). df shows correctly at this point. I created a new LVM logical volume out of a Volume Group, which is right next to sda2 on the disk (screenshot: https://ibb.co/f3g1Ov). The LVM name has the word 'root' in it. Before mounting the LVM, df output: Filesystem 1K-blocks Used Available Use% Mounted on dev 4050100 0 4050100 0% /dev run 4055068 1312 4053756 1% /run /dev/sda2 41153760 36400856 2639372 94% / tmpfs 4055068 0 4055068 0% /dev/shm tmpfs 4055068 0 4055068 0% /sys/fs/cgroup tmpfs 4055068 16 4055052 1% /tmp /dev/sda1 522224 45312 476912 9% /boot tmpfs 811012 40 810972 1% /run/user/1000 After mounting LVM partition: Filesystem 1K-blocks Used Available Use% Mounted on dev 4050100 0 4050100 0% /dev run 4055068 1316 4053752 1% /run /dev/mapper/roofy--vg-arch--root 41153760 36400856 2639372 94% / tmpfs 4055068 0 4055068 0% /dev/shm tmpfs 4055068 0 4055068 0% /sys/fs/cgroup tmpfs 4055068 16 4055052 1% /tmp /dev/sda1 522224 45312 476912 9% /boot tmpfs 811012 40 810972 1% /run/user/1000 Now df claims that my root is the LVM partition, which is clearly a mistake! The free space statistics is also wrong. I verified this by booting from a Live media. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Sunday, 19 March 2017, 10:59 GMT
Reason for closing: Not a bug
Sunday, 19 March 2017, 10:59 GMT
Reason for closing: Not a bug
Comment by Jay Aurabind (aurabindo) -
Sunday, 12 March 2017, 17:16 GMT
This was possibly because the both the partitions had same UUID, since I did dd if=first_partition of=second_LVM_partition. As such I dont think its a bug with coreutils.