Ich habe aus meinem alten VDR einen Fileserver gemacht und Trusty als OS installiert.
Leider bekomme ich keine Mounts mit avahi.
Den avahi-mounter habe ich auf dem yaVDR Client entfernt und durch den avahi-linker ersetzt.
Auf dem Server gibt es entsprechende Freigaben in der /etc/exports (disk1-disk8) und im avahi-Ordner
8 passende service Dateien, z.B.:
XML
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Disk1 on %h</name> ## Name
<service>
<type>_nfs._tcp</type>
<port>2049</port>
<txt-record>path=/srv/disk1</txt-record> ## path to shared Folder
<txt-record>subtype=disk1</txt-record> ## subtype
</service>
</service-group>
Alles anzeigen
Auf dem yaVDR Client werden mir die mounts mit showmount angezeigt, also nfs-seitig sollte es passen.
Es werden im Verzeichnis /media die Ordner disk1 - disk8 angelegt.
Darin liegen tote symlinks , z.B. /net/server/srv/disk1 - Problem ist nur, dass dieses Ziel nicht existiert.
Der Debug-log des Linkers sagt folgendes:
Code
2015-11-29 10:23:14,293 INFO Started avahi-linker
2015-11-29 10:23:14,410 DEBUG
Config:
media directory: /media
VDR recordings: /srv/vdr/video.00
autofs directory: /net
Local directories: {u'picture': u'/srv/picture', u'audio': u'/srv/audio', u'video': u'/srv/video', u'disk1': u'/srv/disk1'}
VDR Static remote directories: {}
Media Static remote directories: {}
use translations: True
Suffix for NFS mounts: (nfs)
use dbus2vdr: True
use VDR extra dirs: False
SVDRP-Port: 6419
IP whitelist: [IPv4Network('0.0.0.0/0'), IPv6Network('::/0')]
IP blacklist: []
Hostname: yaclient
Log to file: True
Logfile: /var/log/avahi-linker.log
Loglevel: DEBUG
2015-11-29 10:23:14,641 DEBUG Detected service 'Disk8 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,642 DEBUG Checking service 'Disk8 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,646 DEBUG Detected service 'Disk1 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,646 DEBUG Checking service 'Disk1 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,648 DEBUG Detected service 'Disk2 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,649 DEBUG Checking service 'Disk2 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,651 DEBUG Detected service 'Disk3 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,651 DEBUG Checking service 'Disk3 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,652 DEBUG Detected service 'Disk4 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,653 DEBUG Checking service 'Disk4 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,654 DEBUG Detected service 'Disk5 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,655 DEBUG Checking service 'Disk5 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,656 DEBUG Detected service 'Disk6 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,657 DEBUG Checking service 'Disk6 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,658 DEBUG Detected service 'Disk7 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,658 DEBUG Checking service 'Disk7 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,660 DEBUG Detected service 'Disk8 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,660 DEBUG Checking service 'Disk8 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,661 DEBUG Detected service 'Disk1 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,662 DEBUG Checking service 'Disk1 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,663 DEBUG Detected service 'Disk2 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,664 DEBUG Checking service 'Disk2 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,665 DEBUG Detected service 'Disk3 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,666 DEBUG Checking service 'Disk3 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,667 DEBUG Detected service 'Disk4 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,667 DEBUG Checking service 'Disk4 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,669 DEBUG Detected service 'Disk5 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,669 DEBUG Checking service 'Disk5 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,671 DEBUG Detected service 'Disk6 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,671 DEBUG Checking service 'Disk6 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,672 DEBUG Detected service 'Disk7 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,673 DEBUG Checking service 'Disk7 on server' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,675 DEBUG translated disk8 to disk8
2015-11-29 10:23:14,699 DEBUG translated disk1 to disk1
2015-11-29 10:23:14,701 DEBUG translated disk2 to disk2
2015-11-29 10:23:14,704 DEBUG translated disk3 to disk3
2015-11-29 10:23:14,722 DEBUG translated disk4 to disk4
2015-11-29 10:23:14,725 DEBUG translated disk5 to disk5
2015-11-29 10:23:14,748 DEBUG translated disk6 to disk6
2015-11-29 10:23:14,751 DEBUG translated disk7 to disk7
2015-11-29 10:23:14,770 DEBUG skipped share Disk8 on server on server.local: already used
2015-11-29 10:23:14,771 DEBUG skipped share Disk1 on server on server.local: already used
2015-11-29 10:23:14,773 DEBUG skipped share Disk2 on server on server.local: already used
2015-11-29 10:23:14,774 DEBUG skipped share Disk3 on server on server.local: already used
2015-11-29 10:23:14,776 DEBUG skipped share Disk4 on server on server.local: already used
2015-11-29 10:23:14,777 DEBUG skipped share Disk5 on server on server.local: already used
2015-11-29 10:23:14,779 DEBUG skipped share Disk6 on server on server.local: already used
2015-11-29 10:23:14,780 DEBUG skipped share Disk7 on server on server.local: already used
2015-11-29 10:23:14,781 DEBUG Detected service 'Videos on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,782 DEBUG Checking service 'Videos on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,784 DEBUG Detected service 'Music on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,784 DEBUG Checking service 'Music on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,786 DEBUG Detected service 'Pictures on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,787 DEBUG Checking service 'Pictures on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,789 DEBUG Detected service 'Recordings on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,790 DEBUG Checking service 'Recordings on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,792 DEBUG Detected service 'Videos on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,793 DEBUG Checking service 'Videos on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,795 DEBUG Detected service 'Music on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,795 DEBUG Checking service 'Music on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,797 DEBUG Detected service 'Pictures on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,798 DEBUG Checking service 'Pictures on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,800 DEBUG Detected service 'Recordings on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,801 DEBUG Checking service 'Recordings on yavdr' type '_nfs._tcp' domain 'local'
2015-11-29 10:23:14,805 DEBUG translated video to Video
2015-11-29 10:23:14,808 DEBUG translated audio to Musik
2015-11-29 10:23:14,811 DEBUG translated picture to Bilder
2015-11-29 10:23:14,813 DEBUG translated vdr to vdr
2015-11-29 10:23:14,835 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:15,837 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:16,838 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:17,840 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:18,841 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:19,843 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:20,845 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:21,847 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:22,848 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:23,850 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:24,852 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:25,854 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:26,855 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:27,857 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:28,859 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:29,861 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:30,863 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:31,865 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:32,867 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:33,869 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:34,870 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:35,871 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:36,873 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:37,875 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:38,877 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:39,878 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:40,880 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:41,882 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:42,883 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:43,885 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:44,887 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:45,889 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:46,890 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:47,891 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:48,893 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:49,895 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:50,897 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:51,898 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:52,899 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:53,901 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:54,903 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:55,905 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:56,907 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:57,909 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:58,910 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:23:59,912 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:00,913 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:01,915 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:02,917 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:03,919 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:04,921 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:05,922 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:06,924 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:07,925 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:08,927 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:09,929 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:10,931 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:11,932 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:12,934 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:13,936 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:14,937 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:15,939 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:16,941 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:17,942 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:18,943 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:19,945 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:20,947 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:21,949 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:22,950 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:23,951 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:24,953 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:25,955 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:26,957 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:27,958 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:28,959 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:29,961 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:30,963 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:31,964 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:32,966 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:33,967 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:34,969 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:35,971 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:36,972 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:37,974 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:38,975 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:39,977 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:40,979 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:41,981 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:42,982 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:43,983 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:44,985 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:45,987 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:46,988 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:47,990 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:48,991 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:49,993 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:50,995 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:51,996 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:52,998 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:54,000 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:55,001 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:56,003 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:57,005 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:58,006 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:24:59,007 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:00,009 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:01,011 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:02,013 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:03,014 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:04,015 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:05,017 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:06,019 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:07,021 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:08,022 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:09,024 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:10,025 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:11,027 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:12,029 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:13,030 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:14,031 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:15,033 DEBUG autofs-path does not exist, try again in 1s
2015-11-29 10:25:16,035 DEBUG autofs-path was not available within 120s, giving up
2015-11-29 10:25:16,036 DEBUG skipped share Videos on yavdr on yavdr.local: already used
2015-11-29 10:25:16,038 DEBUG skipped share Music on yavdr on yavdr.local: already used
2015-11-29 10:25:16,039 DEBUG skipped share Pictures on yavdr on yavdr.local: already used
2015-11-29 10:25:16,041 DEBUG skipped share Recordings on yavdr on yavdr.local: already used
Alles anzeigen
Es scheint da ein Problem mit autofs zu geben.
Auch die vdr-Shares kommen nicht.