It went something like this:

cat /proc/mdstat
sudo mdadm --stop /dev/md1
mdadm --zero-superblock /dev/sdh
mdadm --zero-superblock /dev/sdj
mdadm --zero-superblock /dev/sdd
mdadm --zero-superblock /dev/sde
mdadm --zero-superblock /dev/sdc
sudo mdadm --remove /dev/md1
umount /dev/md0
fsck.ext3 /dev/md0

mdadm --add /dev/md0 /dev/sdh
mdadm --add /dev/md0 /dev/sdk
mdadm --add /dev/md0 /dev/sdj
mdadm --add /dev/md0 /dev/sdd
mdadm --add /dev/md0 /dev/sdde
mdadm --add /dev/md0 /dev/sde
mdadm --add /dev/md0 /dev/sdc
mdadm --add missing

I then tried some grow commands, before i noticed that the given version
of mdadm does not support grow, so i did a:


wget 
http://ftp.at.debian.org/debian/pool/main/m/mdadm/mdadm_3.1.4-1+8efb9d1_amd64.deb
dpkg -i mdadm_3.1.4-1+8efb9d1_amd64.deb


mdadm --grow /dev/md0 --level=6 --raid-devices=11

Once completed i did a:
resize2fs /dev/md0 12570G

After i re-mounted the device, the issue was gone.

I also noticed that munin reported negative disk usage, so it appears to
be a issue with mdadm/the device, and *not* df.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/717313

Title:
  df reports negative disk usage

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to