GoFlex NET mhddfs

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

GoFlex NET mhddfs

Postby wwenigma » Tue Jan 22, 2019 5:31 pm

Hi!

I still use my Goflex Net, and now i reinstalled full system. I tried to build mhddfs stuff, but cant able to do that. Anyone able to build and upload somewhere maybe?

I thinking about Raid0 becouse i have 2 same HDD, but dont know how safe that...

Thank you,

S.
wwenigma
 
Posts: 6
Joined: Wed Apr 12, 2017 8:40 am

Re: GoFlex NET mhddfs

Postby moonman » Tue Jan 22, 2019 5:48 pm

I would recommend mergerfs as an up-to-date and faster alternative to mhddfs
https://aur.archlinux.org/packages/mergerfs/

Build with makepkg -A
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: GoFlex NET mhddfs

Postby wwenigma » Tue Jan 22, 2019 11:10 pm

Thank but same problem like here: viewtopic.php?t=13000&p=59236

Wont know how to force older perl...

$this->bbcode_second_pass_code('', '[alarm@alarm mergerfs]$ makepkg -A
==> Making package: mergerfs 2.25.1-2 (Tue Jan 22 23:12:34 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found mergerfs-2.25.1.tar.gz
==> Validating source files with md5sums...
mergerfs-2.25.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting mergerfs-2.25.1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
which: no pandoc in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
Makefile:41: "pandoc does not appear available: manpage won't be buildable"
which: no pandoc in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
tools/update-version
cd libfuse && \
/usr/bin/mkdir -p m4 && \
autoreconf --force --install && \
./configure --enable-lib --disable-util --disable-example
Operator or semicolon missing before %_local_duplicate_messages at /usr/share/autoconf/Autom4te/Channels.pm line 315.
Ambiguous use of % resolved as operator % at /usr/share/autoconf/Autom4te/Channels.pm line 315.
Operator or semicolon missing before %_global_duplicate_messages at /usr/share/autoconf/Autom4te/Channels.pm line 327.
Ambiguous use of % resolved as operator % at /usr/share/autoconf/Autom4te/Channels.pm line 327.
Operator or semicolon missing before %channel_opts at /usr/share/autoconf/Autom4te/Channels.pm line 366.
Ambiguous use of % resolved as operator % at /usr/share/autoconf/Autom4te/Channels.pm line 366.
Global symbol "%_local_duplicate_messages" requires explicit package name (did you forget to declare "my %_local_duplicate_messages"?) at /usr/share/autoconf/Autom4te/Channels.pm line 286.
Global symbol "%_global_duplicate_messages" requires explicit package name (did you forget to declare "my %_global_duplicate_messages"?) at /usr/share/autoconf/Autom4te/Channels.pm line 287.
BEGIN not safe after errors--compilation aborted at /usr/share/autoconf/Autom4te/Channels.pm line 406.
Compilation failed in require at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
Compilation failed in require at /usr/bin/autoreconf line 39.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 39.
make: *** [Makefile:231: libfuse_Makefile] Error 255
==> ERROR: A failure occurred in build().
Aborting...
[alarm@alarm mergerfs]$
')
wwenigma
 
Posts: 6
Joined: Wed Apr 12, 2017 8:40 am

Re: GoFlex NET mhddfs

Postby moonman » Wed Jan 23, 2019 5:02 pm

You already found a solution though, just need to downgrade perl
$this->bbcode_second_pass_code('', 'wget http://tardis.tiny-vps.com/aarm/packages/p/perl/perl-5.26.2-2-arm.pkg.tar.xz
pacman -U perl-5.26.2-2-arm.pkg.tar.xz')

Then build the package.

FYI: Archlinux ARM Rollback machine exists: viewtopic.php?f=30&t=9542
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: GoFlex NET mhddfs

Postby wwenigma » Wed Jan 23, 2019 6:58 pm

Thank you, builded successfully with your help. :)

Now i tested the speed of merged partitions, it slowed down to 10MB/s write and 20MB/s read to/from my samba share. Before that i got 30MB/s write and 40MB/s read to/from smb share.

Mounted via fstab:
$this->bbcode_second_pass_code('', '/mnt/hdd1:/mnt/hdd2 /mnt/hdd fuse.mergerfs defaults,allow_other,use_ino 0 0')

When added direct_io, i got average 27,5MB/s write and 17MB/s read to/from my samba share.

Samba config:
$this->bbcode_second_pass_code('', ' Netbios Name = NAS
map to guest = Bad User
force user = root
guest ok = yes
browseable = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=131072 SO_SNDBUF=131072
write cache size = 2097152
use sendfile = yes
read raw = yes
write raw = yes
min receivefile size = 16384
getwd cache = true
strict allocate = yes
server multi channel support = yes')

Any hint to speed up the things or that is the max when we use that stuff? That slow read speed is bad.
Last edited by wwenigma on Wed Jan 23, 2019 9:13 pm, edited 1 time in total.
wwenigma
 
Posts: 6
Joined: Wed Apr 12, 2017 8:40 am

Re: GoFlex NET mhddfs

Postby moonman » Wed Jan 23, 2019 8:18 pm

This is what I use on my x86, not sure if it will make things worse or better on arm:

$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = srv01
netbios name = srv01
# os level = 65
security = user
map to guest = Bad User
load printers = no
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_THROUGHPUT SO_KEEPALIVE
deadtime = 30
use sendfile = Yes
write cache size = 262144
min receivefile size = 16384
aio read size = 16384
aio write size = 16384
')

There is a lot of bad or outdated advice out there, especially about the socket options. Otherwise, this is as good as it gets with GoFlex's CPU
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: GoFlex NET mhddfs

Postby wwenigma » Wed Jan 23, 2019 9:10 pm

Yeah, i will try but of course, mergerfs need some cpu too so maybe that is the max.

Thanks again.
wwenigma
 
Posts: 6
Joined: Wed Apr 12, 2017 8:40 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests