Today i searched for a problem with a docker container. Since there was a problem with the memory usage of the container, I wanted to check it in my Grafana. But unfortunately, the Telegraf plugin showed 0 bytes for each container since months. I founded the solution the the Telegraf GitHub issues. You need to enable memory control groups on Raspberry Pi. To do that, add the following to your
/boot/cmdline.txt to enable this metic:
And after reboot, it works:
When you need tools like iotop or tcpdump on you Synology DiskStation or RackStation, you doens't need to itall it via ipkg. Synology had a build in way to install the tools.
- Connect via SSH to your NAS
sudo synogear install
- Now you could use the tools from the list below
The package "Diagnosis Tool" are now also visible in the package center. You could also uninstall it from here, but a installation from package center is not possible.
I wanted to erase and overwrite the data on some hard disks that I need to downgrade my RAID 5 from three 4TB WD Red to only two. The erase function on the webgui doesn't work - something message like "don't possible with your drive". I search and found an alternative:
dd if=/dev/zero of=/dev/sdX bs=1M conv=noerror
To identify the disk use fdisk and/or hdparm:
hdparm -I /dev/sdX
To run the dd command furthermore after disconnection from the SSH connection, use nohup:
nohup dd if=/dev/zero of=/dev/sdX bs=1M conv=noerror