rtfd/in/private/server/index.rst
Marc Beninca 04fe9aeda1 hw,parts
2018-12-19 23:33:02 +01:00

56 lines
779 B
ReStructuredText

Server
======
Hardware
--------
=== ================================
BHS KS-12
CPU Intel Xeon W3530 4c/8t @ 2.8 GHz
RAM 32 GB DDR3 ECC @ 1333 MHz
HDD 2 × 2 TB
WAN 100 Mbps /128
IP4 192.99.14.98
IP6 2607:5300:60:3f62::1
=== ================================
Partitions
----------
.. code:: shell
parted
select /dev/sda
mktable gpt
mkpart raid 1 2000364
mkpart boot 2000364 2000399
toggle 2 boot
select /dev/sdb
mktable gpt
mkpart raid 1 2000364
mkpart boot 2000364 2000399
toggle 2 boot
q
.. code:: shell
mdadm --create /dev/md0 \
--level 0 --raid-devices 2 /dev/sd[ab]1
.. code:: shell
parted /dev/md0
mktable gpt
mkpart data 1 3966099
mkpart swap 3966099 4000458
q
.. code:: shell
mkfs.ext4 -L data /dev/md0p1
mkswap --label swap /dev/md0p2