Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

SlimNAS on NAS4Free

XigmaNAS Extensions / Add-ons

Moderator: crest

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#211

Post by cookiemonster »

Apologies if my comments have made it less fun for you.
I'll do it the other way. I'll stay away from the thread.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Stuarty
Starter
Starter
Posts: 35
Joined: 21 Jun 2013 17:40
Status: Offline

Re: SlimNAS on NAS4Free

#212

Post by Stuarty »

I've moved on from Xigmanas. I have Openmediavault with a proxmox kernel and zfs plugin installed. With Xigmanas/ nas4free I never managed to get jail networking to work satisfactorily (for me). With Openmediavault I can install LMS, Bliss and minimserver easily. The Xigmanas web-gui and freebsd are better but linux lets me use the software I want with less work.

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#213

Post by Northwinds »

Hopefully this isn't seen as me trying to revive a dead post but I have been trying to setup Logitech Media Server on my box for a few days now and have run into a few problems I could really use some help with. please?

I am currently on a newly updated xigmanas 12.1.0.4 - Ingva (revision 7743) embedded

and have used Bastille to create an "lms" jail which I jexec into to get root@lms


After may other posts and attempts I started trying Stuarty's suggestions from page 7 of this thread onwards.
Along with cookimonster and jist's input I have tried to get this working.

Unfortunately after several attempts I gave up on the ports method

