Helmonder Posted September 4, 2014 Share Posted September 4, 2014 Does unraid 6 still show a message in the syslog when a duplicate file is on the system ? In fact I think it does not... I have several duplicate files and there are no messages.. Quote Link to comment
jonp Posted September 4, 2014 Share Posted September 4, 2014 Does unraid 6 still show a message in the syslog when a duplicate file is on the system ? In fact I think it does not... I have several duplicate files and there are no messages.. When did this work for you last? Quote Link to comment
Helmonder Posted September 4, 2014 Author Share Posted September 4, 2014 That could easily be a year ago... I was copying files from here to there to make drives empty to reformat them to xfs... During that I noticed that I got some copy messages on allready existing files.. So I looked somewhat deeper and I know am sure that I have duplicate files, possibly from a copy going wrong a long time ago.. Because I saw that I did cat /var/log/syslog | grep duplicate (jonp: thats commandline dude ;-) but got nothing.. I would need some way to find my dupes.. Quote Link to comment
trurl Posted September 4, 2014 Share Posted September 4, 2014 Does unraid 6 still show a message in the syslog when a duplicate file is on the system ? In fact I think it does not... I have several duplicate files and there are no messages.. When did this work for you last? I always assumed this was due to having duplicate "paths" with user shares. For example, /mnt/disk1/music/somesong.mp3 and /mnt/disk2/music/somesong.mp3 would be 2 files that both were at /mnt/user/music/somesong.mp3, even if the actual file contents were different. This is about the only thing that should matter as far as unRAID is concerned. Having files that were actual copies of each other, but having distinct user share paths, should be fine. Quote Link to comment
Helmonder Posted September 4, 2014 Author Share Posted September 4, 2014 Does unraid 6 still show a message in the syslog when a duplicate file is on the system ? In fact I think it does not... I have several duplicate files and there are no messages.. When did this work for you last? I always assumed this was due to having duplicate "paths" with user shares. For example, /mnt/disk1/music/somesong.mp3 and /mnt/disk2/music/somesong.mp3 would be 2 files that both were at /mnt/user/music/somesong.mp3, even if the actual file contents were different. This is about the only thing that should matter as far as unRAID is concerned. Having files that were actual copies of each other, but having distinct user share paths, should be fine. What you are describing is what I mean.. If I am correct then that is no longer working.. Quote Link to comment
MyKroFt Posted September 4, 2014 Share Posted September 4, 2014 I noticed this as well when copying from one drive to another using rsync before converting drive to xfs filesystem. No dupe log msgs at all Myk Quote Link to comment
JonathanM Posted September 4, 2014 Share Posted September 4, 2014 I can confirm there is no duplicate reporting in the syslog in 6b6. Quote Link to comment
Helmonder Posted September 5, 2014 Author Share Posted September 5, 2014 I do need some way to make this an easy process... With the way unraid works it is very good possible to have duplicates... There does not necessarily need to be logentry (I basically have allways found that not the most elegant solution), an option in the GUI would be better.. But first and foremost.. I think this is a bug right ? It should be in there.. At least it always was.. Quote Link to comment
bonienl Posted September 6, 2014 Share Posted September 6, 2014 Sure it is a bug, actually already existing since the official release of unRAID v5 when the file attributes were changed. The code in the browser function which looks for duplicate file names needs to be changed (note that file content may be different) <?if (strstr($entry['disk'],"duplicate")):?> <td style="background-color:orange"><?=$entry['disk'];?></td> <?else:?> <td><?=$entry['disk'];?></td> <?endif;?> it can be revised to the following: <?if (substr($entry['disk'],-1)=="*"):?> <td style="background-color:orange"><?=$entry['disk'];?></td> <?else:?> <td><?=$entry['disk'];?></td> <?endif;?> For Dynamix I have rewritten the browser function because it was extremely slow when opening a folder with several thousand of entries. Could take half a minute to load, while the revised version does it in sub-second (excluding the time needed to spin-up the drive, when combined with cache_dirs it really gives instant replies). Quote Link to comment
Helmonder Posted September 6, 2014 Author Share Posted September 6, 2014 Does unraid 6 still show a message in the syslog when a duplicate file is on the system ? In fact I think it does not... I have several duplicate files and there are no messages.. When did this work for you last? Jonp: Can we get this fixed in the next release possibly ? I really need some way to find my duplicates.. Especially with everyone copying stuff from here to there while changing file system this is something more people will need .. Quote Link to comment
Recommended Posts
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.