Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
Thanks for looking at this. Log attached.
Enigma2_debug_2022-11-13_22-20-53.log
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
Updated log attached
Enigma2_debug_2022-11-14_22-56-30.log
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
First log is updated Harddisk.py with NFS mount through E2. I had specified nfsvers=4 in the mount options in E2, but then nfsvers=3 was added. Seems to mount with NFSv3. Getting errors that /media/net/beast/subdir is not writable (to see the data in the ZFS sets, you need to mount with nfsvers=4)
Enigma2_debug_2022-11-16_22-55-13.log
So I then edited /etc/fstab on my E2 box to remove the nfsvers=3 (and, therefore, leave nfsvers=4). Reboot and here's the log (sets now visible in shell but getting same errors about it not being ext/nfs partition)
Enigma2_debug_2022-11-16_23-01-41.log
Thanks… away until Sunday, so may not be able to do much until then … but will have a look later today at logs
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
chulann (09-12-22)
so both logs show 224.5516> [RecordingSettings] valid partitions ['/media/net/beast/', '/media/net/beast'] from Records.py ----> isValidPartition (called by TimeShift & Recordings.py)
so where is it being rejected??? i.e. "Getting errors that /media/net/beast/subdir is not writable"
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
chulann (09-12-22)
Thanks for your help. After a lot of adding lines , rebooting and looking at logs, I think I've found the issue - though how to fix it, I'm not sure.
I added this into Recordings.py as part of isValidPartition
Result is:Code:rp = realpath(path) cp_rp = Components.Harddisk.findMountPoint(realpath(path)) print("[Recordings] Path is: %s, realpath is: %s, realpath from findMountPoint: %s" % (path, rp, cp_rp))
The NFS mount in /etc/fstab is /media/net/beast - but nfs4 will result in each ZFS dataset displaying as a separate mount - hence the path doesn't match with the result from findMountPoint.Code:[Recordings] Path is: /e2/recordings/, realpath is: /media/net/beast/enigma2/recordings, realpath from findMountPoint: /media/net/beast/enigma2
I have gone back through the source and I don't think the findMountPoint has changed in a long time so don't know why it worked for me in 5 but not in 6. My guess is it's some difference in how python3 deals with os.path
An NFS mount should be just an NFS mount. How it actually exists on the server should be irrelevant.
Difficult to see how someone would have made the code deliberately perverse.My guess is it's some difference in how python3 deals with os.path
But it's also interesting how realpath() converts it to the correct result.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
chulann (09-12-22)
Please post debug.Code:def isValidPartition(self, path): print("path", path) if path is not None: supported_filesystems = ('ext4', 'ext3', 'ext2', 'nfs', 'cifs', 'ntfs') valid_partitions = [] for partition in Components.Harddisk.harddiskmanager.getMountedPartitions(): if partition.filesystem() in supported_filesystems: valid_partitions.append(partition.mountpoint) print("[" + self.__class__.__name__ + "] valid partitions", valid_partitions) if valid_partitions: from os.path import abspath print("Components.Harddisk.findMountPoint(abspath(path))", Components.Harddisk.findMountPoint(abspath(path))) print("Components.Harddisk.findMountPoint(realpath(path))", Components.Harddisk.findMountPoint(realpath(path))) return Components.Harddisk.findMountPoint(realpath(path))+'/' in valid_partitions or Components.Harddisk.findMountPoint(realpath(path)) in valid_partitions return False
chulann (09-12-22)
chulann (09-12-22)
Enigma2_debug_2022-12-07_23-05-02_redact.log
I've cut it just after it picked up the log lines I added to Recordings.py. Interestingly, the getMountedPartition lines that twol added pick up both /media/net/beast and /media/net/beast/enigma2 (125.6412) in the dump but not in the individual lines (125.6425, 125.6428, 125.6432). I note valid_partitions has a double entry of ['/media/net/beast/', '/media/net/beast']. Wonder if /media/net/beast/enigma2 is getting cut down by some function.
Yes, correct. If I use nfs/nfs3, the datasets won't mount so I can effectively only get at the root directory. I have added ext4 to supported_filesystems (and it seems to work).