[ 
https://issues.apache.org/jira/browse/MESOS-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688947#comment-13688947
 ] 

Tomas Barton commented on MESOS-515:
------------------------------------

I've started mesos-slave as a root user, so it's not a problem with writing 
permissions (nevertheless /tmp should be writeable for all). I've manually 
created /tmp/mesos, restarted slave and now it works. Another log message I was 
getting only confirms what you say:

W0620 08:33:14.952710  9958 slave.cpp:2513] Unable to get disk usage: Error 
invoking statvfs on '/tmp/mesos': No such file or directory

On 4 slaves the free disk space detection failed, 1 slave worked just fine - I 
used the same version of mesos from git, so version 0.13.x. One slave of those 
4 slaves had directory /tmp/mesos and was executing tasks the others were never 
given a single task, not having tmp directory was probably the reason.
                
> Slave fails to detect free disk space
> -------------------------------------
>
>                 Key: MESOS-515
>                 URL: https://issues.apache.org/jira/browse/MESOS-515
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>    Affects Versions: 0.14.0
>         Environment: Debian 7.0 Wheezy
>            Reporter: Tomas Barton
>            Assignee: Vinod Kone
>
> W0619 17:29:31.856948  7067 slave.cpp:161] Failed to auto-detect the free 
> disk space: 'No such file or directory' ; defaulting to 10GB
> The problem might be in GPT:
> df -h
> Filesystem                                              Size  Used Avail Use% 
> Mounted on
> rootfs                                                  2.8T  4.9G  2.6T   1% 
> /
> udev                                                     10M     0   10M   0% 
> /dev
> tmpfs                                                   3.2G  236K  3.2G   1% 
> /run
> /dev/disk/by-uuid/278721c1-c134-450a-9cec-1cd732677eb7  2.8T  4.9G  2.6T   1% 
> /
> tmpfs                                                   5.0M     0  5.0M   0% 
> /run/lock
> tmpfs                                                   6.3G     0  6.3G   0% 
> /run/shm
> /dev/md0                                               1016M   40M  925M   5% 
> /boot
> fdisk -l
> Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
> 256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x00000000
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1  4294967295  2147483647+  ee  GPT
> Partition 1 does not start on physical sector boundary.
> WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk 
> doesn't support GPT. Use GNU Parted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to