Projekt Qnap
Jump to navigation
Jump to search
History of my QNAP TS-419PII
- Started with 2 disks WD20EARX as RAID1 2012-01-14
- Added another WD20EARX at 2012-01-31
[2 disk raid1 to 3 disk raid5 failed?]
- Discovered high Load_Cycle_Count. This fix needs optware QPKG
ipkg update ipkg install make ipkg install gcc # neded? cd /tmp wget http://dfn.dl.sourceforge.net/project/idle3-tools/idle3-tools-0.9.1.tgz tar xzvf idle3-tools-0.9.1.tgz cd idle3-tools-0.9.1 CC=gcc make ./idle3ctl -g105 /dev/sd[abc] ./idle3ctl -s300 /dev/sdc # unplug sdc, wait for qnap to ack # replug sdc, wait for resync to finish # repeat for sda and sdb
- no smartctl (only get_hd_smartinfo) and the one provided by ipkg just segfaults -> compile my own
ipkg install grep ipkg install gawk ipkg install optware-devel # needed? export PATH=/opt/bin:$PATH wget http://heanet.dl.sourceforge.net/project/smartmontools/smartmontools/5.42/smartmontools-5.42.tar.gz tar xzvf smartmontools-5.42.tar.gz cd smartmontools-5.42 ./configure make make install # -> same problem, try dev trunk (later try older version?) cd /tmp svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools cd smartmontools ./autogen.sh # -> fails because perl does not work. Seems ipkg is missing libperl. Reported on freenode #nslu2-general build 5.38 from tar and execute smrtctl works
- missing home directory
mkdir -p /share/homes/joachim chown joachim /share/homes/joachim ln -s /share/joachim /share/homes/joachim/share cp /root/.profile /root/.bashrc /share/homes/joachim # edit ps1 and add /opt/bin to PATH in .profile
- no sudo
ipkg install sudo # copy admin lines in /etc/passwd /etc/shadow for root add file /opt/etc/sudoers.d/joachim with content "joachim ALL = (root) ALL" and permissions 0440