February 14, 20197 yr Hi, 'Fix common problems' plugin brought to my attention a duplicate 'user' folder in /mnt. When I looked in there via ssh I could indeed see both /mnt/user and /mnt/user0 folders. I could see no linking in the ssh ls commands, and the user folder had more subfolders in than the user0 folder. I proceeded to delete a duplicated folder from within /mnt/user0 to test what was going on, and now the same folder with all the data has disapeared from /mnt/user. The share for this folder has also disappeared from the shares tab in the unraid gui. Can somebody please help explain what is going and how I can get out of this mess?! Thankyou very much. EDIT: I just created a new share in the unraid GUI called Media, then I copied some files to it over samba. Low and behold now that Media folder and the files I copied into it are listed in both /mnt/user and /mnt/user0. Can anybody explain why I am seeing this happen? Thanks very much Diagnostics attached. asq-nas-diagnostics-20190214-1425.zip Edited February 14, 20197 yr by Ascii227
February 14, 20197 yr 1 minute ago, Ascii227 said: Hi, 'Fix common problems' plugin brought to my attention a duplicate 'user' folder in /mnt. When I looked in there via ssh I could indeed see both /mnt/user and /mnt/user0 folders. I could see no linking in the ssh ls commands, and the user folder had more subfolders in than the user0 folder. I proceeded to delete a duplicated folder from within /mnt/user0 to test what was going on, and now the same folder with all the data has disapeared from /mnt/user. The share for this folder has also disappeared from the shares tab in the unraid gui. Can somebody please help explain what is going and how I can get out of this mess?! Thankyou very much. You are supposed to have /mnt/user and mnt/user0. This is perfectly NORMAL. /mnt/user0 is just a view of the user shares without the folders/files on the cache disk. It's how unRAID keeps track of things when files exists on cache before the mover has moved them to the array. /mnt/user0 is the same as /mnt/user (except for the cache disk contents) and if you deleted a folder/files from it manually, you have also deleted it from /mnt/user. All top level folders on /mnt/user are shares. If you deleted one of those, you deleted a user share. I hope you have not caused yourself a lot of problems and I hope you have a backup of what was deleted or that it was not important data. When you start messing around with files manually between user shares and disk shares (and cache is a disk share) you could inadvertently cause data loss.
February 14, 20197 yr Author 15 minutes ago, Hoopster said: You are supposed to have /mnt/user and mnt/user0. This is perfectly NORMAL. /mnt/user0 is just a view of the user shares without the folders/files on the cache disk. It's how unRAID keeps track of things when files exists on cache before the mover has moved them to the array. /mnt/user0 is the same as /mnt/user (except for the cache disk contents) and if you deleted a folder/files from it manually, you have also deleted it from /mnt/user. All top level folders on /mnt/user are shares. If you deleted one of those, you deleted a user share. I hope you have not caused yourself a lot of problems and I hope you have a backup of what was deleted or that it was not important data. When you start messing around with files manually between user shares and disk shares (and cache is a disk share) you could inadvertently cause data loss. Dont worry, you dont need to patronise me about data loss. I am an IT Manager and have at least 3 copies of every piece of data I own If this is normal behavoir, why is the 'Fix Common Problems' plugin which is so widely praised and advised on this forum registering an error 'Duplicate User folder in /mnt'? EDIT: Sorry didnt mean to come across as snarky, just trying to understand the way unraid works! Edited February 14, 20197 yr by Ascii227
February 14, 20197 yr 4 minutes ago, Ascii227 said: I am an IT Manager and have at least 3 copies of every piece of data I own That's good. You'd be surprised how many do not have even a single backup thinking parity is sufficient. 4 minutes ago, Ascii227 said: If this is normal behavoir, why is the 'Fix Common Problems' plugin which is so widely praised and advised on this forum registering an error 'Duplicate User folder in /mnt'? I have no idea why FCP would complain about /mnt/user0 being a duplicate. In the many years I have been running unRAID and FCP, not once have I ever seen a warning about this. Without more context and without seeing exactly what the error message/warning said, it is hard to say what FCP may have been complaining about. Perhaps that is something best addressed by @Squid the author of FCP. The bottom line in this case is that you should have a /mnt/user0 if you have a cache disk in your array.
February 14, 20197 yr Author 2 minutes ago, Hoopster said: The bottom line in this case is that you should have a /mnt/user0 if you have a cache disk in your array. Thanks for confirming that this is normal behavoir. On rescanning my system with the FCP plugin I can confirm I got my wording wrong and that the error says 'Invalid user folder in /mnt' not 'duplicate user folder in /mnt' as I previously reported. I must have fake memoried myself seeing the duplicate folders in /mnt and linking this to the error in my brain. If Squid can help explain that would be great, but for me now it is enough to know that these duplicate folders are normal operation for Unraid. Thanks again.
February 14, 20197 yr 2 hours ago, Ascii227 said: 'Invalid user folder in /mnt' An invalid folder in /mnt is any folder that is NOT one of the following cache disk1, disk2 etc disks user user0 They tend to get created due to misconfigured host paths on a docker template, and the reason for it being an error is that they are stored in RAM, and if they are an actual mountpoint you've created yourself, then it really should be somewhere else, as anything in /mnt unRaid manages or potentially manages.
Archived
This topic is now archived and is closed to further replies.