Phill Edwards
2016-05-05 11:03:23 UTC
I've just got rsnapshot up and running on a QNAP TS-410 NAS. It's
configured to backup files to a CIFS share on a second D-Link NAS which is
mounted on QNAP. When I ran rsnapshot for the 1st time everything got
backup up pretty much OK (there was a warning that I haven't investigated
yet).
But on running it on day 2, I'm getting errors related to creating hard
links:
# /share/MD0_DATA/.qpkg/Entware-ng/bin/rsnapshot daily
echo 5564 > /opt/var/run/rsnapshot.pid
/opt/bin/cp -al \
/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0 \
/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/HDTV_SetTopBox.docâ
to â/mnt/rf/nd/0/04
0aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/HDTV_SetTopBox.docâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/Motorola_T505.pdfâ
to â/mnt/rf/nd/0/040
aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/Motorola_T505.pdfâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/tvpalm.txtâ
to â/mnt/rf/nd/0/040aa9057f
c9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/tvpalm.txtâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder2/SunnyBoy_2015-12-16.GIFâ
to â/mnt/rf/nd
/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder2/SunnyBoy_2015-12-16.GIFâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/TeamClashes.txtâ
to â/mnt/rf/nd/0/040aa9057fc9a5f60e
7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/TeamClashes.txtâ:
No such file or directory
I ran "cp --help" and it says the "a" and "l" options are supported so I
don't think it's an issue with cp. Can anyone advise how to start
trouble-shooting this? Could it be something to do with the way the share
is mounted - perhaps something odd about the CIFS share that doesn't allow
hard links?
TIA,
Phill
configured to backup files to a CIFS share on a second D-Link NAS which is
mounted on QNAP. When I ran rsnapshot for the 1st time everything got
backup up pretty much OK (there was a warning that I haven't investigated
yet).
But on running it on day 2, I'm getting errors related to creating hard
links:
# /share/MD0_DATA/.qpkg/Entware-ng/bin/rsnapshot daily
echo 5564 > /opt/var/run/rsnapshot.pid
/opt/bin/cp -al \
/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0 \
/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/HDTV_SetTopBox.docâ
to â/mnt/rf/nd/0/04
0aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/HDTV_SetTopBox.docâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/Motorola_T505.pdfâ
to â/mnt/rf/nd/0/040
aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/Motorola_T505.pdfâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder1/tvpalm.txtâ
to â/mnt/rf/nd/0/040aa9057f
c9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder1/tvpalm.txtâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/Fred_Folder2/SunnyBoy_2015-12-16.GIFâ
to â/mnt/rf/nd
/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/Fred_Folder2/SunnyBoy_2015-12-16.GIFâ:
No such file or directory
/opt/bin/cp: cannot create hard link
â/mnt/rf/nd/0/040aa9057fc9a5f60e7348b346830549edacaee5/Backups/daily.1/nas-homes/share/homes/fred/TeamClashes.txtâ
to â/mnt/rf/nd/0/040aa9057fc9a5f60e
7348b346830549edacaee5/Backups/daily.0/nas-homes/share/homes/fred/TeamClashes.txtâ:
No such file or directory
I ran "cp --help" and it says the "a" and "l" options are supported so I
don't think it's an issue with cp. Can anyone advise how to start
trouble-shooting this? Could it be something to do with the way the share
is mounted - perhaps something odd about the CIFS share that doesn't allow
hard links?
TIA,
Phill