what's the best practice when set work_dir bakced by multiple disks

2015-10-26 Thread Du, Fan
Hi Mesos experts When I setup my Mesos cluster, one question comes into my mind. Suppose my os is installed on /dev/sda, but I have two multiple disk, e.g. /dev/sdb ~ /dev/sdc, each is 800G sdd. So what's the best way to setup work_dir to use all the 1600G disks in practices when we play with Me

Re: what's the best practice when set work_dir bakced by multiple disks

2015-10-26 Thread haosdent
Do you use LVM? LVM could combine multi disks to a volume. This is not related to Mesos. On Mon, Oct 26, 2015 at 4:36 PM, Du, Fan wrote: > Hi Mesos experts > > When I setup my Mesos cluster, one question comes into my mind. > Suppose my os is installed on /dev/sda, but I have two multiple disk,

Re: what's the best practice when set work_dir bakced by multiple disks

2015-10-26 Thread haosdent
Or suppose you mount /dev/sdb in /mnt/sdb, you could mount /dev/sdc to /mnt/sdb/slaves. And use /mnt/sdb as your work_dir. But it still waste disk resource because slaves folder could not over 800G. I suggest use LVM. On Mon, Oct 26, 2015 at 4:39 PM, haosdent wrote: > Do you use LVM? LVM could c

Re: what's the best practice when set work_dir bakced by multiple disks

2015-10-27 Thread Du, Fan
I thought about device mapper and RAID, it seems RAID looks a good way to try first. On 2015/10/26 16:46, haosdent wrote: Or suppose you mount /dev/sdb in /mnt/sdb, you could mount /dev/sdc to /mnt/sdb/slaves. And use /mnt/sdb as your work_dir. But it still waste disk resource because slaves fo