https://forum.nas-hilfe.de/buffalo-technology-nas-anleitungen/luefterregelung-fuer-die-400er-serie-t2422.html over 42°C -> full from 42°C to 35°C -> fast under 35°C -> slowby oxygen8 - Debian
Thank you.by oxygen8 - Debian
it is very simple add the entry allocation roundup size = 0 in the section from the /etc/samba/smb.conf and restart the service /etc/init.d/smbd restart short command for putty: sed -i '/\/a allocation roundup size = 4096' /etc/samba/smb.conf ; /etc/init.d/smbd restart Now the LS with debian can show the correct values. rounding is dissabled.by oxygen8 - Debian
thank you. I will analyse the xfs formatted disk in a TS and LSby oxygen8 - Debian
The new nas is running very good. But i have the same error like all Linkstations. Only Terastations can show the correct value for "Size on disk" Pic My try to analyse the difference betrwean the correct working TS1200 and the buggy LS420: https://forum.nas-hilfe.de/buffalo-technology-nas-anleitungen/wie-viel-platz-benoetigen-kleine-dateien-wirklich-t2740.html Can you helpby oxygen8 - Debian
Is your power switch in the "ON" position when you make a shutdown?by oxygen8 - Debian
My try on a LS420 The LS421 is running very good and now in use On this mashine i have not installed your service i have created a executeable script shutdown with your content root@debian:~# ls -l /lib/systemd/system-shutdown/ total 8 -rwxr-xr-x 1 root root 270 Jul 16 2016 apcupsd_shutdown -rwxr-xr-x 1 root root 628 Mar 30 09:52 shutdown root@debian:~# shutdown Shutdown scheduby oxygen8 - Debian
With APC UPS i have this shutdownscript: root@debian:~# cat /lib/systemd/system-shutdown/apcupsd_shutdown #!/bin/sh # apcupsd: kill power via UPS (if powerfail situation) # (Originally from Fedora.) # See if this is a powerfail situation. if [ -f /etc/apcupsd/powerfail ]; then echo echo "APCUPSD will now power off the UPS" echo /etc/apcupsd/apccontrol killpower fiby oxygen8 - Debian
thank you very much again now i can use my on/off switch to control the nas echo 'KEY_ESC 0 /usr/local/bin/phytool write eth0/0/22 3 && /usr/local/bin/phytool write eth0/0/16 0x0881; /usr/local/bin/phytool write eth0/0/22 0;/sbin/shutdown now' >/etc/triggerhappy/triggers.d/1.conf echo 'KEY_OPTION 0 /bin/echo 0 >>/sys/devices/platform/gpio-leds/leds/ledby oxygen8 - Debian
it seams to work bit it does not work i am testing with the fuction button an the red function ledby oxygen8 - Debian
i have tested a simple trigger root@debian:~# cat /etc/triggerhappy/triggers.d/1.conf KEY_OPTION 1 /bin/echo 1 >>/sys/devices/platform/gpio-leds/leds/led\:function\:red/brightness KEY_OPTION 0 /bin/echo 0 >>/sys/devices/platform/gpio-leds/leds/led\:function\:red/brightness i am not able to start or stop thd with root@debian:~# systemctl enable triggerhappy.serviceby oxygen8 - Debian
Now i am testing triggerhappyby oxygen8 - Debian
systemctl stop ls400-restart.service ; systemctl disable ls400-restart.service now it is able to shutdown with phytool write eth0/0/22 3 && phytool write eth0/0/16 0x0881; phytool write eth0/0/22 0 shutdown now thank youby oxygen8 - Debian
Quotephytool write eth0/0/22 3 && phytool write eth0/0/16 0x0881; phytool write eth0/0/22 0 shutdown now this makes a reboot on LS421Dby oxygen8 - Debian
i have now a solution for apcupsd 1) create the file /usr/local/bin/halt_test #!/bin/bash /sbin/halt exit 99 2) chmod +x /usr/local/bin/halt_test 3) ln -s /usr/local/bin/halt_test /etc/apcupsd/doshutdownby oxygen8 - Debian
i am not able to shutdown the device (with halt it is able to shutdown, but i can not give the command halt to apcupsd. It uses shutdown) i have tried the following 1) i have created the file /usr/local/bin/ls400-restart.sh ( after the first unworking test i have tried with the add || [ "$1" == "shutdown" ] #!/bin/bash which phytool > /dev/null if [ $by oxygen8 - Debian
i will try thatby oxygen8 - Debian
It would be nice to reaktivate the rear switsch to stop and start the nas. at the moment i am searching to resolve a problem with the apcupsd. the daemon uses /sbin/shutdown the nas restarts directly after the shutdown an will be killes from the ups this has demaged my filesystemby oxygen8 - Debian
thank you again USB3 is runningby oxygen8 - Debian
thank you, i will try this tomorrowby oxygen8 - Debian
-by oxygen8 - Debian
# cat /proc/device-tree/model Buffalo Linkstation LS421Dby oxygen8 - Debian
I am searching now for a way to enable the usb3 port on the front of my ls421D # lspci 01:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) it has no powerby oxygen8 - Debian
the LS4XX serie sets an unnown root password on every reboot ore on switching settings with the webif my quick and dirty solution was to set my password every 5 mins with a script from http://forum.nas-hilfe.de/buffalo-technology-nas-anleitungen/ls420-serie-root-kennwort-wird-von-buffalo-ueberschrieben-t2232.html i had transfered this script to the new nas and this has manipulated my tby oxygen8 - Debian
one mistakeby oxygen8 - Debian
Thank you againby oxygen8 - Debian
I have installed fancontrol this controls the fan to cool the cpu on all nas it is recommendet to control the fan to cool the disks buffalo uses smartctl to read out the disk temp but the firmware has a bug and the fan allway runns at slow speed i had fixed this with a script HD_TEMP=`smartctl -A /dev/sda | awk '/^194/ { print($10) }'` if [ $HD_TEMP -lt 42 ]; then iby oxygen8 - Debian
I am compiling my tools now. Looks good. Thank you. The fan is running at full speed. I will try installing the tools later.by oxygen8 - Debian
Stretch I have rebooted the nas with a second console and can now successfully login thank youby oxygen8 - Debian
Thank you for your hard work. I am trying to use debian Stretch on my TS1200D I have 1) bootet the NAs with your TFTP-Files 2) partitioned the disk with 3 new partitions 3) followed the instruktions from the installer But now i am staying still on Finishing the installation 13% Running preseed... Is there a configuration file on your server missing. I am searching the erby oxygen8 - Debian