1mhddfs(1) General Commands Manual mhddfs(1)
2
3
4
6 mhddfs - The driver combines a several mount points into the single
7 one.
8
10 mhddfs /dir1,/dir2[,/path/to/dir3] /path/to/mount [-o options]
11 mhddfs /dir1 dir2,dir3 /mount/point [-o options]
12 ...
13 fusermount -u /path/to/mount
14
15 fstab record example:
16 mhddfs#/path/to/dir1,/path/to/dir2 /mnt/point fuse defaults 0 0
17
18 mhddfs#/dir1,/dir2,/dir3 /mnt fuse logfile=/var/log/mhddfs.log 0 0
19
20
22 with an -o option1,option2... you can specify some additional options:
23
24
25 logfile=/path/to/file.log
26 specify a file that will contain debug information.
27
28
29 loglevel=x
30 0 - debug messages
31
32 1 - info messages
33
34 2 - standard (default) messages
35
36 mlimit=size[m|k|g]
37 a free space size threshold If a drive has the free space less than the
38 threshold specifed then another drive will be choosen while creating a
39 new file. If all the drives have free space less than the threshold
40 specified then a drive containing most free space will be choosen.
41
42 Default value is 4G, minimum value is 100M.
43
44 This option accepts suffixes:
45 [mM] - megabytes
46
47 [gG] - gigabytes
48
49 [kK] - kilobytes
50
51 For an information about the additional options see output of:
52 mhddfs -h
53
54
56 The file system allows to unite a several mount points (or directories)
57 to the single one. So a one big filesystem is simulated and this makes
58 it possible to combine a several hard drives or network file systems.
59 This system is like unionfs but it can choose a drive with the most of
60 free space, and move the data between drives transparently for the
61 applications.
62
63 While writing files they are written to a 1st hdd until the hdd has the
64 free space (see mlimit option), then they are written on a 2nd hdd,
65 then to 3rd etc.
66
67 df will show a total statistics of all filesystems like there is a big
68 one hdd.
69
70 If an overflow arises while writing to the hdd1 then a file content
71 already written will be transferred to a hdd containing enough of free
72 space for a file. The transferring is processed on-the-fly, fully
73 transparent for the application that is writing. So this behaviour sim‐
74 ulates a big file system.
75
76 WARNINGS
77 The filesystems are combined must provide a possibility to get their
78 parameters correctly (e.g. size of free space). Otherwise the writing
79 failure can occur (but data consistency will be ok anyway). For example
80 it is a bad idea to combine a several sshfs systems together.
81
82 Please read FUSE documentation for a further conception.
83
84
86 Distributed under GPLv3
87
88 Copyright (C) 2008 Dmitry E. Oboukhov <dimka@avanto.org>
89
90
91
92 February 2008 mhddfs(1)