Guide: How To Use Rclone To Mount Cloud Drives And Play Files


DZMM

Recommended Posts

On 4/27/2021 at 5:23 AM, INTEL said:

Could I just create a folder inside mergerfs Downloads/completed, Downloads/incomplete for my DelugeVPN and download torrents directly in there?

 

You will point Deluge to those directories. I would recommend using the "Labels" plugin in Deluge so it will separate your content as it downloads and puts it into the correct folder. 

 

On 4/27/2021 at 5:23 AM, INTEL said:

Not shure for what MountFolders are used for?

 

That is just a list of folders that the mount will create when the script is run. It will create the directories that your media awaiting upload (LocalFilesShare) will go and the base file structure for your mergerfs. You can add or remove folders from there as needed.

Link to comment

I'm using the mount script and edited everything to fit my file directories and mount but when I reboot i get "unable to find config using default rclone.conf"

 

I have this in the mount script 

Command2="--config=/boot/config/plugins/rclone/.rclone.conf"
 

Edited by sheldz8
Link to comment

Hi Team

 

Slight nooby here, soz.  I did search LOTS and there is one other mention of this issue but not clear cause or fix.

When I run the upload script I get the following:
image.png.759a289f7059b280c22bba273ff3ca9c.png

 

I tried stopping all dockers that are using the mount and trying again but still not much difference.

