_un Files Everywhere

Hi all, I’ve been noticing this for quite some time now, but there seem to be a bunch of files with filename _un peppered throughout the NAS. The files are small and usually only contain a single long string of numbers. The numbers in each file are different. Any ideas what could be creating these and where they come from and what they do? I’ve deleted them, but they come back. Any thoughts?

EDIT: I just ssh’d in to the NAS to see who owns the file, and the files are created by root:root - which means this is some kind of system process since all the files that are saved from my user login all show [username]:share so I’d really love some insight into this. I’m not currently running any extra applications on the NAS, since this is a Gen1 Mirror and they don’t work so great.

1 Like

Hi shayaknyc,

Maybe you should try contacting WD’s Technical Support about this.

To Contact WD for Technical Support

The link below will allow you to call support.

Hello shayaknyc,

did you figure out what these are and why they’re created? Wouldn’t mind if they’d just be invisible, but they’re not.

Have a nice day
Ryu

I have a single “_un” file at the top-level of one of my shares on a PR4100 which is constantly being re-created with an ever-growing number in it. Currently it is a 9-digit number but it is growing fast.

I am presently running rsync on this NAS, copying data from it to another NAS. When I stop the rsync process, the _un file stops being recreated, and when I start rsync again the _un file is again recreated with the ever-growing number in it. To be clear, this is on the NAS where rsync is reading from. Also I tried running “while true; lsof -n|grep _un$; echo -n .; done” and I never see any processes with the file open.

I’d really like to know what is writing this file, and why!

# while true; do now="$(cat /mnt/HD/HD_a2/sharename/_un)"; if [ "$last" != "$now" ]; then last="$now"; echo "$(date) $now"; fi; sleep 1; done
Fri Nov  8 17:07:57 CET 2019 505292180
Fri Nov  8 17:08:02 CET 2019 515019982
Fri Nov  8 17:08:04 CET 2019 524752424
Fri Nov  8 17:08:09 CET 2019 534506774
Fri Nov  8 17:08:14 CET 2019 544202896
Fri Nov  8 17:08:17 CET 2019 553973996
Fri Nov  8 17:08:19 CET 2019 563700146
Fri Nov  8 17:08:27 CET 2019 573456630
Fri Nov  8 17:08:45 CET 2019 583157864
Fri Nov  8 17:09:02 CET 2019 592857292
Fri Nov  8 17:09:25 CET 2019 602555326
Fri Nov  8 17:09:45 CET 2019 612299136
Fri Nov  8 17:10:00 CET 2019 622021420
Fri Nov  8 17:10:18 CET 2019 631706882