-
- Influencer
- Posts: 10
- Liked: never
- Joined: Mar 15, 2021 12:51 pm
- Full Name: Lou Yovin
- Contact:
Don't use a link for /tmp
Not sure if this fits here, but here is a quirk (my opinion) in Veeam Agent for Linux. If I try to run a backup to my NAS using SMB or NFS, I get an error saying it cannot mount to /tmp/veeam/IP/share name or path. This is because my /tmp folder is really a link to a /tmp folder on another drive. This was originally done to relieve usage on a small SSD with the Linux OS. If I change to a /tmp folder instead of the link, it is OK. Probably not something other people do. Put it here because the error message is not too helpful. I have no other problems using a link instead of a directory.
Lou
Lou
-
- VP, Product Management
- Posts: 7081
- Liked: 1511 times
- Joined: May 04, 2011 8:36 am
- Full Name: Andreas Neufert
- Location: Germany
- Contact:
Re: Don't use a link for /tmp
You said you linked it... Did you try to mount it to /tmp instead?
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Mar 15, 2021 12:51 pm
- Full Name: Lou Yovin
- Contact:
Re: Don't use a link for /tmp
The tmp directory is a link to a directory on another drive. I am unaware how I can mount that. Veeam does create the directory in the linked /tmp directory but then says it doesn't exist. Doesn't make sense. That link works fine if I am backing up to a local drive. It only fails going to my NAS. Either SMB or NFS.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Don't use a link for /tmp
Hi,
You can set "tempFolder" parameter in /etc/veeam/veeam.ini to any path of your choice. That will make VAL to use the specified directory instead of tmp.
Thanks!
You can set "tempFolder" parameter in /etc/veeam/veeam.ini to any path of your choice. That will make VAL to use the specified directory instead of tmp.
Thanks!
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Mar 15, 2021 12:51 pm
- Full Name: Lou Yovin
- Contact:
Re: Don't use a link for /tmp
Thank you. Could you be a little more specific? I don't see a commented entry for that and inserting it in backup and core did not seem to work. I see a tmpDir entry but only for Oracle.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Don't use a link for /tmp
It should be in [core]
If it's not there, just add it manually. You'll need to restart the service so that it picks up the changes.
Thanks!
Code: Select all
[core]
# Path to the tmp directory
# tempFolder = /tmp/veeam
Thanks!
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Mar 15, 2021 12:51 pm
- Full Name: Lou Yovin
- Contact:
Re: Don't use a link for /tmp
Thanks much. That did it.
-
- Expert
- Posts: 164
- Liked: 57 times
- Joined: Mar 22, 2021 11:19 am
- Contact:
Re: Don't use a link for /tmp
Just to put in my two cents, I think bind mounting would be the way to go here instead of symlinking.
It's a direct replication of a an existing directory under a different mounting point:
It's a direct replication of a an existing directory under a different mounting point:
Code: Select all
The bind mounts.
Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else. The call is
mount --bind olddir newdir
or shortoption
mount -B olddir newdir
or fstab entry is:
/olddir /newdir none bind
After this call the same contents is accessible in two places. One can also remount a single file (on a single file).
Who is online
Users browsing this forum: No registered users and 6 guests