glyustb / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

df errors when Dockerized #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start up an Arch Linux host with Docker
2. docker run rail44/mogile-tracker
3. See errors come from the mogile node:
"df: no file systems processed"

What is the expected output? What do you see instead?

df should not error out

What version of the product are you using? On what operating system?

Arch Linux with Device Mapper Docker storage driver - since it is the default 
driver on the kernel.

Please provide any additional information below.

I narrowed this error down to this line:
https://github.com/mogilefs/MogileFS-Server/blob/master/lib/Mogstored/ChildProce
ss/DiskUsage.pm#L58

If I remove the -l from the df command, it does not error out. In Device 
Mapper, a drive is mounted from the host for the root partition, so df -l will 
always fail. I am wondering why the drive is required to be local.

Original issue reported on code.google.com by jonojugg...@gmail.com on 21 Jun 2015 at 2:55