Unexpected change in "df /"output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
An unexpected change in the output of "df /" has happened in either coreutils 8.21-1ubuntu5.3 or 8.21-1ubuntu5.2.
After doing updates on a number of servers today, the output of "df /" has changed. It now shows the full device path, including uuid of the device, instead of just the "generic" device.
For example, on an updated server with coreutils 8.21-1ubuntu5.3:
# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/disk/
On a server with coreutils 8.21-1ubuntu5.1:
# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8115168 4260144 3419748 56% /
This makes scripts or other processes (monitoring scripts to report available disk space, for example) that rely on a standard filesystem name across numerous servers break, as each server will have a different disk UUID.
Oddly, attached volumes (non-root volumes) don't exhibit the behaviour, and continue to show the "generic" device:
# df /media/ebs1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvdf 104806400 43260 104763140 1% /media/ebs1
# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Status changed to 'Confirmed' because the bug affects multiple users.