2018-12-19 22:05:42 +00:00
|
|
|
Server
|
|
|
|
======
|
|
|
|
|
|
|
|
Hardware
|
|
|
|
--------
|
|
|
|
|
2018-12-19 22:33:02 +00:00
|
|
|
=== ================================
|
|
|
|
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
|
|
|
|
----------
|
2018-12-19 22:05:42 +00:00
|
|
|
|
|
|
|
.. 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
|