iSCSI on a ZyXEL NAS?

Marvell Kirkwood based
barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: iSCSI on a ZyXEL NAS?

Post by barmalej2 » Tue Nov 08, 2016 8:31 pm

So don't reboot your NAS. As I can't reproduce error/start issue with xupnpd myself, I would much appreciate your help to find out where is the problem.

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: iSCSI on a ZyXEL NAS?

Post by MrDini » Tue Nov 08, 2016 8:35 pm

Okay certainly, but not today.

Btw the start script worked, because I started/killed the xupnpd while testing the plugin, but after a reboot it created a loop...
Thanks nas-central the lot of help! :)

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: iSCSI on a ZyXEL NAS?

Post by MrDini » Sat Nov 12, 2016 2:18 pm

I reinstalled the package and the start script works. But when I Do a reboot, it causes a loop again... :o
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: iSCSI on a ZyXEL NAS?

Post by barmalej2 » Sat Nov 12, 2016 6:32 pm

Can you paste ffpboot.log from \\<nas>\admin\zy-pkgs\ffp and serial console boot output?

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: iSCSI on a ZyXEL NAS?

Post by MrDini » Sun Jan 01, 2017 7:00 pm

I looked for the tgt package. Because it is userspace (not kernel based, like the SCST) It works really cool, except one thing... And this is a perl script, which Can generate/paste the target configs. Because this script needs a Config/General.pm module, which isn't exist (?) at the br2 repo's perl package I think. Here is the console output, when I try to run this perl script, it gives me this:

Code: Select all

Can't locate Config/General.pm in @INC (you may need to install the Config::General module) (@INC contains: /ffp/lib/perl5/site_perl/5.24.0/arm-linux-thread-multi-64int /ffp/lib/perl5/site_perl/5.24.0 /ffp/lib/perl5/vendor_perl/5.24.0/arm-linux-thread-multi-64int /ffp/lib/perl5/vendor_perl/5.24.0 /ffp/lib/perl5/5.24.0/arm-linux-thread-multi-64int /ffp/lib/perl5/5.24.0 /ffp/lib/perl5/site_perl/5.14.2 /ffp/lib/perl5/site_perl /ffp/lib/perl5/vendor_perl/5.14.2 /ffp/lib/perl5/vendor_perl .) at /ffp/sbin/tgt-admin line 10.
Has anybody have a working perl package, with included Config/General.pm module, or I have to recompile it? Or maybe there is just a wrong path caused error? :?:

Thanks, and happy new year! :)
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: iSCSI on a ZyXEL NAS?

Post by barmalej2 » Sun Jan 01, 2017 10:05 pm

MrDini wrote:Has anybody have a working perl package, with included Config/General.pm module, or I have to recompile it? Or maybe there is just a wrong path caused error? :?:
I don't have any reason to think, that my perl package is non-working and I don't see any reason, what makes you think like that.
Config::General is not core module. You need to compile it yourself.

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: iSCSI on a ZyXEL NAS?

Post by MrDini » Sun Jan 01, 2017 10:50 pm

I don't know, why I wrote the 'working' word, maybe the sleepless night caused that. :) Simply skip it.

Thanks, will try to compile it.
Thanks nas-central the lot of help! :)

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: iSCSI on a ZyXEL NAS?

Post by MrDini » Mon Jan 02, 2017 10:08 am

Cool, it works now! :) I had to install the Config::General as You wrote with cpan.

Thanks!
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: iSCSI on a ZyXEL NAS?

Post by barmalej2 » Mon Jan 02, 2017 10:47 am

There is handy cpanm tool in repo. Installation of perl modules is very simple with it:

Code: Select all

cpanm Config::General
It compiles and installs dependent perl modules as well.

Post Reply