It successfully ran once and uploaded one file but not been able to get it to run since :(
 

2021/05/01 00:05:12 DEBUG : Google drive root '': Waiting for checks to finish
2021/05/01 00:05:12 DEBUG : Google drive root '': Waiting for transfers to finish
/usr/sbin/rclone: line 3: 7334 Killed rcloneorig --config $config "$@"
01.05.2021 00:05:33 INFO: Not utilising service accounts.
01.05.2021 00:05:33 INFO: Script complete


Any help would be amazing :D

Link to comment

so I did a bit more digging, and I found this:
image.png.662a220e8b6106f42c8ca804162d9f75.png

#!/bin/bash
config=/boot/config/plugins/rclone/.rclone.conf
        rcloneorig --config $config "$@";

 

This file was in /usr/sbin/rclone
I also see a file called /usr/sbin/rcloneorig
No idea what that is.

 

I can not seem to find any logs for rclone itself so I am at a loss.

Link to comment

so ive been reading for ages but theres so many pages here, my issue is that when the array is stopped the mergerfs mount is not unmounted casuing unraid to keep retrying indefinately to unmount shares, i have to manually kill the PIDs for rclone mounts to get the array to stop. is there a fix for this?

 

ps -ef | grep /mnt/user to find the PIDs then kill PID to kill it

 

i tried adding fusermount -uz /mnt/user to the cleanup script and run at array stop and that kills all the mounts. but im not sure thats the best way to do it (so this didnt actually work on a reboot)

 

i found that if you set it to :

 

umount -l /mnt/user/mount_mergerfs/gdrive_vfs  (my mount)

then 

umount -l /mnt/user/mount_rclone/gdrive_vfs

in the cleanup script it finishes without error. seems a bit convoluted to get it working for a clean shutdown.

Edited by twisteddemon
found hack fix
  • Like 1
  • Thanks 3
Link to comment

What's the best way to unmount this prior to stopping the array so it doesn't get stuck hanging forever?

 

And is there any way to add unmounting it to the default "Stop Array" script? (Failing that is there a catch-all script that deals with all the common unmounting issues?)

  • Like 1
Link to comment
On 5/1/2021 at 9:02 PM, Phatty said:

so I did a bit more digging, and I found this:
image.png.662a220e8b6106f42c8ca804162d9f75.png


#!/bin/bash
config=/boot/config/plugins/rclone/.rclone.conf
        rcloneorig --config $config "$@";

 

This file was in /usr/sbin/rclone
I also see a file called /usr/sbin/rcloneorig
No idea what that is.

 

I can not seem to find any logs for rclone itself so I am at a loss.

Ok guys it seem to be working much better, I shall post what I found to be the issue to help others.

Fix 1: may not have been causing the issue, but I decided to keep NZBget downloading data on a local share that is not synced and then let sonarr and redarr move to the mergfs folder after.

Fix 2: I stopped using the MountFolders option as it seemed to randomly create folders like it made a folder with the same name as my mount, it also made folders "{}" and it made a folder called "{unraid" and subfolders with "," as the name. 

Fix 3: delete all the crappy folders made from the MountFolders and just make the folders you want directly in the Google drive UI.
I actually went through and deleted each folder and each subfolder as I do not actually know the command to delete a folder and all its sub folders.

Fix 4 (which I think was the actual cause):
BWLimit - I set this to off but I should have put in there 0 once doing that seems to all have started magically working (I had done all of the above first as well).

 

I hope this helps someone else with a similar issue.

Link to comment
  • 2 weeks later...

I'm having problems with the mergerfs mount. it's extremely slow to browse folders in unraid and windows. when i go into rclone mount directly it's super fast but mergerfs take a long time to load folders and files.

 

edit: i just tested it with empty folders and it still takes a long time. i edited the mount script and added moveonenospc=true,minfreespace= and changed cache.files to off, still no difference.

Edited by ArGaMer
added extra information
Link to comment

Hi folks,

 

I'm still having trouble connecting to OneDrive. I kinda walked away from setting this up after I got the token to work a few months ago. I believe it worked for a while but now the token no longer works. Does this token expire every so often? And if so, is there a way to auto refresh it? This kind of defeats the purpose of syncing if you have to get a new token after a certain amount of time.

 

I'm reaching out to the forum because I don't have a second monitor right now to plug into the UNRAID server to go through the onedrive set up process again.

Link to comment
On 5/2/2021 at 8:03 AM, cinereus said:

What's the best way to unmount this prior to stopping the array so it doesn't get stuck hanging forever?

 

And is there any way to add unmounting it to the default "Stop Array" script? (Failing that is there a catch-all script that deals with all the common unmounting issues?)

 

@cinereus I figured out a way to get my Array to shutdown with out having to manually run unmounts. After using 

 

lsof | grep /mnt/user/

 

To find out which mounts were hanging. 

 

 

I created a new User script that runs "At stopping of Array" using the mount points I found above.  You may have to track down what mounts are giving you an issue. 

 

 

#!/bin/bash

#######################
### unmount Script ####
#######################
#### Version 0.0.1 ####
#######################

echo "$(date "+%d.%m.%Y %T") INFO: *** Starting rclone_unmount script ***"

umount -l /mnt/user/mount_mergerfs/gdrive_vfs
umount -l /mnt/user/mount_mergerfs/**RcloneRemoteName**
umount -l /mnt/user/mount_rclone/gdrive_vfs
umount -l /mnt/user/mount_rclone/**RcloneRemoteName**
umount -l /mnt/user0/mount_rclone/cache/**RcloneRemoteName**
umount -l /mnt/user/local/**RcloneRemoteName**


echo "$(date "+%d.%m.%Y %T") INFO: *** Ending rclone_unmount script ***"


exit

 

Maybe this will help you, if you haven't found a solution.  I also don't know if this is "safe" so if anyone who knows more than me could chime in, I would be grateful. 

  • Like 1
Link to comment
On 5/22/2021 at 2:30 AM, southloven said:

 

@cinereus I figured out a way to get my Array to shutdown with out having to manually run unmounts. After using 

 


lsof | grep /mnt/user/

 

To find out which mounts were hanging. 

 

 

I created a new User script that runs "At stopping of Array" using the mount points I found above.  You may have to track down what mounts are giving you an issue. 

 

 


#!/bin/bash

#######################
### unmount Script ####
#######################
#### Version 0.0.1 ####
#######################

echo "$(date "+%d.%m.%Y %T") INFO: *** Starting rclone_unmount script ***"

umount -l /mnt/user/mount_mergerfs/gdrive_vfs
umount -l /mnt/user/mount_mergerfs/**RcloneRemoteName**
umount -l /mnt/user/mount_rclone/gdrive_vfs
umount -l /mnt/user/mount_rclone/**RcloneRemoteName**
umount -l /mnt/user0/mount_rclone/cache/**RcloneRemoteName**
umount -l /mnt/user/local/**RcloneRemoteName**


echo "$(date "+%d.%m.%Y %T") INFO: *** Ending rclone_unmount script ***"


exit

 

Maybe this will help you, if you haven't found a solution.  I also don't know if this is "safe" so if anyone who knows more than me could chime in, I would be grateful. 

It’s safe as I have been testing that exact command for a while now (if you scroll up to my other post you’ll see I have the same commands). Although I didn’t need to umount the cache or local folders on my setup. Only the mount_mergerfs and mount_rclone sub folders. 

  • Like 1
Link to comment
On 5/21/2021 at 4:30 PM, southloven said:

 

@cinereus I figured out a way to get my Array to shutdown with out having to manually run unmounts. After using 

 



lsof | grep /mnt/user/

 

To find out which mounts were hanging. 

 

 

I created a new User script that runs "At stopping of Array" using the mount points I found above.  You may have to track down what mounts are giving you an issue. 

 

 



#!/bin/bash

#######################
### unmount Script ####
#######################
#### Version 0.0.1 ####
#######################

echo "$(date "+%d.%m.%Y %T") INFO: *** Starting rclone_unmount script ***"

umount -l /mnt/user/mount_mergerfs/gdrive_vfs
umount -l /mnt/user/mount_mergerfs/**RcloneRemoteName**
umount -l /mnt/user/mount_rclone/gdrive_vfs
umount -l /mnt/user/mount_rclone/**RcloneRemoteName**
umount -l /mnt/user0/mount_rclone/cache/**RcloneRemoteName**
umount -l /mnt/user/local/**RcloneRemoteName**


echo "$(date "+%d.%m.%Y %T") INFO: *** Ending rclone_unmount script ***"


exit

 

Maybe this will help you, if you haven't found a solution.  I also don't know if this is "safe" so if anyone who knows more than me could chime in, I would be grateful. 

Thank you for your unmount script.

Anyone know why my logs is filling up with this message?

image.thumb.png.261dabfd8766ec3e2754bafadfb6722b.png

Thank you very much

 

edit: i found the problem,
i mount rclone to /mnt/user/mount_rclone/gdrive

Edited by rachid596
Link to comment

I'm not shure why and what is happening.... After my media is downloaded and radarr/sonarr moves it into place (mount_mergerfs), I can see movie without problem. But when upload script finishes uploading, that same movie dissaperes, and only after I restart server, movies are visable on the mount again.

 

Here is my script:

 

RcloneRemoteName="storage_crypt" 
RcloneMountShare="/mnt/user/mount_rclone" 
RcloneMountDirCacheTime="720h"
LocalFilesShare="/mnt/user/mount_rclone_upload" 
RcloneCacheShare="/mnt/user0/mount_rclone"
RcloneCacheMaxSize="400G" 
RcloneCacheMaxAge="336h"
MergerfsMountShare="/mnt/user/mount_mergerfs"
DockerStart="binhex-radarr binhex-sonarr plex"

 

I have mounted plex, radarr, sonarr to:

/mnt/user/mount_mergerfs/storage_crypt/

 

Link to comment

Hello, just wanna say super script but I can't get mergerfs to install, any help is appreciated :)

 

Everything else seem to work perfectly.

 

Unraid: 6.9.2

 

31.05.2021 11:51:29 INFO: Creating local folders.
31.05.2021 11:51:29 INFO: Creating MergerFS folders.
31.05.2021 11:51:29 INFO: *** Starting mount of remote gdrive_media_vfs
31.05.2021 11:51:29 INFO: Checking if this script is already running.
31.05.2021 11:51:29 INFO: Script not running - proceeding.
31.05.2021 11:51:29 INFO: *** Checking if online
31.05.2021 11:51:31 PASSED: *** Internet online
31.05.2021 11:51:31 INFO: Success gdrive_media_vfs remote is already mounted.
31.05.2021 11:51:31 INFO: Mergerfs not installed - installing now.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
v3.10.9-24-g5649c092fc [http://dl-cdn.alpinelinux.org/alpine/v3.10/main]
v3.10.6-10-ged79a86de3 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community]
OK: 10351 distinct packages available
(1/6) Installing ca-certificates (20191127-r2)
(2/6) Installing nghttp2-libs (1.39.2-r1)
(3/6) Installing libcurl (7.66.0-r4)
(4/6) Installing expat (2.2.8-r0)
(5/6) Installing pcre2 (10.33-r0)
(6/6) Installing git (2.22.5-r0)
Executing busybox-1.30.1-r2.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 21 MiB in 20 packages
Cloning into 'mergerfs'...
2.32.4
Note: checking out '2.32.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ed0c1db fix parsing of relative branch paths
(1/50) Upgrading musl (1.1.22-r3 -> 1.1.22-r4)
(2/50) Installing fakeroot (1.23-r0)
(3/50) Installing sudo (1.9.5p2-r0)
(4/50) Installing libcap (2.27-r0)
(5/50) Installing pax-utils (1.2.3-r0)
(6/50) Installing openssl (1.1.1k-r0)
(7/50) Installing libattr (2.4.48-r0)
(8/50) Installing attr (2.4.48-r0)
(9/50) Installing tar (1.32-r1)
(10/50) Installing pkgconf (1.6.1-r1)
(11/50) Installing patch (2.7.6-r6)
(12/50) Installing libgcc (8.3.0-r0)
(13/50) Installing libstdc++ (8.3.0-r0)
(14/50) Installing lzip (1.21-r0)
(15/50) Installing curl (7.66.0-r4)
(16/50) Installing abuild (3.4.0-r0)
Executing abuild-3.4.0-r0.pre-install
(17/50) Installing m4 (1.4.18-r1)
(18/50) Installing libbz2 (1.0.6-r7)
(19/50) Installing perl (5.28.3-r0)
(20/50) Installing autoconf (2.69-r2)
(21/50) Installing automake (1.16.1-r0)
(22/50) Installing binutils (2.32-r1)
(23/50) Installing gmp (6.1.2-r1)
(24/50) Installing isl (0.18-r0)
(25/50) Installing libgomp (8.3.0-r0)
(26/50) Installing libatomic (8.3.0-r0)
(27/50) Installing mpfr3 (3.1.5-r1)
(28/50) Installing mpc1 (1.1.0-r0)
(29/50) Installing gcc (8.3.0-r0)
(30/50) Installing musl-dev (1.1.22-r4)
(31/50) Installing libc-dev (0.7.1-r0)
(32/50) Installing g++ (8.3.0-r0)
(33/50) Installing gettext-asprintf (0.19.8.1-r4)
(34/50) Installing libintl (0.19.8.1-r4)
(35/50) Installing libunistring (0.9.10-r0)
(36/50) Installing gettext-libs (0.19.8.1-r4)
(37/50) Installing ncurses-terminfo-base (6.1_p20190518-r2)
(38/50) Installing ncurses-libs (6.1_p20190518-r2)
(39/50) Installing libxml2 (2.9.9-r4)
(40/50) Installing gettext (0.19.8.1-r4)
(41/50) Installing gettext-dev (0.19.8.1-r4)
(42/50) Installing perl-error (0.17027-r0)
(43/50) Installing perl-git (2.22.5-r0)
(44/50) Installing git-perl (2.22.5-r0)
(45/50) Installing readline (8.0.0-r0)
(46/50) Installing bash (5.0.0-r0)
Executing bash-5.0.0-r0.post-install
(47/50) Installing libltdl (2.4.6-r6)
(48/50) Installing libtool (2.4.6-r6)
(49/50) Installing linux-headers (4.19.36-r0)
(50/50) Installing make (4.2.1-r2)
Executing busybox-1.30.1-r2.trigger
OK: 238 MiB in 69 packages
make DEBUG= -C libfuse
make[1]: Entering directory '/tmp/mergerfs/libfuse'
mkdir -p build
touch build/stamp
ecfd/build | tee build/config.h
#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED

#define HAVE_FORK
#define HAVE_SPLICE
#define HAVE_STRUCT_STAT_ST_ATIM
#define HAVE_UTIMENSAT
#define HAVE_VMSPLICE

#endif
make build/buffer.o build/fuse_dirents.o build/fuse.o build/fuse_kern_chan.o build/fuse_loop_mt.o build/fuse_lowlevel.o build/fuse_mt.o build/fuse_opt.o build/fuse_session.o build/fuse_signals.o build/helper.o build/mount.o
make[2]: Entering directory '/tmp/mergerfs/libfuse'
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/buffer.c -o build/buffer.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_dirents.c -o build/fuse_dirents.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse.c -o build/fuse.o
lib/fuse.c: In function 'add_name':
lib/fuse.c:957:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
   strncpy(s,name,len);
   ^~~~~~~~~~~~~~~~~~~
lib/fuse.c:931:16: note: length computed here
   size_t len = strlen(name);
                ^~~~~~~~~~~~
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_kern_chan.c -o build/fuse_kern_chan.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_loop_mt.c -o build/fuse_loop_mt.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_lowlevel.c -o build/fuse_lowlevel.o
lib/fuse_lowlevel.c: In function 'fuse_add_dirent':
lib/fuse_lowlevel.c:320:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
   strncpy(dirent->name, name, namelen);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/fuse_lowlevel.c:310:22: note: length computed here
   unsigned namelen = strlen(name);
                      ^~~~~~~~~~~~
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_mt.c -o build/fuse_mt.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_opt.c -o build/fuse_opt.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_session.c -o build/fuse_session.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/fuse_signals.c -o build/fuse_signals.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/helper.c -o build/helper.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -c lib/mount.c -o build/mount.o
In file included from lib/mount_generic.c:22,
                 from lib/mount.c:22:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
make[2]: Leaving directory '/tmp/mergerfs/libfuse'
ar rcs build/libfuse.a build/buffer.o build/fuse_dirents.o build/fuse.o build/fuse_kern_chan.o build/fuse_loop_mt.o build/fuse_lowlevel.o build/fuse_mt.o build/fuse_opt.o build/fuse_session.o build/fuse_signals.o build/helper.o build/mount.o
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -Ilib -o build/mergerfs-fusermount util/fusermount.c lib/mount_util.c
cc -O2 -Wall -pipe -MMD -Iinclude -Ibuild -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DPACKAGE_VERSION=\"2.9.7-mergerfs_2.30.0\" -DFUSERMOUNT_DIR=\"/usr/local/bin\" -o build/mount.mergerfs util/mount.mergerfs.c build/libfuse.a  -lrt -pthread
make[1]: Leaving directory '/tmp/mergerfs/libfuse'
tools/update-version
grep: src/version.hpp: No such file or directory
mkdir -p build
touch build/stamp
make build/config_statfs.o build/policy_lus.o build/policy_msplus.o build/fuse_init.o build/policy_epff.o build/fuse_read.o build/fuse_destroy.o build/policy_lfs.o build/fs_copydata_readwrite.o build/fuse_flock.o build/mempools.o build/policy_eprand.o build/fuse_readlink.o build/policy_eplfs.o build/fuse_readdir_posix.o build/gidcache.o build/to_string.o build/fuse_getattr.o build/fuse_getxattr.o build/fuse_readdir_plus_linux.o build/fuse_truncate.o build/fuse_listxattr.o build/policy_mspmfs.o build/policy_rand.o build/fuse_readdir_plus_posix.o build/fuse_futimens.o build/resources.o build/policy_erofs.o build/fuse_chmod.o build/option_parser.o build/fuse_mknod.o build/fs_has_space.o build/fuse_ftruncate.o build/fuse_symlink.o build/config_statfsignore.o build/fuse_setxattr.o build/fs_statvfs_cache.o build/fs_copydata.o build/fs_sendfile.o build/fs_ficlone.o build/policy_epmfs.o build/config.o build/policy_mfs.o build/policy_all.o build/policy_msplfs.o build/policy_cache.o build/fs_movefile.o build/fuse_removexattr.o build/from_string.o build/fuse_fallocate.o build/fuse_statfs.o build/fuse_releasedir.o build/fuse_copy_file_range.o build/policy_eppfrd.o build/func.o build/fuse_release.o build/fuse_fchown.o build/fuse_write.o build/fuse_readdir_plus.o build/fs_realpathize.o build/config_inodecalc.o build/fuse_chown.o build/mergerfs.o build/fuse_read_buf.o build/policy_pfrd.o build/num.o build/fuse_flush.o build/policy_epall.o build/fs_glob.o build/fuse_ioctl.o build/fs_fadvise.o build/fuse_write_buf.o build/config_readdir.o build/fs_path.o build/policy_newest.o build/policy_ff.o build/fs_fallocate.o build/fs_xattr.o build/config_xattr.o build/fs_copy_file_range.o build/fs_inode.o build/ugid.o build/fs_clonefile.o build/config_cachefiles.o build/fs_info.o build/rnd.o build/fuse_opendir.o build/func_category.o build/fs_futimesat.o build/fs_findonfs.o build/fuse_fgetattr.o build/fs_cow.o build/fuse_access.o build/fuse_link.o build/fs_mktemp.o build/fs_copydata_copy_file_range.o build/fs_attr.o build/fs_getfl.o build/fuse_create.o build/policy_eplus.o build/fs_getdents64.o build/fs_acl.o build/config_nfsopenhack.o build/fuse_readdir_linux.o build/hw_cpu.o build/fuse_fsyncdir.o build/fuse_readdir.o build/fuse_rename.o build/fuse_prepare_hide.o build/fuse_utimens.o build/fuse_free_hide.o build/fuse_rmdir.o build/fs_clonepath.o build/fs_findallfiles.o build/fuse_mkdir.o build/fuse_fchmod.o build/fuse_fsync.o build/fs_file_size.o build/fuse_unlink.o build/policy_invalid.o build/str.o build/config_moveonenospc.o build/fuse_open.o build/policy_msppfrd.o build/branch.o build/fs_setfl.o build/policy.o
make[1]: Entering directory '/tmp/mergerfs'
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_statfs.cpp -o build/config_statfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_lus.cpp -o build/policy_lus.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_msplus.cpp -o build/policy_msplus.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_init.cpp -o build/fuse_init.o
In file included from src/fuse_init.cpp:18:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_epff.cpp -o build/policy_epff.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_read.cpp -o build/fuse_read.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_destroy.cpp -o build/fuse_destroy.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_lfs.cpp -o build/policy_lfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_copydata_readwrite.cpp -o build/fs_copydata_readwrite.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_flock.cpp -o build/fuse_flock.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/mempools.cpp -o build/mempools.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_eprand.cpp -o build/policy_eprand.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readlink.cpp -o build/fuse_readlink.o
In file included from src/fuse_readlink.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_eplfs.cpp -o build/policy_eplfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir_posix.cpp -o build/fuse_readdir_posix.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/gidcache.cpp -o build/gidcache.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/to_string.cpp -o build/to_string.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_getattr.cpp -o build/fuse_getattr.o
In file included from src/fuse_getattr.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_getxattr.cpp -o build/fuse_getxattr.o
In file included from src/fuse_getxattr.cpp:24:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir_plus_linux.cpp -o build/fuse_readdir_plus_linux.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_truncate.cpp -o build/fuse_truncate.o
In file included from src/fuse_truncate.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_listxattr.cpp -o build/fuse_listxattr.o
In file included from src/fuse_listxattr.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_mspmfs.cpp -o build/policy_mspmfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_rand.cpp -o build/policy_rand.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir_plus_posix.cpp -o build/fuse_readdir_plus_posix.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_futimens.cpp -o build/fuse_futimens.o
In file included from src/fuse_futimens.cpp:19:
src/fs_futimens.hpp:26:2: warning: #warning "using fs_futimens_linux.hpp" [-Wcpp]
 #warning "using fs_futimens_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/resources.cpp -o build/resources.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_erofs.cpp -o build/policy_erofs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_chmod.cpp -o build/fuse_chmod.o
In file included from src/fuse_chmod.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/option_parser.cpp -o build/option_parser.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_mknod.cpp -o build/fuse_mknod.o
In file included from src/fuse_mknod.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_has_space.cpp -o build/fs_has_space.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_ftruncate.cpp -o build/fuse_ftruncate.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_symlink.cpp -o build/fuse_symlink.o
In file included from src/fuse_symlink.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_statfsignore.cpp -o build/config_statfsignore.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_setxattr.cpp -o build/fuse_setxattr.o
In file included from src/fuse_setxattr.cpp:26:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_statvfs_cache.cpp -o build/fs_statvfs_cache.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_copydata.cpp -o build/fs_copydata.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_sendfile.cpp -o build/fs_sendfile.o
src/fs_sendfile.cpp:18:2: warning: #warning "using fs_sendfile_linux.icpp" [-Wcpp]
 #warning "using fs_sendfile_linux.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_ficlone.cpp -o build/fs_ficlone.o
src/fs_ficlone.cpp:20:2: warning: #warning "using fs_ficlone_linux.icpp" [-Wcpp]
 #warning "using fs_ficlone_linux.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_epmfs.cpp -o build/policy_epmfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config.cpp -o build/config.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_mfs.cpp -o build/policy_mfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_all.cpp -o build/policy_all.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_msplfs.cpp -o build/policy_msplfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_cache.cpp -o build/policy_cache.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_movefile.cpp -o build/fs_movefile.o
In file included from src/fs_movefile.cpp:32:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_removexattr.cpp -o build/fuse_removexattr.o
In file included from src/fuse_removexattr.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/from_string.cpp -o build/from_string.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fallocate.cpp -o build/fuse_fallocate.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_statfs.cpp -o build/fuse_statfs.o
In file included from src/fuse_statfs.cpp:24:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_releasedir.cpp -o build/fuse_releasedir.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_copy_file_range.cpp -o build/fuse_copy_file_range.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_eppfrd.cpp -o build/policy_eppfrd.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/func.cpp -o build/func.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_release.cpp -o build/fuse_release.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fchown.cpp -o build/fuse_fchown.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_write.cpp -o build/fuse_write.o
In file included from src/fuse_write.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir_plus.cpp -o build/fuse_readdir_plus.o
In file included from src/fuse_readdir_plus.cpp:25:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_realpathize.cpp -o build/fs_realpathize.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_inodecalc.cpp -o build/config_inodecalc.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_chown.cpp -o build/fuse_chown.o
In file included from src/fuse_chown.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/mergerfs.cpp -o build/mergerfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_read_buf.cpp -o build/fuse_read_buf.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_pfrd.cpp -o build/policy_pfrd.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/num.cpp -o build/num.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_flush.cpp -o build/fuse_flush.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_epall.cpp -o build/policy_epall.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_glob.cpp -o build/fs_glob.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_ioctl.cpp -o build/fuse_ioctl.o
In file included from src/fuse_ioctl.cpp:28:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_fadvise.cpp -o build/fs_fadvise.o
src/fs_fadvise.cpp:23:2: warning: #warning "using fs_fadvise_unsupported.icpp" [-Wcpp]
 #warning "using fs_fadvise_unsupported.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_write_buf.cpp -o build/fuse_write_buf.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_readdir.cpp -o build/config_readdir.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_path.cpp -o build/fs_path.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_newest.cpp -o build/policy_newest.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_ff.cpp -o build/policy_ff.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_fallocate.cpp -o build/fs_fallocate.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_xattr.cpp -o build/fs_xattr.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_xattr.cpp -o build/config_xattr.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_copy_file_range.cpp -o build/fs_copy_file_range.o
src/fs_copy_file_range.cpp:20:2: warning: #warning "using fs_copy_file_range_linux.icpp" [-Wcpp]
 #warning "using fs_copy_file_range_linux.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_inode.cpp -o build/fs_inode.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/ugid.cpp -o build/ugid.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_clonefile.cpp -o build/fs_clonefile.o
In file included from src/fs_clonefile.cpp:23:
src/fs_futimens.hpp:26:2: warning: #warning "using fs_futimens_linux.hpp" [-Wcpp]
 #warning "using fs_futimens_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_cachefiles.cpp -o build/config_cachefiles.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_info.cpp -o build/fs_info.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/rnd.cpp -o build/rnd.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_opendir.cpp -o build/fuse_opendir.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/func_category.cpp -o build/func_category.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_futimesat.cpp -o build/fs_futimesat.o
src/fs_futimesat.cpp:23:2: warning: #warning "using fs_futimesat_generic.icpp" [-Wcpp]
 #warning "using fs_futimesat_generic.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_findonfs.cpp -o build/fs_findonfs.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fgetattr.cpp -o build/fuse_fgetattr.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_cow.cpp -o build/fs_cow.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_access.cpp -o build/fuse_access.o
In file included from src/fuse_access.cpp:21:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_link.cpp -o build/fuse_link.o
In file included from src/fuse_link.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_mktemp.cpp -o build/fs_mktemp.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_copydata_copy_file_range.cpp -o build/fs_copydata_copy_file_range.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_attr.cpp -o build/fs_attr.o
src/fs_attr.cpp:18:2: warning: #warning "using fs_attr_linux.icpp" [-Wcpp]
 #warning "using fs_attr_linux.icpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_getfl.cpp -o build/fs_getfl.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_create.cpp -o build/fuse_create.o
In file included from src/fuse_create.cpp:24:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_eplus.cpp -o build/policy_eplus.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_getdents64.cpp -o build/fs_getdents64.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_acl.cpp -o build/fs_acl.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_nfsopenhack.cpp -o build/config_nfsopenhack.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir_linux.cpp -o build/fuse_readdir_linux.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/hw_cpu.cpp -o build/hw_cpu.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fsyncdir.cpp -o build/fuse_fsyncdir.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_readdir.cpp -o build/fuse_readdir.o
In file included from src/fuse_readdir.cpp:25:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_rename.cpp -o build/fuse_rename.o
In file included from src/fuse_rename.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_prepare_hide.cpp -o build/fuse_prepare_hide.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_utimens.cpp -o build/fuse_utimens.o
In file included from src/fs_lutimens.hpp:21,
                 from src/fuse_utimens.cpp:19:
src/fs_utimensat.hpp:22:2: warning: #warning "using fs_utimensat_linux.hpp" [-Wcpp]
 #warning "using fs_utimensat_linux.hpp"
  ^~~~~~~
In file included from src/fuse_utimens.cpp:22:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_free_hide.cpp -o build/fuse_free_hide.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_rmdir.cpp -o build/fuse_rmdir.o
In file included from src/fuse_rmdir.cpp:21:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_clonepath.cpp -o build/fs_clonepath.o
In file included from src/fs_lutimens.hpp:21,
                 from src/fs_clonepath.cpp:24:
src/fs_utimensat.hpp:22:2: warning: #warning "using fs_utimensat_linux.hpp" [-Wcpp]
 #warning "using fs_utimensat_linux.hpp"
  ^~~~~~~
In file included from src/fs_clonepath.cpp:28:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_findallfiles.cpp -o build/fs_findallfiles.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_mkdir.cpp -o build/fuse_mkdir.o
In file included from src/fuse_mkdir.cpp:23:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fchmod.cpp -o build/fuse_fchmod.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_fsync.cpp -o build/fuse_fsync.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_file_size.cpp -o build/fs_file_size.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_unlink.cpp -o build/fuse_unlink.o
In file included from src/fuse_unlink.cpp:21:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_invalid.cpp -o build/policy_invalid.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/str.cpp -o build/str.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/config_moveonenospc.cpp -o build/config_moveonenospc.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fuse_open.cpp -o build/fuse_open.o
In file included from src/fuse_open.cpp:28:
src/ugid.hpp:31:2: warning: #warning "using ugid_linux.hpp" [-Wcpp]
 #warning "using ugid_linux.hpp"
  ^~~~~~~
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy_msppfrd.cpp -o build/policy_msppfrd.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/branch.cpp -o build/branch.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/fs_setfl.cpp -o build/fs_setfl.o
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  -c src/policy.cpp -o build/policy.o
make[1]: Leaving directory '/tmp/mergerfs'
g++ -O2 -std=c++0x -static  -Wall -Wno-unused-result -MMD -Ilibfuse/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -DUSE_XATTR=1 -DUGID_USE_RWLOCK=0  build/config_statfs.o build/policy_lus.o build/policy_msplus.o build/fuse_init.o build/policy_epff.o build/fuse_read.o build/fuse_destroy.o build/policy_lfs.o build/fs_copydata_readwrite.o build/fuse_flock.o build/mempools.o build/policy_eprand.o build/fuse_readlink.o build/policy_eplfs.o build/fuse_readdir_posix.o build/gidcache.o build/to_string.o build/fuse_getattr.o build/fuse_getxattr.o build/fuse_readdir_plus_linux.o build/fuse_truncate.o build/fuse_listxattr.o build/policy_mspmfs.o build/policy_rand.o build/fuse_readdir_plus_posix.o build/fuse_futimens.o build/resources.o build/policy_erofs.o build/fuse_chmod.o build/option_parser.o build/fuse_mknod.o build/fs_has_space.o build/fuse_ftruncate.o build/fuse_symlink.o build/config_statfsignore.o build/fuse_setxattr.o build/fs_statvfs_cache.o build/fs_copydata.o build/fs_sendfile.o build/fs_ficlone.o build/policy_epmfs.o build/config.o build/policy_mfs.o build/policy_all.o build/policy_msplfs.o build/policy_cache.o build/fs_movefile.o build/fuse_removexattr.o build/from_string.o build/fuse_fallocate.o build/fuse_statfs.o build/fuse_releasedir.o build/fuse_copy_file_range.o build/policy_eppfrd.o build/func.o build/fuse_release.o build/fuse_fchown.o build/fuse_write.o build/fuse_readdir_plus.o build/fs_realpathize.o build/config_inodecalc.o build/fuse_chown.o build/mergerfs.o build/fuse_read_buf.o build/policy_pfrd.o build/num.o build/fuse_flush.o build/policy_epall.o build/fs_glob.o build/fuse_ioctl.o build/fs_fadvise.o build/fuse_write_buf.o build/config_readdir.o build/fs_path.o build/policy_newest.o build/policy_ff.o build/fs_fallocate.o build/fs_xattr.o build/config_xattr.o build/fs_copy_file_range.o build/fs_inode.o build/ugid.o build/fs_clonefile.o build/config_cachefiles.o build/fs_info.o build/rnd.o build/fuse_opendir.o build/func_category.o build/fs_futimesat.o build/fs_findonfs.o build/fuse_fgetattr.o build/fs_cow.o build/fuse_access.o build/fuse_link.o build/fs_mktemp.o build/fs_copydata_copy_file_range.o build/fs_attr.o build/fs_getfl.o build/fuse_create.o build/policy_eplus.o build/fs_getdents64.o build/fs_acl.o build/config_nfsopenhack.o build/fuse_readdir_linux.o build/hw_cpu.o build/fuse_fsyncdir.o build/fuse_readdir.o build/fuse_rename.o build/fuse_prepare_hide.o build/fuse_utimens.o build/fuse_free_hide.o build/fuse_rmdir.o build/fs_clonepath.o build/fs_findallfiles.o build/fuse_mkdir.o build/fuse_fchmod.o build/fuse_fsync.o build/fs_file_size.o build/fuse_unlink.o build/policy_invalid.o build/str.o build/config_moveonenospc.o build/fuse_open.o build/policy_msppfrd.o build/branch.o build/fs_setfl.o build/policy.o -o build/mergerfs libfuse/build/libfuse.a  -pthread -lrt
mergerfs version: 2.32.4
'build/mergerfs' -> '/build/mergerfs'
mv: cannot overwrite directory '/bin/mergerfs' with non-directory
31.05.2021 11:52:07 INFO: *sleeping for 5 seconds
31.05.2021 11:52:12 ERROR: Mergerfs not installed successfully.  Please check for errors.  Exiting.
Script Finished May 31, 2021  11:52.12

 

# REQUIRED SETTINGS
RcloneRemoteName="gdrive_media_vfs" # Name of rclone remote mount WITHOUT ':'. NOTE: Choose your encrypted remote for sensitive data
RcloneMountShare="/mnt/user/mount_rclone_gdrive" # where your rclone remote will be located without trailing slash  e.g. /mnt/user/mount_rclone
RcloneMountDirCacheTime="720h" # rclone dir cache time
LocalFilesShare="/mnt/user/local" # location of the local files and MountFolders you want to upload without trailing slash to rclone e.g. /mnt/user/local. Enter 'ignore' to disable
RcloneCacheShare="/mnt/temp/mount_rclone_gdrive" # location of rclone cache files without trailing slash e.g. /mnt/user0/mount_rclone
RcloneCacheMaxSize="400G" # Maximum size of rclone cache
RcloneCacheMaxAge="336h" # Maximum age of cache files
MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash  e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable
DockerStart="" # list of dockers, separated by space, to start once mergerfs mount verified. Remember to disable AUTOSTART for dockers added in docker settings page
MountFolders=\{"movies,movies4k,tv-series"\} # comma separated list of folders to create within the mount

 

edit-

 

Fixed I think, went into console and deleted the /bin/mergerfs/ folder :)

 

edit-

Edited by X672
Link to comment

Hello again :)

 

Just wondering if there is a "easier" way if I already have a shared folder in unraid with about 4000 folders except for copying them into the "\mount_mergerfs\gdrive_media_vfs" folder to make it upload them to gdrive?

Link to comment
4 hours ago, X672 said:

Hello again :)

 

Just wondering if there is a "easier" way if I already have a shared folder in unraid with about 4000 folders except for copying them into the "\mount_mergerfs\gdrive_media_vfs" folder to make it upload them to gdrive?

 

I used MC and went to each drive and created a \local\ folder - and moved any movies from whatever path they were at to the \local\ folder. so that you are moving within the disk. 

  • Thanks 1
Link to comment

Hi

 

A quick question to the performance for docker an mergerfs. On Git it is described that dockers shoulb be linked direktly to the /mnt/user share for best perfomance with mergerfs. Isn't this a bit risky to give dockers full access to all files on UnRaid this way?

Is the perfomance much worse if its linked to a subfolder in the "union" directory of mergerfs?

 

 

Cheers

Simon

Link to comment
On 6/1/2021 at 8:03 AM, Symon said:

Hi

 

A quick question to the performance for docker an mergerfs. On Git it is described that dockers shoulb be linked direktly to the /mnt/user share for best perfomance with mergerfs. Isn't this a bit risky to give dockers full access to all files on UnRaid this way?

Is the perfomance much worse if its linked to a subfolder in the "union" directory of mergerfs?

 

 

Cheers

Simon

 

I'm wondering the same thing; and I'm wondering how much of this is dogma. I also don't know why it would need the root /mnt/user instead of the more conservative /mnt/user/merger_fs (which I would still not be a fan of since I assume most of us are going to be compartmentalizing that directory further).

 

My only guess as to why their might be a difference is if rclone can share a connection if the root directory is mounted, instead of having to reestablish a connection to the Cloud service for each individual subdirectory request, but I readily admit ignorance of rclone's mechanisms.

Link to comment

Another few questions myself:

 

1. RcloneCacheShare="/mnt/user0/mount_rclone" - Is there a reason this "Rclone Cache" isn't using the cache and is using spinning rust directly instead? Should this be /mnt/cache/mount_rclone? I saw a similar question asked in the past 99 pages, but never saw a response.

 

2. If we're using VFS caching with rclone mount, why do we need the rclone upload (rclone move) script? I have noticed that sometimes when I make a change, it's transferred immediately (even though the upload script hasn't run yet) and other times, the upload script seems to have to do the work. Any idea why?

 

Thanks.

Edited by T0rqueWr3nch
Link to comment

I would appreciate some help from anyone. I'm not good with rclone but I'd like to use it with Google drive. I followed spaceinvader one's 4 year old video but it's changed a lot since then. I've got my drives setup like in the video. I've got a google and a secure. I found the github scripts for mounting, unmounting and uploading, but I have no idea how to change those to fit my needs. I'm wanting to first copy my Plex folder to it and then start having my plex use the cloud files.

Here's my mount part that I edited:

 

RcloneRemoteName="secure" # Name of rclone remote mount WITHOUT ':'. NOTE: Choose your encrypted remote for sensitive data

RcloneMountShare="/mnt/user/google" # where your rclone remote will be located without trailing slash e.g. /mnt/user/mount_rclone

RcloneMountDirCacheTime="720h" # rclone dir cache time

LocalFilesShare="/mnt/user/Plex" # location of the local files and MountFolders you want to upload without trailing slash to rclone e.g. /mnt/user/local. Enter 'ignore' to disable

RcloneCacheShare="/mnt/user0/google" # location of rclone cache files without trailing slash e.g. /mnt/user0/mount_rclone

RcloneCacheMaxSize="400G" # Maximum size of rclone cache

RcloneCacheMaxAge="336h" # Maximum age of cache files

MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable

DockerStart="sabnzbd plex binhex-sonarr binhex-radarr radarr ombi" # list of dockers, separated by space, to start once mergerfs mount verified. Remember to disable AUTOSTART for dockers added in docker settings page

MountFolders=\{"downloads/complete,downloads/intermediate,downloads/seeds,movies,tv,scary movies,kids movies,4k movies.4k tv series"\} # comma separated list of folders to create within the mount

 

 

 

Here's my upload that I know isn't right:

RcloneCommand="copy" # choose your rclone command e.g. move, copy, sync

RcloneRemoteName="secure" # Name of rclone remote mount WITHOUT ':'.

RcloneUploadRemoteName="secure" # If you have a second remote created for uploads put it here. Otherwise use the same remote as RcloneRemoteName.

LocalFilesShare="/mnt/user/Plex" # location of the local files without trailing slash you want to rclone to use

RcloneMountShare="/mnt/user/google" # where your rclone mount is located without trailing slash e.g. /mnt/user/mount_rclone

MinimumAge="15m" # sync files suffix ms|s|m|h|d|w|M|y

ModSort="ascending" # "ascending" oldest files first, "descending" newest files first

Link to comment
6 hours ago, francrouge said:

Hi all 

 

Quick question, does anyone has been able to map 2 gdrive with 2 seperate script or in the same ?

 

i want to access 2 gdrive account but i can't i'm always gettin errors about port already bind

 

 

thx

 

Try to add this to your script under "# Add extra commands or filters" and restart your server :)

Command2="--rc-addr 127.0.0.1:0"

 

Link to comment

My issue is that on server reboot some of my docker containers seem to boot faster than the rclone mount comes up. For example emby keeps giving me can't find media stream errors and from within the docker console no files show up. Rebooting the docker containers picks up the mount properly.

Anyone else have this problem ? Any way to delay docker startup on array start ?

Sent from my SM-N960W using Tapatalk

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.