• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3807
  • Last Modified:

Qnap share folder property

I have question regard the share folder property,

I was having data in my public share folder it around 40 GB and on my private share the data size is 400GB. …. So when I change the option in the share folder property from Hide network drive from NO to YES then I reload the page or refresh the size is change to 0 KB and to 0 folder. I tried to access the share drive from my account as well as the admin account the problem sill same am no able to see my files. I change it back to from YES to NO still I can access the share but i can't see the files.

When I went to Resource Monitor I see the amount of data usage 400GB and 40GB is the still their not deleted it from the storage. So how can access my data.

i tried Restore Default Network Shares still i can't see the files.
Thanks
0
G55
Asked:
G55
  • 6
  • 5
1 Solution
 
kode99Commented:
I sounds like setting the hide option may have not only set the share directory to hidden but also set all the files and subdirectories in it that way as well.

Try setting your options in windows to show hidden files,  look in Tools->Folder Options on the View tab there is a option to select show hidden files.

If this works you should be able to turn off the hiding on the files and directories.

Alternately you may need to log into the NAS via console and change the settings via command line.

Here's a short walk through for that,

http://forum.qnap.com/viewtopic.php?t=17822

0
 
G55Author Commented:
hi  kode99,
 i tried to access my qnap throw putty using admin username, then i enter cd /share after that ls i see all the share drive but i can't access them.

for example i have share called testing when i type cd / testing  the message says no such file or directory.

so now what is the next step i have to do.
0
 
kode99Commented:
I take it trying to do anything in windows did not work.

You would need to do 'cd testing', 'cd /testing' will try to switch to the directory from the root directory.  You would need 'cd /share/testing' if you use a leading backslash.

Also if that does not work do a 'ls -l' and see what user owns the directories and what the permissions are.

0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
G55Author Commented:
hi  kode99,


i tried  both command

 chmod -R -X *folder
Your foldername you need to unhide

chmod -R +X **folder
Your foldername you need to hide .

still it gave me massage says operation not permitted.so what to do to unhide the folder what is your advice. check the pictures
attached
qnap1.JPG
qnap2.JPG
0
 
kode99Commented:
I supposed to have  a new qnap unit in later this week so I can take a close look at the setup and normal permissions and see exactly what the hide feature does.

What model and software version is yours?

Does 'ls -l'  show from anything from within the share directory?

Might not hurt to try qnap support or the official forum in the meantime.

http://forum.qnap.com/

I doubt this is the intended operation of the hide feature.  I have never used it on one of the qnap units to date though.

Right now I am thinking that if you have backups of the data in question you might be better off to set it up from scratch and restore the backup to the unit.
0
 
G55Author Commented:
hi Kode99,

 I really would like to thank you for your  support, my qnap model is TS-459 Pro+ 3.4.3 Build 0520T.  when i type ls-l within share directory i cant see anything.

Regard the qnap forum I  tried as well but without any feedback check the attached picture.

my question when i back my date there are two options:

First:      Back using external drive. Back up to an external storage device. It shows available shares + shares to backup.

Second : USB One Touch Copy

which one do you think is the best I don't wont to use cloud backup.
qnap.JPG
0
 
kode99Commented:
Just got the NAS in the other day.

Probably download WinSCP,  this will let you directly browse the file structure of the unit,

http://winscp.net/eng/download.php

On the qnap unit you will have to go into Network Services -> Telnet/SSH and set Allow SSH and SFTP  enable.  Then you can just connect to the IP of the NAS and login with the admin user and password.

The shares are setup within the /share directory.  You should see any share names alone with HDA_DATA, HDB_DATA etc.  These are the installed drives IF they are not setup in a raid.  If you have one array setup it will be in MD0_DATA,  further will be numberd MD1 etc.

The share names are just links to the actual folders within the HD or MD directories.  Take a look into these directories and see if there are any files in there.

I changed the hidden share option and it only sets the share visibility and does not mess with file settings.  Not really sure what happened with your unit.

The advanced options on the shares do enable setting different permissions up for directories within a share - but even if you do not have access you still should see the top level of directories.

If you can scan through these directories with winscp and see if you can find anything.

As for the backup method,  the one touch method when compared to the backup to external drive is pretty limited in that it is only going to copy one share.  The external drive can setup all the shares,  schedule it etc.

0
 
G55Author Commented:
Hi Kode99  I would like to thank you,  i see all of my files. It is work fine now.


0
 
G55Author Commented:
Without expert exchange website I will never see my 400GB data. From today I will renew my account  with expert exchange yearly, am very happy to see my Data. thanks  kode 99.
0
 
kode99Commented:
Glad to hear you were able to find the data.

I have seen reference to a few cases similar to this and it appears the configuration gets corrupted somehow.  Within the System Administration menu there is a Backup/Restore Settings.  It would be wise to keep a backup copy of the NAS setup.  I expect that restoring the settings would have also fixed the issue with the share.


0
 
G55Author Commented:
Use sure I will do the backup/restore soon.
Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now