← Back to team overview

touch-packages team mailing list archive

[Bug 1527416] [NEW] Unexpected change in "df /"output

 

Public bug reported:

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/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx   8115168 3542936   4136956  47% /

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

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: df

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1527416

Title:
  Unexpected change in "df /"output

Status in coreutils package in Ubuntu:
  New

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/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx   8115168 3542936   4136956  47% /

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1527416/+subscriptions


Follow ups