User Tools

Site Tools


storage:readynas

ReadyNAS 5

ReadyNAS Duo V2

Hotfix SACK CVE-2019-11477

Add to /etc/init.d/readynas_startup near start

echo 0 > /proc/sys/net/ipv4/tcp_sack
echo 0 > /proc/sys/net/ipv4/tcp_dsack
echo 0 > /proc/sys/net/ipv4/tcp_timestamps

* MiniDLNA don't like this!

Max HDD capacity

8TB is tested by me. PMR no restrictions, SMR - JBOD only.
You can set RSync (Backup) in JBOD anyway → this can be better solution than RAID1

Jumbo Frames

/etc/init.d/readynas_startup

ifconfig eth0 mtu 1600

Don't use more, kernel driver cannot work properly with HW acceleration enabled. ReadyNAS DuoV2 can do 97MB/s (776Mbit/s) reads from Samba

Samba Log level

/etc/frontview/samba/addons/addons.conf

[global]
log level = 1

ext3 Format

(much faster than ext4 - you can fill up to 100% disk space)
-i bytes per inode (4096-65536)

mkfs.ext3 -b 4096 -i 16384 /dev/d/d
tune2fs -i0 -c -1 -o user_xattr,acl /dev/d/d

tune2fs -o journal_data_writeback

Remove root reserved space

tune2fs -m 0 /dev/d/d

Performance Tuning

Mount fstab (UPS recommended)

/dev/c/c        /c      ext3    defaults,acl,user_xattr,noatime,nodiratime,nobh,commit=40,data=writeback       0 2
/dev/c/c        /c      ext4    defaults,acl,user_xattr,noatime,nodiratime,nobh,jqfmt=vfsv0,data=writeback,oldalloc       0 2

Little tuning in /etc/init.d/readynas_startup put near start

echo deadline >/sys/block/sda/queue/scheduler
echo deadline >/sys/block/sdb/queue/scheduler

Turn off quotas! Don't start cups! (is_rackmount=1) :-)

USB Mounts config

/etc/frontview/usb/storage.conf

Disable APPGENIE

/etc/frontview/addons/bin/APPGENIE/cp.d/cpinst/cp_updater.sh –> put exit 0 at start
or remove it completely rm -r /etc/frontview/addons/bin/APPGENIE/

Transmission Message Level

/transmission/settings.json
message-level: 1

MiniDLNA

grep -q -F 'root_container=B' /etc/minidlna.conf || echo 'root_container=B' >>/etc/minidlna.conf
grep -q -F 'strict_dlna' /etc/minidlna.conf || echo 'strict_dlna=no' >>/etc/minidlna.conf
sed -i '/album_art_names/d' /etc/minidlna.conf

Downloads

FileDescription
Enable Root Access This enable SSH access to ReadyNAS
HTop HTop bash utility
Enable MySQL Access Enable access to built in MySQL 5.1.49
OwnCloud 8.0.2 ARM OwnCloud for ReadyNAS - ARM
PHP 5.4.3 ARM Install PHP 5.4.3
Transmission 2.92 ARM Bittorent Client for ReadyNAS5
storage/readynas.txt · Last modified: 2019/06/24 22:11 by Jan Forman