February 18, 201313 yr I recently replaced my old 1TB cache drive with a different 500gb drive. i precleared the new 500 GB drive, then removed the old cache from the array, then added the new 500gb drive as the new cache drive. it all seems to work fine, but I cannot see anything on the cache drive from within windows. I can see the contents with PuTTy, and it all seems fine, but nothing in windows. I've ran the newperms script on the cache drive. I've rebooted the server, and still nothing with windows. any ideas?
February 18, 201313 yr What are the SMB security settings for your cache disk? From Main click cache.
February 18, 201313 yr Author sorry, i don't think i was clear before. I can see the share "cache" in windows, but when i select it, windows shows it to be empty (first screenshot) If I navigate to it with PuTTy, i can see the contents (second screenshot) My cache settings pretty much match yours, but I have mine as Public, not hidden, otherwise the same. ***Added syslog to this post. this line is probably the problem, but how did this happen, and how do i fix it? Feb 17 21:36:17 media emhttp: get_config_idx: fopen /boot/config/shares/cache.cfg: No such file or directory - assigning defaults There isn't a cache.cfg file here, but I'm not sure what it should be, nor why one isn't being created. syslog.zip
February 19, 201313 yr Author root@media:~# ls -lr /mnt/cache total 0 drwxrwxrwx+ 4 nobody users 96 2013-02-17 00:06 video/ drwxrwxrwx 6 nobody users 168 2012-07-07 18:48 plugins/ drwxrwxrwx 3 nobody users 72 2013-02-17 11:00 photos/ drwxrwxrwx 3 nobody users 80 2013-02-17 00:59 music/ drwxrwxrwx 3 nobody users 72 2013-02-16 20:16 documents/ drwxrwxrwx+ 6 nobody users 152 2013-02-18 00:47 backup/
February 19, 201313 yr You must have enabled hidden file support. I do not think hidden files are supported by default. The world execute bit is mapped to hidden. Change the permissions to 776 and the directories should appear.
February 20, 201313 yr Author I certainly didn't hide anything on purpose, nor would I know how to do so. I ran some commands to try to do what you suggested, but Linux is not my first language, so I'm not sure I've done it correctly. something has changed, but I still cannot see any directories in windows. I refreshed the view in windows, but have not rebooted or restarted anything... root@media:~# chmod -R 776 /mnt/cache root@media:~# cd /mnt/cache root@media:/mnt/cache# chmod 776 chmod: missing operand after `776' Try `chmod --help' for more information. root@media:/mnt/cache# chmod -R 776 /mnt/cache/ root@media:/mnt/cache# cd / root@media:/# find /mnt/cache/* -type d -exec chmod 776 {} \; root@media:/# ls -lr /mnt/cache total 0 drwxrwxrw-+ 4 nobody users 96 2013-02-17 00:06 video/ drwxrwxrw- 6 nobody users 168 2012-07-07 18:48 plugins/ drwxrwxrw- 3 nobody users 72 2013-02-17 11:00 photos/ drwxrwxrw- 3 nobody users 80 2013-02-17 00:59 music/ drwxrwxrw- 3 nobody users 72 2013-02-16 20:16 documents/ drwxrwxrw-+ 6 nobody users 152 2013-02-18 00:47 backup/
February 21, 201313 yr Author I'm not sure what effect that should have. it didn't require a reboot for it to stop working, and making a folder not hidden should not require windows to be rebooted to suddenly see it, but just to be sure, i have rebooted, and sadly, i still cannot see anything in the cache share any other ideas what might be causing the issue? I've considered removing the cache share, then adding it back, but I can't imagine why that would work either, and I don't have any room left on my array for the data on the cache drive, until i get a new disk put into production, but that's been it's own challenge lately.
February 21, 201313 yr Author changing the export settings for the cache share doesn't stick. if I change it to yes (hidden) or to no, then apply, it comes back as "yes" changing the security setting doesn't stick either. it's as if the share is 'stuck' somehow.
Archived
This topic is now archived and is closed to further replies.