KVM over LVM

20/December/2019 kvmlvmpartedvirsh

Without further explanation

1
2
3
4
5
6
7
8
9
10
parted -a optimal /dev/sda
unit MiB
print free

#    Number  Start     End        Size       Type     File system     Flags
#            0,03MiB   1,00MiB    0,97MiB             Free Space
#     1      1,00MiB   1025MiB    1024MiB    primary  ext4            boot
#     2      1025MiB   5121MiB    4096MiB    primary  linux-swap(v1)
#     3      5121MiB   70657MiB   65536MiB   primary  ext4
#            70657MiB  476940MiB  406283MiB           Free Space
KVM over LVM...

Missing mime-types in nginx

5/December/2019 nginxmime-typeswoff

To display Content-Type correctly, you need to add the following values ​​to mime.types
otherwise the default_type application/octet-stream; directive will be used.

Missing mime-types in...

Snippets mdadm

24/January/2019 mdadmraid

Setting minimum and maximum speeds for devices

1
2
3
# 70000 kilobytes/s ~ 68 Mb/s
echo "70000" > /proc/sys/dev/raid/speed_limit_min
echo "100000" > /proc/sys/dev/raid/speed_limit_max

sysctl analogue

1
2
dev.raid.speed_limit_min=70000
dev.raid.speed_limit_max=100000
Snippets mdadm

Something built-in

25/September/2018 embedded

Something very strange, made from whatever was at hand.

Power lines
Power lines 1800x960
SET_20180416_122537.jpg
Hard drive
Hard drive 1800x960
SET_20180511_020038.jpg
CubieBoard2
CubieBoard2 1800x960
SET_20180511_110516.jpg


Something built-in

Selecting a bootable kernel in the U-Boot console via a debugging connection

29/August/2018 debianubootcubieboardkerneluart

What did the embedded system look like?

Manual kernel selection
Manual kernel selection 595x715
u-boot-kernel-select.png


There is one small CubieBoard 2 next to the small router.
And there is no physical access to them.
A USB-UART is connected to a router controlled by LEDE, the pins of which are connected to CubieBoard2.
Both the router and CubieBoard2 are accessible via ssh.

It was the presence of UART in the assembly that allowed us to raise the fallen CubieBoard2 remotely.

How did it fail?

One day a regular update of the Debian kernel arrives
linux-image-4.9.0-8-armmp-lpae.
After the update the system stops responding.

How is this usually done?

Everything is simple here, you take out the microsd card, and then there is no need to describe it further.

Selecting a bootable...
Page 10 from 11