(I really like raulfg3's suggestion - post #182 - re adding it tho the OBI - anyone...????)

so continuing on I have been trying Stuarty's guide in post #196

After deleting and remaking the "lms" jail

Unfortunately, as cookimonster suggested in post #206 "pkg search perl" no longer offers a perl5.26 variant.

In fact the oldest I can see is perl5.28 5.28.3


Therefore, following Stuarty's post#196 guide I did:

pkg
pkg install devel/nasm shells/bash devel/gmake net/rsync curl perl5.28-5.28.3
cd /tmp

curl -L -O http://downloads.slimdevices.com/nightl ... 026161.tgz
curl -L -O https://github.com/Logitech/slimserver- ... ic/7.9.zip

all good so far....

unzip 7*
tar xjf l*

but
tar xjf l*

gives me:

tar: Error opening archive: Unrecognized archive format


so I tried
ls -li
to see what was in there:

total 145511
207165 drwxrwxrwt 2 root wheel 2 Oct 15 11:06 .font-unix
207164 drwxrwxrwt 2 root wheel 2 Oct 15 11:06 .ICE-unix
207162 drwxrwxrwt 2 root wheel 2 Oct 15 11:06 .X11-unix
207163 drwxrwxrwt 2 root wheel 2 Oct 15 11:06 .XIM-unix
413296 -rw-r--r-- 1 root wheel 148810769 Oct 15 13:18 7.9.zip
413295 -rw-r--r-- 1 root wheel 196 Oct 15 13:17 logitechmediaserver-7.9.2-1545026161.tgz
413297 drwxr-xr-x 9 root wheel 10 Oct 15 13:33 slimserver-vendor-public-7.9

so I'm guessing the tar command was to extract the tgz file?
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#214

Post by cookiemonster »

It looks like this thread was recovered, I'm glad.
Correct. We need to untar and unzip those two.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#215

Post by Northwinds »

Hi cookiemonster!

Any idea why i'm getting the tar error?

Thanks!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#216

Post by cookiemonster »

I don't remember having to install tar, my assumption is that it is. Can you check you have it installed first of all?
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#217

Post by Northwinds »

Hmmm, I actually just went ahead and deleted the jail again so will start from scratch again.

One question I had was whether Ishould hunt out an old version of perl5.26 to make sure lms works or do I use a newer package version?

thanks again!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#218

Post by cookiemonster »

try tar xzf instead
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#219

Post by cookiemonster »

Ok that's a good question. This post was right at the time. What happens is that the version of lms dictates the version of perl that it requires.
It is possible that a newer than post i.e a contemporary version of LMS now needs a newer version of perl.
I'll have a nosey to see if I can spot which version of perl this one needs.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#220

Post by Northwinds »

cookiemonster wrote:
15 Oct 2020 16:27
Ok that's a good question. This post was right at the time. What happens is that the version of lms dictates the version of perl that it requires.
It is possible that a newer than post i.e a contemporary version of LMS now needs a newer version of perl.
I'll have a nosey to see if I can spot which version of perl this one needs.
Thank you so much!

I'll hold off going any further till I hear back from you.

Cheers!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#221

Post by Northwinds »

I noticed there is a nightly out there - logitechmediaserver-7.9.4-1601565762.tgz - would this be the latest applicable?
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#222

Post by Northwinds »

No idea where to check perl version compatability though?
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#223

Post by cookiemonster »

To be honest in the past any nightly was Ok unless their forum said something broke on it.
In theory nightlies should not be used as your production application, by definition is buggy. For this purpose of learning how to install it, it would be fine.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#224

Post by cookiemonster »

Northwinds wrote:
15 Oct 2020 17:03
No idea where to check perl version compatability though?
I'll have a look for you later. I'm on work machine.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#225

Post by Northwinds »

cookiemonster wrote:
15 Oct 2020 17:15
Northwinds wrote:
15 Oct 2020 17:03
No idea where to check perl version compatability though?
I'll have a look for you later. I'm on work machine.
Many thanks!

Cheers!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#226

Post by cookiemonster »

http://htmlpreview.github.io/?https://g ... elog7.html
According to this, the 7.9.2 branch has support for Perl 5.28 and 5.30 for Linux. I might also be Ok for freebsd.
So you should be Ok to try with Perl 5.28.x.
My jail has Perl 5.26 :
[18-12-12 00:09:01.3298] main::init (387) Starting Logitech Media Server (v7.9.2, 1544453860, Mon Dec 10 16:24:59 CET 2018) perl 5.026002 - amd64-freebsd-thread-multi
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#227

Post by Northwinds »

Thanks again cookiemonster!

So I started again with perl 5.28 and lms 7.92 and this time I got as far as:

./buildme.sh -t | tee /tmp/build.log

and unfortunately got this:

RUN_TESTS:0 CLEAN:1 USE_HINTS:1 RENAME_x86:1 target all
Looks like your compiler is cc
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin
./buildme.sh: line 469: perl: command not found
Failed to find supported Perl version for ''

???

Is this saying I have the wrong version of perl for the package or for my freebsd version?

Thanks again!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#228

Post by Northwinds »

maybe I need to try perl 5.30 ?
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#229

Post by cookiemonster »

It won't hurt to try 5.30. It might fail too, that's the worst it can happen. I might try to create a new jail to step through this. If you wish I could tar up my jail and see if you can import it but I don't know if it would work.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#230

Post by cookiemonster »

Can you check you have perl installed. Perl -v
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#231

Post by Northwinds »

So....

Sdeleted and created new jail in Bastille...

followed Sturty's guide up to here (after installing perl5-5.32.0 ):

curl -L -O http://downloads.slimdevices.com/nightl ... 565762.tgz

(thought I'd see what happened with latest)

then when done I tried:

cd /tmp/logitechmediaserver-7.9.2-1545026161/CPAN/arch
followed by
cd logitechmediaserver-7.9.4-1601565762/CPAN/arch/

and then ran:

rm -rf 5.1* && rm -rf 5.8 && rm -rf 5.22 && rm -rf 5.20 && rm -rf 5.24 && rm -rf 5.28

which seemed to work, but Stuarty's next line:

"cd 5.26"

confused me so I did an "ls -li"

and got

"total 3
420169 drwxr-xr-x 10 1000 1000 11 Oct 2 02:11 5.26
421310 drwxr-xr-x 9 1000 1000 10 Oct 2 02:11 5.30"

which confused me as "total=2" - no???

not sure how to proceed?

cookiemonster? please?

cheers!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#232

Post by Northwinds »

Had a think and decided to do an
rm -rf 5.26
then a
cd 5.30

then I tried

cp -Rp /tmp/slimserver-vendor-public-7.9/CPAN/build/arch/5.32/amd64-freebsd-thread-multi

however this gave me this:

"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file ... target_directory"

so I'm thinking that maybe didn't work?

But maybe it did?
so...

rm -rf x*
mkdir /usr/local/lms
mv /tmp/logitechmediaserver-7.9.4-1601565762 /usr/local/lms/
cd /usr/local/lms/
mv logitechmediaserver-7.9.4-1601565762//* /usr/local/lms
rmdir logitechmediaserver-7.9.4-1601565762

this last gave me

"rmdir: logitechmediaserver-7.9.4-1601565762: Directory not empty"

so again I'm concerned this isn't working?


Considering the rest of Stuarty's post is about installing codecs, I'm guessing I can check if the install has worked now?
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#233

Post by Northwinds »

Kind of reached the end of my musings over breakfast and have to head out soon so will check for any suggestions this evening.

Many thanks again!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#234

Post by cookiemonster »

If it couldn't remove the directory because the directory wasn't empty then it suggests the move of its contents didn't work. There are two forward slashes so it wouldn't.
You are running each line as a step, right? Normally rm needs -R for directories, but you need to check it is not empty beforehand before you force it.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#235

Post by cookiemonster »

I've been unable to step through unfortunately on a test jail. My XN is on 11.3 and my jails stayed at 11.2.
I use theBrig and base and jais being on 11.2, they can't be updated. In fact thebrig querying ports and packages freezes the UI. It doesn't seem to handle graciously the query to update not finding records, which is what happens when the release has no fresh updates in the freebsd FTP site.
They can't be upgraded with theBrig but neither I can create new ones. I even had to reboot my XN to recover it.
So with the upgrade to 11.3 for my jails is something I need to plan carefully, the best I can offer is I could try to help you one to one. If you want, send me a private message to arrange a time to go on freenode maybe?
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#236

Post by Northwinds »

cookiemonster wrote:
16 Oct 2020 17:17
If it couldn't remove the directory because the directory wasn't empty then it suggests the move of its contents didn't work. There are two forward slashes so it wouldn't.
You are running each line as a step, right? Normally rm needs -R for directories, but you need to check it is not empty beforehand before you force it.
Aaaahhhh! Well noticed - thanks!

I think I'll delete the jail again and try once more - let you know how that goes - Cheers!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#237

Post by Northwinds »

cookiemonster wrote:
16 Oct 2020 17:53
I've been unable to step through unfortunately on a test jail. My XN is on 11.3 and my jails stayed at 11.2.
I use theBrig and base and jais being on 11.2, they can't be updated. In fact thebrig querying ports and packages freezes the UI. It doesn't seem to handle graciously the query to update not finding records, which is what happens when the release has no fresh updates in the freebsd FTP site.
They can't be upgraded with theBrig but neither I can create new ones. I even had to reboot my XN to recover it.
So with the upgrade to 11.3 for my jails is something I need to plan carefully, the best I can offer is I could try to help you one to one. If you want, send me a private message to arrange a time to go on freenode maybe?
I did play around with thebrig a while back but decided to try Bastille this time.

One thing I remembered is this option
Screenshot 2020-10-16 at 20.51.04.png
which I think thebrig has too?

If I'm correct, then does this mean I can choose which version of freebsd is created in the jail quite appart from the main install?

I'm asking, as this might be a way round things, if I were to create an 11.2 jail for lms?

Thanks again!
You do not have the required permissions to view the files attached to this post.
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#238

Post by cookiemonster »

Yes that's right. But.. thebrig might not be as active as bastille. Get the jail going as you feel most comfortable. You don't need to delete it everytime though.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Northwinds
experienced User
experienced User
Posts: 89
Joined: 03 Sep 2014 01:51
Status: Offline

Re: SlimNAS on NAS4Free

#239

Post by Northwinds »

Well I di delete and try again, but as I try to understand better what each command is doing, I still wonder about this line:

cp -Rp /tmp/slimserver-vendor-public-7.9/CPAN/build/arch/5.32/amd64-freebsd-thread-multi

I googled the cp command and ytied to figure what -Rp implied
I got this about th -R:

If source_file designates a directory, cp copies the directory and
the entire subtree connected at that point. If the source_file
ends in a /, the contents of the directory are copied rather than
the directory itself. This option also causes symbolic links to be
copied, rather than indirected through, and for cp to create spe-
cial files rather than copying them as normal files. Created di-
rectories have the same mode as the corresponding source directory,
unmodified by the process' umask.
but I could find no mention of a lowercase p ???

Also cp seems to need a source and destination (file or directory) - this command only has one by the looks of it unless there was a typo in Stuarty's instructions?


Any thoughts please cookiemonster?

Thanks again!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD

cookiemonster
Advanced User
Advanced User
Posts: 291
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: SlimNAS on NAS4Free

#240

Post by cookiemonster »

You're just missing a full stop at the end that makes it a a relative path. Make sure you've changed directory as per the step before it. Then that full stop is what tells the command what the destination is i.e. the current working directory.
For the manual of cp for freebsd : https://www.freebsd.org/cgi/man.cgi?cp
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Post Reply

Return to “Extensions / Add-ons”