NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Maxpower411
Apr 03, 2021Aspirant
Re: ReadyNas 516 More Command Timeout Headaches 2
I accidently Closed the post so I am reposting this due to my Nightmare- ReadyNas516, Latest Firmware/software- 6 disk NAS with 5 12TB Seagate Just Got done replacing 2 drives to get completely ...
- Apr 08, 2021
Maxpower411 wrote:
Stephen - I guess the goal is to delete this admin directory?? Will this fix my problem?
Isn't the dir required, or will it build a new one?
Let me try again to explain this.
/home is a linux mount point. The system normally will remount /data/home onto /home. This is done with the same command you used to mount / onto /mnt.
/home itself is supposed to be empty. The NAS software has an error check for that, and in your case the error is triggering.
The only way to make the error go away is to delete all the files and folders in the original /home. Once the system is running, the remount of /data/home means you can't just go into /home to do that. I had you mount / onto /mnt, because /mnt will doesn't include the remounts.
The error is only a concern because of the space taken up by the spurious files and subfolders. It sounds like that is neglible in your case, but it would be good to clean it up.
So the system won't rebuild the folder, and it isn't needed. The real folder is /data/home/admin, and that won't be affected by the deletion in /mnt/home. Deleting /home/admin when the system is running would be a big mistake, as that is the same as /data/home/admin.
Maxpower411 wrote:
I belive it is possible that the admin directory cant be deleted until we delete the hidden dir, and the hidden file-just my best guess.
I don't think so, but I'm not certain what the problem actually is. I am wondering if it's actually a btrfs subvolume (which would be very odd, but conceivable). Let's wait until the resync is finished, and then pick it up again.
Maxpower411
Apr 05, 2021Aspirant
Two of my Directories, Future and Documents are NOT inside of the home Directory-
I thought this would be OK, and I do have access to them. If I were to delete these directories, and then recreate them later inside the Home Direcctory whould this end this
issue of:
2021-04-04 20:54:43: home.mount: Directory /home to mount over is not empty, mounting anyway.
StephenB
Apr 05, 2021Guru - Experienced User
Maxpower411 wrote:
Two of my Directories, Future and Documents are NOT inside of the home Directory-
If I were to delete these directories, and then recreate them later inside the Home Direcctory whould this end this
issue of:
2021-04-04 20:54:43: home.mount: Directory /home to mount over is not empty, mounting anyway.
...
None of my Directories are in Home, they are now all in Data
No. That will not fix the error.
But how are you creating these directories? Are they shares created from the NAS web ui?
Home folders are special, and they are always associated with a NAS user account. Ordinary shares are never put in home, and you shouldn't be creating folders in home manually (or creating your folders manually in /data either). It sounds like you are doing that, instead of creating shares from the Web UI. If so, you shouldn't be doing that.
Maxpower411 wrote:
2021-04-04 20:54:43: home.mount: Directory /home to mount over is not empty, mounting anyway.
To fix this issue you need to first enable ssh on your NAS - which you do in the system->services->settings.
Next you log into the NAS using ssh. You use root as the username and the NAS admin password. Don't log in as admin.
On a Windows 10 PC, you do this by entering
ssh root@nas-ip-address
into the windows seach bar (using the real NAS IP address). The system will ask for confirmation on the NAS certificate the first time you do this, and of course you need to accept. On a Mac, you enter the same command from terminal.
Once logged in, you need to enter the following commands:
mount --bind / /mnt cd /mnt/home rm -rf * cd // umount /mnt
Be careful when typing these commands, as you can do damage if you type them incorrectly. If you see any errors, let us know what they are before you proceed further. The rm -rf * command is the one that deletes the files in the /home mount point. Note these files are invisible to you - the /home that holds your home folders is actually /data/home, not /home.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!