How to best mount GH shares with NFS
Posted: Sun Dec 11, 2011 1:52 pm
I'd like to know the best way to mount gh shares with NFS so that they work correctly. Currently my movies share is exported like this:
When I copy a file to this share and it is moved to a drive in the pool, it works fine in Windows with Samba. However, when I access the file from another Linux machine, it looks like this:
Obviously the other Linux machine doesn't have the directory referenced by the symlink, so when I try to copy from there it gives me a "file not found" error. I'm assuming there's a way to mount shares so that Linux machines are able to access the target without resorting to CIFS. I've looked through the forums and haven't seen the correct way to accomplish this. As requested, gh details below:
1. What version of Fedora, Samba & Greyhole are you running?
2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):
http://fpaste.org/81PO/
http://fpaste.org/g4Ui/
3. The result of the following commands:
http://fpaste.org/PSKO/
http://fpaste.org/UXwX/
http://fpaste.org/HctE/
http://fpaste.org/tYBK/
4. The list drives in your storage pool (per Amahi platform):
5. A list of the directories on the root of the drives included in your storage pool, obtained with the following command (provide a paste URL):
http://fpaste.org/BOLY/
6. The Greyhole work queue:
Code: Select all
/var/hda/files/movies *(rw,insecure,all_squash,async,anonuid=48,anongid=48)
Code: Select all
lrwxrwxrwx 1 root root 51 Dec 11 01:36 Office2011.exe -> /var/hda/files/drives/sdd1/gh/Movies/Office2011.exe
1. What version of Fedora, Samba & Greyhole are you running?
Code: Select all
2.6.35.6-45.fc14.x86_64
samba-3.5.5-68.fc14.1.x86_64
hda-greyhole-0.9.2-1.x86_64
2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):
http://fpaste.org/81PO/
http://fpaste.org/g4Ui/
3. The result of the following commands:
http://fpaste.org/PSKO/
http://fpaste.org/UXwX/
http://fpaste.org/HctE/
http://fpaste.org/tYBK/
4. The list drives in your storage pool (per Amahi platform):
Code: Select all
+----+----------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+----------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/sda1 | 10 | 2011-12-11 07:01:10 | 2011-12-11 07:01:10 |
| 2 | /var/hda/files/drives/sdb1 | 10 | 2011-12-11 07:01:11 | 2011-12-11 07:01:11 |
| 3 | /var/hda/files/drives/sdc1 | 10 | 2011-12-11 07:01:13 | 2011-12-11 07:01:13 |
| 4 | /var/hda/files/drives/sdd1 | 10 | 2011-12-11 07:01:14 | 2011-12-11 07:01:14 |
| 5 | /var/hda/files/drives/sde1 | 10 | 2011-12-11 07:01:15 | 2011-12-11 07:01:15 |
| 6 | /var/hda/files/drives/sdf1 | 10 | 2011-12-11 07:01:17 | 2011-12-11 07:01:17 |
+----+----------------------------+--------------+---------------------+---------------------+
5. A list of the directories on the root of the drives included in your storage pool, obtained with the following command (provide a paste URL):
http://fpaste.org/BOLY/
6. The Greyhole work queue:
Code: Select all
Greyhole Work Queue Statistics
==============================
This table gives you the number of pending operations queued for the Greyhole daemon, per share.
Write Delete Rename
Movies 0 0 0
Music 0 0 0
Photos 0 0 0
TV 0 0 0
=======
Total 0 + 0 + 0 = 0
The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.
Spooled 0