rsync writes to mounted NFS shares
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
QQ - I have remote directories that became unavailable last weekend but my servers were unaware of it so it was still "mounted" despite the fact that it was unreachable.
If I try to rsync data to an NFS mount is "mounted" but cannot be reached and am using the "remove source files" option what will happen? Will the data be removed despite the fact that it couldn't be written or will the entire operation fail and the source file never be touched?
Thanks.
rsync
add a comment |Â
up vote
0
down vote
favorite
QQ - I have remote directories that became unavailable last weekend but my servers were unaware of it so it was still "mounted" despite the fact that it was unreachable.
If I try to rsync data to an NFS mount is "mounted" but cannot be reached and am using the "remove source files" option what will happen? Will the data be removed despite the fact that it couldn't be written or will the entire operation fail and the source file never be touched?
Thanks.
rsync
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
QQ - I have remote directories that became unavailable last weekend but my servers were unaware of it so it was still "mounted" despite the fact that it was unreachable.
If I try to rsync data to an NFS mount is "mounted" but cannot be reached and am using the "remove source files" option what will happen? Will the data be removed despite the fact that it couldn't be written or will the entire operation fail and the source file never be touched?
Thanks.
rsync
QQ - I have remote directories that became unavailable last weekend but my servers were unaware of it so it was still "mounted" despite the fact that it was unreachable.
If I try to rsync data to an NFS mount is "mounted" but cannot be reached and am using the "remove source files" option what will happen? Will the data be removed despite the fact that it couldn't be written or will the entire operation fail and the source file never be touched?
Thanks.
rsync
asked Feb 7 at 16:52
J Telep
1025
1025
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The entire operation will fail.
If in doubt, create a test file and attempt to copy it (just it) to the remote filesystem
ps -ef > /tmp/sacrifice
rsync -iavP --remove-source-files /tmp/sacrifice /path/to/NFS/filesystem/
ls -l /tmp/sacrifice
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The entire operation will fail.
If in doubt, create a test file and attempt to copy it (just it) to the remote filesystem
ps -ef > /tmp/sacrifice
rsync -iavP --remove-source-files /tmp/sacrifice /path/to/NFS/filesystem/
ls -l /tmp/sacrifice
add a comment |Â
up vote
0
down vote
The entire operation will fail.
If in doubt, create a test file and attempt to copy it (just it) to the remote filesystem
ps -ef > /tmp/sacrifice
rsync -iavP --remove-source-files /tmp/sacrifice /path/to/NFS/filesystem/
ls -l /tmp/sacrifice
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The entire operation will fail.
If in doubt, create a test file and attempt to copy it (just it) to the remote filesystem
ps -ef > /tmp/sacrifice
rsync -iavP --remove-source-files /tmp/sacrifice /path/to/NFS/filesystem/
ls -l /tmp/sacrifice
The entire operation will fail.
If in doubt, create a test file and attempt to copy it (just it) to the remote filesystem
ps -ef > /tmp/sacrifice
rsync -iavP --remove-source-files /tmp/sacrifice /path/to/NFS/filesystem/
ls -l /tmp/sacrifice
answered Feb 7 at 18:34
roaima
39.6k545108
39.6k545108
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f422589%2frsync-writes-to-mounted-nfs-shares%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password