NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
srv-easebuzz
Nov 04, 2020Aspirant
Failed to see all Directories in Admin page and in GUI at user end
Hey There, I am facing issue with my ReadyNAS RN424 which is connected to the network. I am not able to see my all directories in GUI mode i.e in admin panel. When I tried to connect with SSH, I am ...
StephenB
Nov 04, 2020Guru - Experienced User
srv-easebuzz wrote:
I am facing issue with my ReadyNAS RN424 which is connected to the network. I am not able to see my all directories in GUI mode i.e in admin panel. When I tried to connect with SSH, I am able to see all my data and directories in console (SSH using terminal). When I tried to access with the IP address in run command prompt then I am able to connect but not able to see all directories.
Can you clarify this a bit?
You need to create the main folders in the volume via the shares page of the web ui. You can create subfolders in them using Windows or ssh, but you don't want to manually create folders in the root of the volume.
I'm confused on whether the "missing" folders are in a share or not.
If you are using net use with the NAS admin credentials, you should be able to mount the full data volume as a drive letter. That should show you everything.
- srv-easebuzzNov 05, 2020Aspirant
Thanks for your reply StephenB. Yes I agree with you. But the directories or folder which was present earlier are not showing in shares in web UI, They are maybe hide or some sort of service issue. But yes when I create new folder in web UI is accessible at admin page as well as with IP access. When I checked with console using SSH I am able to see all my folders inside data folder which was present earlier but not able to see in web UI under shares tab.
- StephenBNov 05, 2020Guru - Experienced User
Ok. So shares that were present in web ui before are no longer shown, but the data is still intact when you look with ssh?
If so, I think the first thing to check is that the OS partition has a good amount of free space. A full (or nearly full) OS partition can cause a lot of problems, and one of them is corruption of the NAS configuration files. You can do that with the btrfs fi show command
root@NAS:/# btrfs fi show // Label: '2fe72582:root' uuid: b9eb2386-9157-4946-8233-bd275c82a515 Total devices 1 FS bytes used 998.05MiB devid 1 size 4.00GiB used 1.53GiB path /dev/md0As you can see, it is nomally about 25% full (998.05 MiB of FS bytes).
The total used (in the last line) is also relevant - that includes space that is allocated, but not actually used for files. As you can see, in my own system the allocated space is about 38% of the total.
If your space usage is substantially higher than my numbers, you should post back. Apps will make some difference in this (though apps are supposed to use the data volume /.apps folder for storage, some don't do that).
If the OS partition looks good, then there is an ssh repair script you could try: https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh
This script was written by someone at Netgear - but like all ssh usage, you are on your own if you try it. It would be wise to make sure you have a backup of your files before you run it. Still, others here have used it successfully, and I haven't seen a report of it doing damage.
Another thing you could do for each missing share:
- rename the missing share with ssh
- create a new share with the original name
- destroy the new share (empty) with ssh using btrfs subvol delete
- change the name of the original share back to the original name.
This won't work for missing home folders, but it should work for ordinary shares.
- SandsharkNov 05, 2020Sensei - Experienced User
Before running the script, you can do first is to check whether the entries it fixes are actually missing. For volume data, use ls /data/._share -all. If there isn't a listing there for each share on the volume, then that is your problem and the script should fix it.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!