Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Overwriting files causes syslog to report wrong data

Featured Replies

Good morning from Germany,

 

this morning I had a "tail -f syslog" open when I copied a file over an already existing file. This was reported in the syslog immediately:

 

Nov 20 09:11:51 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

Nov 20 09:15:33 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

Nov 20 09:21:33 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

*the filename was modified before posting

 

The funny thing is - the name of the file was a different one. As I was the only one working at that time I copied another file over an existing one. This time I choosed a different file to replace.

 

Guess what. The same lines showed up in the syslog. The only change was the timestamp.

 

I double checked the files. They were copied successfully.

 

Do you have any idea why the same filename is always written to the syslog whenever I overwrite an existing file?

 

Many thanks in advance.

Harald

 

Good morning from Germany,

 

this morning I had a "tail -f syslog" open when I copied a file over an already existing file. This was reported in the syslog immediately:

 

Nov 20 09:11:51 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

Nov 20 09:15:33 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

Nov 20 09:21:33 Tower shfs: duplicate object: /mnt/disk6/DB/G/hou.xpg*

*the filename was modified before posting

 

The funny thing is - the name of the file was a different one. As I was the only one working at that time I copied another file over an existing one. This time I choosed a different file to replace.

 

Guess what. The same lines showed up in the syslog. The only change was the timestamp.

 

I double checked the files. They were copied successfully.

 

Do you have any idea why the same filename is always written to the syslog whenever I overwrite an existing file?

 

Many thanks in advance.

Harald

 

When you move a file in the share, or do anything to a file in a share, it is checking other files in the same share. 

Type this command after logging in via telnet.  It will show you the files that it is complaining about:

 

ls -lad /mnt/*/DB/G/hou.xpg

 

You apparently have a file with the same name on multiple disks, unfortunately, the syslog only shows you one of the two.  The "ls" command above will show you three, the two on the "disk" shares, and the one in the "user" shares.  If all the same size and date, they might be identical.  if not, only one is visible in the "user shares" and the entry in the syslog being created because the other cannot as a result of the of the name conflict.

 

Joe L.

  • Author

JoeL,

 

ah, thanks. That was easy. Found the duplicate und eliminated it.

 

Thanks for your support.

 

Regards

Harald

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.