Pregunta

I'm using mhddfs to combine multiple drives that are mounted over network using NFS.

e.g. There are three machines

Server Name  Dir    Space
Server 1     /home  10 GB Space
Server 2     /home  10 GB Space
Server 3     /home  10 GB Space

Using NFS i mounted the following:

Server 1 /home to Server 3 /home/mount1
Server 2 /home to Server 3 /home/mount3

Then using mhddfs i merge or unified mount1 and mount 2 e.g.

mhddfs /home/server/mount1,/home/server/mount2 /home/server/mount

Now i have 30 GB space altogether. but when i tried to write the file in mount directory that has more than 10 GB space it fails...

It seems mhddfs can't split large file e.g. 20 GB file.. so that it can store

Please give an idea, that how i can achive this ......

¿Fue útil?

Solución

This is an inherent limitation of mhddfs. It works by simply combining the contents of the underlying devices into a single directory, and stores new files into whichever drive has sufficient free space. Since there is no drive in your system that can actually store a 20 GB file, the resulting merged filesystem cannot store one either.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top