Ich hab folgendes Problem:
Ich habe einen smb-share (OpenMediaVault) auf einem Software Raid 1 (mdadm) laufen (2 HDD`s via USB angeschlossen). Soweit funktioniert auch alles top, Zugriffe, Geschwindigkeit, Berechtigungen (aus Linux und Windows 10) passen.
Die CPU Auslastung ist im Leerlauf bei ca. 8-20% (Es sind auch Docker container auf diesem Server gehostet -> InfluxDB (Ein paar virtuelle und physische Rechner schreiben via Telegraf in die InfluxDB -> Grafana holt sich dann von dieser DB alle notwendigen Daten), DNS-Server, ...nichts aufregendes -> HDD Zugriffe betragen ein paar kb/sek).
Sobald ich Größere Dateien übers Netzwerk auf das Raid1 (Netzlaufwerk) schreibe geht die CPU Last auf knapp 100%.
Auf einem anderen Server habe ich Grafana als Monitoring System installiert. Dort ist der hohe CPU Anstieg sehr gut ersichtlich, selbiges Bild auch bei Check_MK (auf einem anderen Server als alerting System am Laufen).
vom SMB Lesen ist absolut kein Problem.
Debian 10.7 (ohne GUI)
Code: Alles auswählen
root@media:~# cat /etc/debian_version
10.7
Code: Alles auswählen
root@media:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@media:~#
Code: Alles auswählen
root@media:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md127 : active raid1 sdb[1] sdc[0]
976596992 blocks super 1.2 [2/2] [UU]
bitmap: 1/8 pages [4KB], 65536KB chunk
unused devices: <none>
Code: Alles auswählen
root@media:~# cat /etc/mdadm/mdadm.conf
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# definitions of existing MD arrays
ARRAY /dev/md/name metadata=1.2 name=media:name UUID=e69fabd4:c78a330a:6394f872:0bd67ad5
MAILADDR root@localhost
Code: Alles auswählen
root@media:~# mdadm -D /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Wed Nov 11 20:02:49 2020
Raid Level : raid1
Array Size : 976596992 (931.36 GiB 1000.04 GB)
Used Dev Size : 976596992 (931.36 GiB 1000.04 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Tue Jan 26 09:52:30 2021
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : bitmap
Name : media:name (local to host media)
UUID : e69fabd4:c78a330a:6394f872:0bd67ad5
Events : 30014
Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc
1 8 16 1 active sync /dev/sdb
Ich bitte euch um Hilfe.
LG Chris