Wissensdatenbank
Buehl, Kevin
25 November 2017
15 Januar 2018
2.080

Wissensdatenbank

Buffalo Terastation schält sich automatisch aus

Inhaltsverzeichnis

Situation


Ich habe eine Buffalo Terastation, auf dieser läuft ein Debian Linux. Auf diesem System werden die Sicherungen meiner virtuellen Maschinen abgelegt. Alle paar Tage (meistens einmal pro Woche) bin ich aufgestanden oder nach Hause gekommen und die Terastation war aus. Beim ersten mal denkt man sich noch nicht viel dabei. Nach dem ich diese mehrmals wieder einschalten musste, habe ich auf einen anderen Server die Logs Live dargestellt und zu prüfen wieso das System automatisch herunter fährt - Leider konnte ich so nichts Feststellen.

Lösung


Somit habe ich ein Null-Modemkabel an einen Server und das NAS (Terastation) angeschlossen und die komplette Bildschirmausgabe über die serielle Schnittelle RS232 ausgegeben (
Dieser Link wurde entfernt. Links sind nur für Mitglieder sichtbar. Bitte melden Sie sich mit Ihrem Benutzernamen und Ihrem Passwort an und versuchen Sie es erneut.
). Nun konnte ich an der anderen Seite ein Log mit der Ausgabe erstellen lassen und habe folgendes der Logdatei entnommen:
[470732.584074] sky2 0000:02:00.0: error interrupt status=0x40000008
[470732.597725] sky2 0000:02:00.0 enp2s0: rx error, status 0x7ffc0001 length 996
[470734.664254] VeeamAgentb2072 invoked oom-killer: gfp_mask=0x34200ca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), nodemask=0, order=0, oom_score_adj=0
[470734.683986] VeeamAgentb2072 cpuset=/ mems_allowed=0
[470734.692850] CPU: 3 PID: 23698 Comm: VeeamAgentb2072 Not tainted 4.9.0-4-amd64 #1 Debian 4.9.51-1
[470734.696821] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Tobe filled by O.E.M., BIOS WQVL301 12/28/2010
[470734.696821] 0000000000000000 ffffffffbbb29974 ffffbec600a47b28 ffff9b3b5fd6e1c0
[470734.696821] ffffffffbb9fef10 0000000000000000 0000000000000000 0101000000000001
[470734.696821] 08acdea93435cf88 00000000ffffffff 0000000000000000 0000000000000000
[470734.696821] Call Trace:
[470734.696821] [<ffffffffbbb29974>] ? dump_stack+0x5c/0x78
[470734.764046] [<ffffffffbb9fef10>] ? dump_header+0x78/0x1fd
[470734.764046] [<ffffffffbb98114a>] ? oom_kill_process+0x21a/0x3e0
[470734.764046] [<ffffffffbb980dcd>] ? oom_badness+0xed/0x170
[470734.764046] [<ffffffffbb9815e1>] ? out_of_memory+0x111/0x470
[470734.764046] [<ffffffffbb98681f>] ? __alloc_pages_slowpath+0xb7f/0xbc0
[470734.764046] [<ffffffffbb986a5e>] ? __alloc_pages_nodemask+0x1fe/0x260
[470734.764046] [<ffffffffbb9d6d31>] ? alloc_pages_current+0x91/0x140
[470734.764046] [<ffffffffbb97cf84>] ? pagecache_get_page+0xb4/0x2b0
[470734.764046] [<ffffffffbb97d19c>] ? grab_cache_page_write_begin+0x1c/0x40
[470734.764046] [<ffffffffc063ec2f>] ? ext4_da_write_begin+0x9f/0x3d0 [ext4]
[470734.764046] [<ffffffffc0640062>] ? ext4_da_write_end+0x142/0x2c0 [ext4]
[470734.764046] [<ffffffffbb97c2bc>] ? generic_perform_write+0xcc/0x1c0
[470734.764046] [<ffffffffbb97e6da>] ? __generic_file_write_iter+0x16a/0x1b0
[470734.764046] [<ffffffffc0633180>] ? ext4_file_write_iter+0x90/0x370 [ext4]
[470734.764046] [<ffffffffbb8f86bb>] ? do_futex+0x28b/0xb00
[470734.764046] [<ffffffffbb8acab5>] ? set_next_entity+0xb5/0x1a0
[470734.764046] [<ffffffffbba0254a>] ? new_sync_write+0xda/0x130
[470734.764046] [<ffffffffbba02cb0>] ? vfs_write+0xb0/0x190
[470734.764046] [<ffffffffbba040a2>] ? SyS_write+0x52/0xc0
[470734.764046] [<ffffffffbb8ec74a>] ? getnstimeofday64+0xa/0x30
[470734.764046] [<ffffffffbbe085bb>] ? system_call_fast_compare_end+0xc/0x9b
[470734.978808] Mem-Info:
[470734.984844] active_anon:250333 inactive_anon:187383 isolated_anon:0
[470734.984844] active_file:5282 inactive_file:9566 isolated_file:0
[470734.984844] unevictable:1 dirty:3 writeback:8759 unstable:0
[470734.984844] slab_reclaimable:4840 slab_unreclaimable:7989
[470734.984844] mapped:2058 shmem:439 pagetables:2632 bounce:0
[470734.984844] free:7521 free_pcp:3 free_cma:0
[470735.040523] Node 0 active_anon:1001332kB inactive_anon:749532kB active_file:21128kB inactive_file:38264kB unevictable:4kB isolated(anon):0kB isolated(file):0kB mapped:8232kB dirty:12kB writeback:35036kB shmem:1756kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB pages_scanned:100375 all_unreclaimable? yes
[470735.082816] Node 0 DMA free:7988kB min:352kB low:440kB high:528kB active_anon:5016kB inactive_anon:1820kB active_file:356kB inactive_file:208kB unevictable:0kB writepending:148kB present:15988kB managed:15904kB mlocked:0kB slab_reclaimable:28kB slab_unreclaimable:72kB kernel_stack:0kB pagetables:32kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[470735.128978] lowmem_reserve[]: 0 1953 1953 1953 1953
[470735.139491] Node 0 DMA32 free:25940kB min:44700kB low:55872kB high:67044kB active_anon:996316kB inactive_anon:747712kB active_file:20896kB inactive_file:37228kB unevictable:4kB writepending:32508kB present:2070016kB managed:2025652kB mlocked:0kB slab_reclaimable:19332kB slab_unreclaimable:31884kB kernel_stack:4672kB pagetables:10496kB bounce:0kB free_pcp:164kB local_pcp:0kB free_cma:0kB
[470735.196790] lowmem_reserve[]: 0 0 0 0 0
[470735.206755] Node 0 DMA: 31*4kB (UME) 17*8kB (UE) 16*16kB (UE) 6*32kB (UME) 10*64kB (UM) 6*128kB (UE) 3*256kB (UE) 4*512kB (UME) 3*1024kB (UE) 0*2048kB 0*4096kB = 8004kB
[470735.234431] Node 0 DMA32: 2069*4kB (UME) 995*8kB (UM) 795*16kB (UM) 1*32kB (U) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 28988kB
[470735.260359] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[470735.275024] 16223 total pagecache pages
[470735.285097] 1524 pages in swap cache
[470735.294837] Swap cache stats: add 737463, delete 735939, find 5470410/5504620
[470735.308345] Free swap = 0kB
[470735.317343] Total swap = 1023996kB
[470735.326907] 521501 pages RAM
[470735.335932] 0 pages HighMem/MovableOnly
[470735.345978] 11112 pages reserved
[470735.355474] 0 pages hwpoisoned
[470735.364717] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
[470735.379651] [ 344] 0 344 14850 445 26 3 940 systemd-journal
[470735.395713] [ 372] 0 372 26800 0 20 3 770 lvmetad
[470735.410939] [ 380] 0 380 11497 7 22 3 311-1000 systemd-udevd
[470735.426665] [ 438] 0 438 1782 19 9 3 500 mdadm
[470735.440491] [ 503] 100 503 31821 12 31 4 1240 systemd-timesyn
[470735.455198] [ 510] 0 510 11626 59 26 3 1020 systemd-logind
[470735.469813] [ 511] 106 511 11283 56 27 3 80-900 dbus-daemon
[470735.484172] [ 527] 0 527 8984 25 22 5 710 irqbalance
[470735.498460] [ 528] 0 528 63583 52 30 4 4000 rsyslogd
[470735.512587] [ 529] 0 529 7416 10 20 3 630 cron
[470735.527502] [ 560] 0 560 17486 32 38 3 163-1000 sshd
[470735.541342] [ 567] 0 567 3578 0 12 3 470 agetty
[470735.555352] [ 568] 0 568 3634 0 12 3 400 agetty
[470735.569327] [ 713] 0 713 4986 81 14 3 750 fancontrol
[470735.583659] [ 1307] 105 1307 14038 0 30 3 1860 exim4
[470735.598769] [17182] 0 17182 14140 98 30 3 1540 systemd
[470735.613979] [17183] 0 17183 20721 56 42 3 4060 (sd-pam)
[470735.629188] [20314] 0 20314 23801 1 49 3 2580 sshd
[470735.644221] [20324] 0 20324 23837 0 50 3 2920 sshd
[470735.659248] [20330] 0 20330 3209 0 13 3 780 sftp-server
[470735.674893] [20338] 0 20338 5117 2 15 3 2880 bash
[470735.689693] [20381] 0 20381 5117 0 14 3 2890 bash
[470735.704225] [20382] 0 20382 12167 722 29 3 24800 perl
[470735.718550] [20414] 0 20414 23801 0 49 3 2450 sshd
[470735.732811] [20424] 0 20424 23847 1 49 3 2860 sshd
[470735.746701] [20430] 0 20430 3174 0 12 3 560 sftp-server
[470735.761184] [20445] 0 20445 5120 2 14 3 2900 bash
[470735.775036] [20452] 0 20452 209821 6038 363 4 1487710 VeeamAgent3f46c
[470735.789896] [22288] 0 22288 5120 2 14 3 2910 bash
[470735.803484] [22297] 0 22297 189087 88013 316 4 387840 VeeamAgent06e4e
[470735.818000] [23496] 0 23496 23801 33 51 3 2210 sshd
[470735.831382] [23513] 0 23513 23911 55 49 3 3350 sshd
[470735.844681] [23521] 0 23521 3209 37 11 3 450 sftp-server
[470735.858448] [23561] 0 23561 5117 2 15 3 2880 bash
[470735.871403] [23570] 0 23570 5117 0 13 3 2890 bash
[470735.884215] [23571] 0 23571 12109 1447 28 3 17130 perl
[470735.896876] [23637] 0 23637 23801 30 50 3 2180 sshd
[470735.909465] [23654] 0 23654 24816 1 51 3 12660 sshd
[470735.921862] [23660] 0 23660 3174 0 12 3 590 sftp-server
[470735.934938] [23668] 0 23668 5120 185 15 3 790 bash
[470735.947384] [23682] 0 23682 650984 337292 898 4 518620 VeeamAgentb2072
[470735.960764] [26031] 0 26031 1460 18 8 3 00 sleep
[470735.973361] Out of memory: Kill process 23682 (VeeamAgentb2072) score 493 orsacrifice child
[470735.986193] Killed process 23682 (VeeamAgentb2072) total-vm:2603936kB, anon-rss:1349168kB, file-rss:0kB, shmem-rss:0kB
[470736.000960] sky2 0000:02:00.0: error interrupt status=0x40000008
[470736.014747] sky2 0000:02:00.0 enp2s0: rx error, status 0x7ffc0001 length 996
[470736.522781] oom_reaper: reaped process 23682 (VeeamAgentb2072), now anon-rss:72kB, file-rss:8kB, shmem-rss:0kB
[ OK ] Stopped target Timers.
Stopping Session 31352 of user root.
Stopping Session 31462 of user root.
Stopping Session 31348 of user root.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Daily apt upgrade and clean activities.
Stopping Session 31347 of user root.
[ OK ] Stopped Daily apt download activities.
Stopping User Manager for UID 0...
Stopping Session 31455 of user root.
Stopping Session 31351 of user root. Stopping LSB: Lightweight SSH server...
Stopping LSB: exim Mail Transport Agent...
[ OK ] Stopped Regular background program processing daemon.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped fan speed regulator.
[ OK ] Stopped Session 31348 of user root.
[ OK ] Stopped Session 31352 of user root.
[ OK ] Stopped Session 31462 of user root.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped irqbalance daemon.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Session 31455 of user root.
[ OK ] Stopped Session 31347 of user root.
[ OK ] Stopped Session 31351 of user root.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped System Logging Service.
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Stopped Initialize hardware monitoring sensors.
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Login Service.
[ OK ] Stopped LSB: exim Mail Transport Agent.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped LSB: Lightweight SSH server.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Network.
Stopping Raise network interfaces...
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Swap.
Deactivating swap /dev/dm-1...
Stopping Update UTMP about System Boot/Shutdown...
Stopping Load/Save Screen Backlight…ss of backlight:intel_backlight...
Stopping Load/Save Random Seed...
[ OK ] Stopped target Encrypted Volumes.
Stopping Cryptography Setup for md1_crypt...
Stopping Network Time Synchronization...
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Load/Save Screen Backlight …ness of backlight:intel_backlight.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2dbacklight.slice.
[471024.471651] sky2 0000:02:00.0 enp2s0: disabling interface
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Raise network interfaces.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted /boot.
[ OK ] Stopped File System Check on /dev/d…3fdfd-f9b0-44c7-8aad-23c7f9683f9f.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Remount Root and Kernel File Systems.
Stopping Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
Stopping LVM2 metadata daemon...
[ OK ] Stopped LVM2 metadata daemon.
[ OK ] Stopped Cryptography Setup for md1_crypt.
[ OK ] Removed slice system-systemd\x2dcryptsetup.slice.
[ OK ] Reached target Shutdown.
[471048.910192] systemd-shutdow: 23 output lines suppressed due to ratelimiting
[471068.439938] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[471068.460193] systemd-journald[344]: Failed to send WATCHDOG=1 notification message: Connection refused
[471068.470026] systemd-journald[344]: Received SIGTERM from PID 1 (systemd-shutdow).
[471068.488350] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[471068.507491] systemd-shutdown[1]: Unmounting file systems.
[471068.513805] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,stripe=384,data=ordered'.
[471071.647765] EXT4-fs (dm-2): re-mounted. Opts: errors=remount-ro,stripe=384,data=ordered
[471071.659906] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,stripe=384,data=ordered'.
[471071.670758] EXT4-fs (dm-2): re-mounted. Opts: errors=remount-ro,stripe=384,data=ordered
[471071.679030] systemd-shutdown[1]: All filesystems unmounted.
[471071.684828] systemd-shutdown[1]: Deactivating swaps.
[471071.692156] systemd-shutdown[1]: All swaps deactivated.
[471071.697648] systemd-shutdown[1]: Detaching loop devices.
[471071.750220] systemd-shutdown[1]: All loop devices detached.
[471073.664960] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
[471074.269529] sd 3:0:0:0: [sdd] Stopping disk
[471074.874452] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[471074.916312] sd 2:0:0:0: [sdc] Stopping disk
[471075.359378] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[471075.366418] sd 1:0:0:0: [sdb] Stopping disk
[471075.809019] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[471076.098115] sd 0:0:0:0: [sda] Stopping disk
[471077.263401] ACPI: Preparing to enter system sleep state S5
[471077.269956] reboot: Power down

Ab Zeile drei lässt sich das Problem eingrenzen, ich habe Veeam für die Sicherung meiner virtuellen Server im Einsatz und irgendwie scheint es Probleme mit der Sicherung via SSH zu geben. Somit werde ich mir ein anderes System für meine Backups zusammen stellen müssen und das NAS für andere Daten bzw. Projekte verwenden.