I'm not sure how this has happened, but here's my issue.
I use Headphones, and it seems for some recent folders I'm not seeing the files in their folders.
For example, the following folder is empty when viewed from a Windows client computer:
\\HDA\Music\Re-tagged Music\Yeasayer\Fragrant World\
also, from the HDA, this folder is empty
/mnt/samba/Music/Re-tagged Music/Yeasayer/Fragrant World
however, there are files here:
/var/hda/files/drives/drive4/gh/Music/Re-tagged Music/Yeasayer/Fragrant World
As I say, I don't know how this occurred, but it's not for all folders, just 'recent' ones. Any thoughts?
Anyway to fix this?
SOLVED: Files found in /drives but not /mnt/samba
Re: Files found in /drives but not /mnt/samba
There won't be files in /mnt/samba unless you are using Mount Shares Locally. If you are, then try restarting the service.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Files found in /drives but not /mnt/samba
a manual restart of the service, and then a reboot of the server did not resolve it.
If I check headphones, it is listing the /mnt/ location correctly for the files in that folder, so it was there a one point.
If I check headphones, it is listing the /mnt/ location correctly for the files in that folder, so it was there a one point.
- Attachments
-
- 2014-10-29_125850.jpg (39.9 KiB) Viewed 4579 times
Re: Files found in /drives but not /mnt/samba
Could be a permissions issue. You could try as root user:
Also verify the missing files have the correct ownership and file system permissions.
Code: Select all
service mount_shares_locally stop
rm -rf /mnt/samba/*
service mount_shares_locally start
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Files found in /drives but not /mnt/samba
In my set up, drive 4 and drive 5 are part of my storage pool.
If I look at /var/hda/files/drives/drive4/gh I can see my folder structure.
But /var/hda/files/drives/drive5/gh is empty.
Is that normal for greyhole?
If I look at /var/hda/files/drives/drive4/gh I can see my folder structure.
But /var/hda/files/drives/drive5/gh is empty.
Is that normal for greyhole?
- Attachments
-
- 2014-10-29_134756.jpg (38.51 KiB) Viewed 4575 times
Re: Files found in /drives but not /mnt/samba
manual stop start didn't help.
If I check a file in /var/hda/files/drives/drive4/gh/Music/Re-tagged Music/Yeasayer/Fragrant World, it's permission is 0664.
Which directory show I chmod it recursively from, the /mnt or the /drive?
If I check a file in /var/hda/files/drives/drive4/gh/Music/Re-tagged Music/Yeasayer/Fragrant World, it's permission is 0664.
Which directory show I chmod it recursively from, the /mnt or the /drive?
Re: Files found in /drives but not /mnt/samba
Ok, if a drive is not populated, then you might have missed something. Are you doing this via command line or using the Greyhole UI app?
DO NOT mess with files in the gh folders. That is a good way to mess things up. Check permissions in /var/hda/files/share only. There might be some help in Mount Shares Locally wiki page.
DO NOT mess with files in the gh folders. That is a good way to mess things up. Check permissions in /var/hda/files/share only. There might be some help in Mount Shares Locally wiki page.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Files found in /drives but not /mnt/samba
I've been running gh for about 2 months now, following the wiki, and the UI. It's fine for other music files in the same parent folder, it's just an issue in some recent items.
I always go thru the /mnt/ folder. I'm only looking into the /drive folder to see what's happening.
The properties for the folder /mnt/samba/Music/Re-tagged Music/Yeasayer/Fragrant World is 770. There's no files inside to check
/var/hda/files is 755.
I'm using WinSCP to check all of this, and Windows 8 to view the folders.
I always go thru the /mnt/ folder. I'm only looking into the /drive folder to see what's happening.
The properties for the folder /mnt/samba/Music/Re-tagged Music/Yeasayer/Fragrant World is 770. There's no files inside to check
/var/hda/files is 755.
I'm using WinSCP to check all of this, and Windows 8 to view the folders.
Re: Files found in /drives but not /mnt/samba
Check to see that the files are owned by 1st admin user:users in /var/hda/files/share and /mnt/samba. The 1st admin user is the one you created when you initially installed Amahi.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Files found in /drives but not /mnt/samba
I checked the greyhole log, and it was full of entries that looked like this
It looks like there was an issue with Drive 5, so I shut down the server, pull the drive out, re-seated it, and rebooted.
All my files are back!!!!
Thanks for your help
Code: Select all
Oct 29 17:49:34 DEBUG fsck: Loading metafiles for Music/Music Collection/Orchestra/More Broadway Musical/Metadata/Orchestra - More Broadway Musical - 12 - Sound Of Music - The Sound of Music.jpg ...
Oct 29 17:49:34 DEBUG fsck: Got 2 metadata files.
Oct 29 17:49:34 INFO fsck: Missing file copies. Expected 2, got 1. Will create more copies using /var/hda/files/drives/drive4/gh/Music/Music Collection/Orchestra/More Broadway Musical/Metadata/Orchestra - More Broadway Musical - 12 - Sound Of Music - The Sound of Music.jpg
Oct 29 17:49:34 DEBUG fsck: Drives with available space: /var/hda/files/drives/drive4/gh (976GB avail) - /var/hda/files/drives/drive5/gh (973GB avail)
Oct 29 17:49:34 DEBUG fsck: Reordered drives, per sticky_files config: /var/hda/files/drives/drive4/gh - /var/hda/files/drives/drive5/gh
Oct 29 17:49:34 WARN fsck: Failed to create directory /var/hda/files/drives/drive5/gh/Music
All my files are back!!!!
Thanks for your help
Who is online
Users browsing this forum: No registered users and 21 guests