That last reply was mostly to answer tekkb's question.
I took your advice in post 2 and have started to create symlinks and that works great.
Thanks for that.
Beiträge von 7ore
-
-
There is something really off with my permissions.
I cannot create a file in my zfs folders either. I tried by login in to eXtplorer-plugin and browsing to the folder and then create file.So I guess that issue is connected to this one.
-
Did umount and mount -a
I get Permission denied when I tried to add folder... -
cat /proc/mounts
Code
Alles anzeigenrootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=497177,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=406064k,mode=755 0 0 /dev/disk/by-uuid/ddb64aef-eed8-45bc-a6cd-28e758581111 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=1454560k 0 0 /dev/md0 /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08 xfs rw,noexec,relatime,attr2,delaylog,inode64,usrquota,grpquota 0 0 /dev/sdc1 /media/6484d924-0de7-4ffb-9d68-954d02e36c5b xfs rw,noexec,relatime,attr2,delaylog,inode64,usrquota,grpquota 0 0 rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0 //RT-N66U/usb3tb /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/usb3tb cifs rw,relatime,sec=ntlm,unc=\\RT-N66U\usb3tb,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.1,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1 0 0 //SERVER/FilmTV /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/FilmTV cifs rw,relatime,sec=ntlm,unc=\\SERVER\FilmTV,username=server,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.224,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0 //SERVER/OldWin7 /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/oldwin7 cifs rw,relatime,sec=ntlm,unc=\\SERVER\OldWin7,username=server,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.224,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0 //SERVER/TV /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/TVserier cifs rw,relatime,sec=ntlm,unc=\\SERVER\TV,username=server,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.224,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0 //LS-WVLA93/SHARE /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/share cifs rw,relatime,sec=ntlm,unc=\\LS-WVLA93\SHARE,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.121,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0 //SERVER/Big\040Disc /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/BigDisc cifs rw,relatime,sec=ntlm,unc=\\SERVER\Big Disc,username=server,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.224,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1 0 0 media-ior /media-ior zfs rw,relatime,xattr,noacl 0 0 media-ior/puh /media-ior/puh zfs rw,relatime,xattr,noacl 0 0
cat /etc/fstab
Code
Alles anzeigen# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=ddb64aef-eed8-45bc-a6cd-28e758581111 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=7ddb896d-29ca-4d21-93f5-bbefbb71f531 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 # >>> [openmediavault] UUID=a6eceb29-64d8-48b4-8703-1f79c9c59f08 /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08 xfs defaults,nofail,noexec,usrquota,grpquota,inode64 0 2 UUID=6484d924-0de7-4ffb-9d68-954d02e36c5b /media/6484d924-0de7-4ffb-9d68-954d02e36c5b xfs defaults,nofail,noexec,usrquota,grpquota,inode64 0 2 //RT-N66U/usb3tb /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/usb3tb cifs username=admin,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 //SERVER/FilmTV /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/FilmTV cifs username=server,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 //SERVER/OldWin7 /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/oldwin7 cifs username=server,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 //SERVER/TV /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/TVserier cifs username=server,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 //LS-WVLA93/SHARE /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/share cifs username=admin,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 //SERVER/Big\040Disc /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/BigDisc cifs username=server,password=[pwd],sec=ntlm,_netdev,iocharset=utf8 0 0 /media-ior/puh/puh /export/puh none bind 0 0 # <<< [openmediavault]
id sickbeard
uid=113(sickbeard) gid=100(users) groups=100(users),1000(Home) -
I have tried to fix this problem for a while now and I do not understand why this cant be done. SickRage cannot copy files to a share (log error further down).
For a short while I thought it worked but now the problem is back. I have restarted OMV at least once.
Could it be related to this error I get when I try to add a folder to my zfs pool?Code
Alles anzeigenError #6000: exception 'OMVException' with message 'Failed to mount 'media': mount: can't find /mnt in /etc/fstab or /etc/mtab' in /usr/share/openmediavault/engined/module/fstab.inc:90 Stack trace: #0 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleFsTab->startService() #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array) #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array) #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array) #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1) #9 {main}
Could it be that the error with fstab is caused by some permission problem? And that makes all my changes only work for this session and be reverted after a restart?
How can I fix this so all members in the Users group (that Sickrage should be a part of) can read and write in all shares? I can use these folders from all other computers on my network, even from my Android box running Kodi (adding Subtitles). That makes me think this must be a OMV problem.
Both these shares are added with "Remote Share" plugin. One is placed on a Buffalo Nas and the other is on a Windows 10 machine. I can read and write
Code2015-12-13 09:03:35 POSTPROCESSER::Unable to copy file /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/nyheter/tv/Scorpion.S02E11.HDTV.x264-LOL/scoprion.211.hdtv-lol.mp4 to /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/share/share/TV3/Scorpion/Season 02/Scorpion - S02E11 - The Old College Try.mp4: error 13 : Permission denied 2015-12-13 09:03:34 POSTPROCESSER::Unable to copy file /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/nyheter/tv/NCIS.Los.Angeles.S07E10.HDTV.x264-LOL/ncis.los.angeles.710.hdtv-lol.mp4 to /media/a6eceb29-64d8-48b4-8703-1f79c9c59f08/data/tools/mnt/FilmTV/TV/NCIS Los Angeles/Season 07/NCIS Los Angeles - S07E10 - Internal Affairs.mp4: error 13 : Permission denied
-
This, and other boxes like it is the main reason why I want more readable paths.
(Not sure if my link works, this is the one I added: https://drive.google.com/file/…u-25pMEVtbjRMZFRfTjg/view )
-
Just a follow up question. As I mentioned in the first post here, there was old remove things still in that file. How should I clean the system from things like this?
I know I could edit the file, but I guess that these pieces can be found in various places. -
OK. Rule number one. Wait a while...
The pool is in place now. The solution was to go out with the dog for a walk. -
Forgot one thing. I can see the folder in extplorer but I can't select anything from the pool in shared folders.
-
I have installed the ZFS plugin and I added a pool with mostly default settings. I selected name, Mirror and two drives. I left the rest of the settings as is.
Then I tried to add a Filesystem and when I tried to apply the change I got a "exception 'OMVException' with message 'Failed to mount 'media':
mount: can't find /mnt in /etc/fstab or /etc/mtab' in /usr/share/openmediavault/engined/module/fstab.inc:90" exception.What have I missed?
I saw a similar question and the one asking the question was asked to enter two commands:
omv-showkey mntent and omv-showkey sharedfolder
So I add those here if that applies to my question as well.Code
Alles anzeigen<mntent> <uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid> <fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname> <dir>/xxx/yyy/zzz</dir> <type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type> <opts></opts> <freq>0</freq> <passno>0|1|2</passno> <hidden>0|1</hidden> </mntent> <mntent> <uuid>c39f2c36-7262-4cb4-b0b1-654a7333429b</uuid> <fsname>media</fsname> <dir>/mnt</dir> <type>zfs</type> <opts>rw,relatime,xattr,noacl</opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> </mntent> <mntent> <uuid>911f38d6-6c61-4eee-81a1-22523de12b1d</uuid> <fsname>a6eceb29-64d8-48b4-8703-1f79c9c59f08</fsname> <dir>/media/a6eceb29-64d8-48b4-8703-1f79c9c59f08</dir> <type>xfs</type> <opts>defaults,nofail,noexec,usrquota,grpquota,inode64</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> </mntent> <mntent> <uuid>a695e0a1-bb28-4062-9696-03cf52ea03a6</uuid> <fsname>6484d924-0de7-4ffb-9d68-954d02e36c5b</fsname> <dir>/media/6484d924-0de7-4ffb-9d68-954d02e36c5b</dir> <type>xfs</type> <opts>defaults,nofail,noexec,usrquota,grpquota,inode64</opts> <freq>0</freq> <passno>2</passno> <hidden>0</hidden> </mntent> <mntent> <uuid>2e8e9415-e6e7-46f9-a4ce-284b0dacbe3a</uuid> <fsname>Kvothe</fsname> <dir>/Kvothe</dir> <type>zfs</type> <opts>rw,relatime,xattr,noacl</opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> </mntent> <mntent> <uuid>9a5229d3-44d0-44d8-a472-d2d1089f2e76</uuid> <fsname>kvothe</fsname> <dir>/mnt/</dir> <type>zfs</type> <opts>rw,relatime,xattr,noacl</opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> </mntent> <mntent> <uuid>785ff75c-34cd-4727-84b2-f75ca65cf59a</uuid> <fsname>kvothe</fsname> <dir>/mnt</dir> <type>zfs</type> <opts>rw,relatime,xattr,noacl</opts> <freq>0</freq> <passno>0</passno> <hidden>1</hidden> </mntent>
The odd thing here is that "Kvothe" is a old item from one of my first tries and now deleted...And as the post got too long, I posted the other file on Pastebin: (removed)
-
Thanks.
The problem is not selecting the path as much as the readability. The long guid makes them harder to tell apart.
And, actually, the real problem is not Emby as much as Sickrage where there are non scrollable fields for the paths (in a box were you add all folders with series in them and in my box I have four paths that looks exactly the same.)
And if there are no tooltips either, I need to select edit to really see if I selected the correct path. -
When I add shared folders in apps like Emby I browse through /media/[long guid]/shared folder.
Is there a way to use shorter paths (mainly without the guid) that makes them more readable without loosing the privileges? -
I tried a lot of things but the probable cause was that I had renamed the user on the windows server with most shares and I had to use the old name(!) in OMV to gain access.
-
I probably need to be more specific.
I have added a couple of shares that is located on a Window machine. I have added them in OMV with Remote Shares.
But even if I add shared folders open for everyone, I get permission denied.I have added folders on one of my file systems, added Shared folders and created shares in the plugin Remote Shares.
I have tried adding without user name and with user names in various formats without success.So what have I missed? I have given extplorer read/write privileges for these folders and tried to create dummy files, but I only get access denied.
So it is not just SickRage that have problems with.
I have no problem using these folders when I open them directly from other computers in the workgroup... -
I have set up my first NAS with a lot of trial and error...
But it is getting there. The problem I have now is that Couchpotato can take a file from my remote share and place it in another remote share (both on windows still, it will take a while before all is on the nas). But the file is only copied.
The problem is worse on Sickrage, here I get permission denied when trying to read the remote share. Even though the path is the same as for CP.
Do these two applications do the move task differently, and thats the reason for the different behavior?
Or is the answer in the fact that I could set read and write for the CP user but not for SB?I have tried to reset the priviliges for the shared folders pointing to this path, but I get permission denied when I do that too. I can reset the privileges for other remote shares from that same server, so I may have to clean up more thourough...
What can I do to clean this mess up and make sure both plugins can do what they are supposed to?
-
Yea, CP is the least problem. It is actually Sabnzbd I most want to keep the history for, cuz I have had use for it once in a while.
And that is the one I have not yet solved.
But I guess I can work around that... -
Thanks. I may end up with that.
I actually solved CouchPotato, I could copy the settings with winSCP to the correct path, set the privileges and then enable the tool and it works.
And SickRage had a built in tool for backup and restore . I did actually use that when I took the backup (duh). Thanks for reminding me.
Thanks for reminding me of that.
So now I only have to figure out hot to import everything into SABnzbd too. - It is very useful to be able to search for old things there...
Or I can set it up as a new one and search for old stuff in the other instance. We'll see how it ends. -
Hi, I have recently built me a NAS and installed OMV on it.
Now I am trying to learn how to best set up everything and I am slowly learning.I have installed Sabnzbd, CouchPotato and Sickrage on it (I had to start with Sickbeard and change it to SickRage for some reason).
Now to my current problem. I would like to reuse my settings and history from the Windows installation of these three tools.
I started with a backup of Sickrage and moved it to a share where I could point the Restore task to.
But no backups were found, probably because the windows backup created a zip-file while a .gz was expected.
I tried to do a quick and dirty fix by creating a backup and replace the content with the things from the zip-file. That failed. Probably becuase of wrong privilages...Can this be done or should I just recreate everything again? Would be nice to keep all Sabnzbd history though.
The different problems have been:
SickRage: Backup not found, tried with a zip-file and unpacked backup, no go.
SABnzbd: "Communication Failure" or "Bad Gateway"
CouchPotato: Here I cannot add the path to my backup.