[Gluster-devel] Using RAM-disks as bricks
Jiri Hoogeveen
j.hoogeveen at bluebillywig.com
Tue May 14 11:07:35 UTC 2013
Hi,
I did not tried it. But it is possible.
Create a disk image in /dev/shm
dd if=/dev/urandom of=/dev/shm/disk.img bs=1M count=100
losetup /dev/shm/disk.img /dev/loop0
Now is /dev/loop0 your ram based disk :)
Grtz, Jiri
On May 14, 2013, at 1:00 PM, Isak Nuhić <isak.nuhic at xlab.si> wrote:
> Hi,
>
> is it possible to use ram-disks as bricks for building volumes in GlusterFS? I found an answer that it is not possible because ram-disk doesn't support extended attributes. Is there any way around it? I am trying to make a distributed volume with two ram-disk partitions as bricks but it doesn't work.
>
> Thank you all in advance.
>
> Isak
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
More information about the Gluster-devel
mailing list