I
I
IRT2014-06-18 10:40:14
Yandex.Disk
IRT, 2014-06-18 10:40:14

How to merge several container files in Yandex.Disk. Raid 0 / JBOD / LVM?

ubuntu server. There are 10 (or more) files of 10G each: 10 Yandex.Disk clients have been launched, which synchronize these files block by block to the clouds, each under their own account. What is the best and easiest way to combine these files to get a single 100 GB drive? With the ability to expand space on the fly or very quickly with new 10G containers. Initially, the usual mhddfs was used, but it became necessary to backup files larger than the size of one Yandex.Disk (10 GB). Plus mhddfs was only using array reads because it doesn't know about the 10 GB limit on the size of a single synchronized folder. Upd. Created a block device for each file:
dd if=/dev/zero of=yadisk0 bs=1G count=10

mknod -m 660 /dev/yadisk01 b 7 101
losetup /dev/yadisk01 /data/yadisk01

That is, the system has block devices /dev/yadisk01, /dev/yadisk02, etc.
Now it remains to figure out how best to combine them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2014-06-18
@opium

do not
use anything simpler and understandable for backup,
the same backblaze backups any amount of files for 5 bucks a month

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question