I just did a complete fresh install 4.13 and then upgraded to 4.17 still when running a apt-get update i was getting the weakref.py error, fixed it by editing the file again but i found it very strange that that bug is still there
Beiträge von ArmandH
-
-
@ellnic thanks again i went back to 4.9 and installed the headers and reinstalled the zfs plugin that went all good now.
root@nas:~# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
onepool 3.62T 1.22T 2.41T - 12% 33% 1.00x ONLINE -root@nas:~# cd /onepool
root@nas:/onepool# ls
docker downloads kids movies music photos series timemachine videos
root@nas:/onepool# cd movies
root@nas:/onepool/movies# ls
root@nas:/onepool/movies#So i have still the same problem as i had on 4.16 can not see my data, all these folders have data and i hope not to loose it, everything was working fine before on 15 till i upgraded to 4.16, now running 4.9.
EDIT: OK i solved it, i didn't check if the zfs pool was mounted trying to mount it revealed that the pool folder was not empty, i have no idea how the same structure ended up there, i deleted it and could mount the pool, can access all data now , happy again.
Thanks to all that helped, specially @ellnic
-
@ellnic thanks for your help, but this is the result:
root@nas:~# apt search linux-headers-$(uname -r)
Sorting... Done
Full Text Search... Done
root@nas:~#root@nas:~# apt install -t stretch-backports linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.15.0-0.bpo.2-amd64
E: Couldn't find any package by glob 'linux-headers-4.15.0-0.bpo.2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.15.0-0.bpo.2-amd64'
root@nas:~#EDIT: on debian site i found this:
There is no maintainer for linux-headers-4.15.0-0.bpo.2-amd64. This means that this package no longer exists (or never existed). Please do not report new bugs against this package
-
Hi back from holiday trying to solve my problem anyone have an idea why the folders are empty of my pool but the pool size still suggests the data is there
root@nas:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
onepool 1.22T 2.29T 1.22T /onepool
root@nas:~# cd /onepool
root@nas:/onepool# ls
docker downloads kids movies music photos series timemachine videos
root@nas:/onepool# ls *
docker:
downloads:
deluge transmission
kids:
movies:
music:
photos:
series:
timemachine:
videos:root@nas:/onepool# uname -a
Linux nas 4.16.0-0.bpo.1-amd64 #1 SMP Debian 4.16.5-1~bpo9+1 (2018-05-06) x86_64 GNU/Linuxor how can i get back to my old situation without reinstalling OMV.
Thanks
EDIT:
Removed zfs plugin, moved back to 15 kernel and reboot
Disabled test repo
When trying to install zfs plugin get errorSetting up openmediavault-zfs (4.0.2-1) ...
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.15.0-0.bpo.2-amd64
dpkg: error processing package openmediavault-zfs (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault (4.1.6) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-zfs
E: Sub-process /usr/bin/dpkg returned an error code (1)root@nas:~# zfs list
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
root@nas:~# /sbin/modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.15.0-0.bpo.2-amd64
root@nas:~# uname -a
Linux nas 4.15.0-0.bpo.2-amd64 #1 SMP Debian 4.15.11-1~bpo9+1 (2018-04-07) x86_64 GNU/LinuxHow can i get zfs to work again on 15 kernel?
-
i have your test build running in the 16 see the other thread but i am issue not seeing my files
-
I got my zfs back in 16 kernel but when forcing the mount of my pool my pool is empty :-((((
Only my folders are there but nothing in it
root@nas:/onepool# ls *
docker:downloads:
deluge transmissionkids:
movies:
music:
photos:
series:
timemachine:
videos:
Weird thin is it says:
root@nas:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
onepool 1.22T 2.29T 1.22T /onepoolso nothing but still 1.22T in use, i most forget something
-
I booted back to 16 as i was curious if i had same header issue there and yes i did trying to install it i get the following problem
root@nas:~# apt install linux-headers-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
linux-headers-amd64 : Depends: linux-headers-4.16.0-0.bpo.1-amd64 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@nas:~# apt install linux-headers-4.16.0-0.bpo.1-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
linux-headers-4.16.0-0.bpo.1-amd64 : Depends: linux-compiler-gcc-6-x86 (>= 4.14.17-1~) but 4.9.88-1+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@nas:~# apt install linux-compiler-gcc-6-x86
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-compiler-gcc-6-x86 is already the newest version (4.9.88-1+deb9u1).
linux-compiler-gcc-6-x86 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.So on 16 i am also not able to install the headers as it wants a compiler newer or equal to 4.14 but 4.9.88 is installed ?
Now i am stucked as i am also not able to compile zfs manually for the 16 kernel without the header install.
EDIT: Do i need to go to the stretch backports to get higher version little weird or not?
-
I went back to 14 still sawe problem
root@nas:~# uname -a
Linux nas 4.14.0-0.bpo.3-amd64 #1 SMP Debian 4.14.13-1~bpo9+1 (2018-01-14) x86_64 GNU/LinuxWhen trying to install the headers it seems to search for 16 dependency while i am on 14 now
root@nas:~# apt install linux-headers-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
linux-headers-amd64 : Depends: linux-headers-4.16.0-0.bpo.1-amd64 but it is not going to be installed
E: Unable to correct problems, you have held broken packages. -
yeah it didn't help changing back to in my case 4.15 kernel still getting zfs errors.
root@nas:~# uname -a
Linux nas 4.15.0-0.bpo.2-amd64 #1 SMP Debian 4.15.11-1~bpo9+1 (2018-04-07) x86_64 GNU/Linuxroot@nas:~# zfs status
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
root@nas:~# /sbin/modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.15.0-0.bpo.2-amd64 -
Thanks guys for the fast response i went for 5 sec fix as i am going a few days on holiday, maybe after that i will do the compile
Big Thanks
-
oh damn..... i just upgraded and see this thread...
root@nas:/onepool# systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-05-17 17:46:28 CEST; 3h 39min ago
Docs: man:zfs(8)
Main PID: 598 (code=exited, status=1/FAILURE)
CPU: 14msMay 17 17:46:28 nas systemd[1]: Starting Mount ZFS filesystems...
May 17 17:46:28 nas zfs[598]: The ZFS modules are not loaded.
May 17 17:46:28 nas zfs[598]: Try running '/sbin/modprobe zfs' as root to load them.
May 17 17:46:28 nas systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
May 17 17:46:28 nas systemd[1]: Failed to start Mount ZFS filesystems.
May 17 17:46:28 nas systemd[1]: zfs-mount.service: Unit entered failed state.
May 17 17:46:28 nas systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
root@nas:/onepool# /sbin/modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.16.0-0.bpo.1-amd64How should i go back, how can i fix this?
-
According to the website
"In addition, up to two 3.5" hard drives or two 2.5" HDD/SSDs can be installed.
An additional 2.5" HDD/SSD can be mounted in the back of the case, instead of an 80 mm fan." -
Hi Votdev,
Checking the syslog i see it seems related to my zfs
Mar 3 13:01:34 nas omv-engined[4926]: PHP Fatal error: Interface 'OMV\System\Filesystem\IFilesystem' not found in /usr/share/php/openmediavault/system/filesystem/filesystemzfs.inc on line 5
Mar 3 13:01:44 nas omv-engined[4969]: PHP Fatal error: Interface 'OMV\System\Filesystem\IFilesystem' not found in /usr/share/php/openmediavault/system/filesystem/filesystemzfs.inc on line 5
Mar 3 13:01:53 nas omv-engined[5015]: PHP Fatal error: Interface 'OMV\System\Filesystem\IFilesystem' not found in /usr/share/php/openmediavault/system/filesystem/filesystemzfs.inc on line 5 -
Same here
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186Stack trace:#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('FileSystemMgmt', 'getList', Array, Array, 3)#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#2 {main}
-
Thanks i am upgrading mono as well, not because of duplicati but because i am having big issues with server load and mono , hopefully newer version solves that a little.
-
I have this also on OMV 4 did you found a solution?
-
ok i think i run into this https://github.com/OpenMediaVa…nmediavault-zfs/issues/27
root@nas:/# zfs get mounted -t filesystem
NAME PROPERTY VALUE SOURCE
onepool mounted no -
root@nas:/# zfs mount -a
cannot mount '/onepool': directory is not empty
root@nas:/# zfs umount -a
root@nas:/# zfs get mounted -t filesystem
NAME PROPERTY VALUE SOURCE
onepool mounted no -
root@nas:/# ls /onepool
docker downloads kids movies music photos series videos
root@nas:/# mkdir poolcopy
root@nas:/# mv onepool poolcopy
root@nas:/# ls /onepool
ls: cannot access '/onepool': No such file or directoryroot@nas:/# zfs mount -a
root@nas:/# zfs get mounted -t filesystem
NAME PROPERTY VALUE SOURCE
onepool mounted yes - -
Further investigation show that maybe i am copying to just a directory and not the pool
root@nas:/# systemctl status zfs-mount
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-01-08 15:31:19 CET; 19h ago
Docs: man:zfs(8)
Main PID: 831 (code=exited, status=1/FAILURE)
CPU: 12msWarning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
root@nas:/# zfs get mounted -t filesystem
NAME PROPERTY VALUE SOURCE
onepool mounted no -So why doesn't it get mounted?
-
Hi,
I noticed that the ZFS filesystem in the GUI under Storage / filesystems does not show the Total / Available and Used size. It just shows n/a.
Also i noticed that somehow the used space is not correct.# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
onepool 3.62T 692K 3.62T - 0% 0% 1.00x ONLINE -But in my docker for example Radarr i only see 208.4 GB Free Space and Total 281.4 GB ???
Why doesn't it see the 3.6Tb? it is if it only is seeing the OS OMV disk, but not the pool.Both are not correct as yesterday i have put about 16Gb of movies in my pool and the pool size didn't change is this a bug or am i looking wrong?
Probably this is something simple that i just do not seeThanks for your help,
Armand -
Hi,
I see that most people activate the testing repo of the extras, is this needed?
As i only have the stable repo active and i am running ZFS plugin.Debian GNU/Linux, with Linux 4.14.0-0.bpo.2-amd64
Thanks