centos7 的system + 大于2T磁盘parted centos7格式化大于2T的硬盘
1.vim /etc/systemd/system/alertmanager.service
[Unit] Description=Alertmanager After=network-online.target [Service] Restart=on-failure ExecStart=/usr/local/alertmanager-0.15.2.linux-amd64/alertmanager --config.file=/usr/local/alertmanager-0.15.2.linux-amd64/alertmanager.yml [Install] WantedBy=multi-user.target
1.
centos7格式化大于2T的硬盘
https://jingyan.baidu.com/article/e52e361516fadb40c60c511c.html
parted /dev/vdb
mklabel gpt
mkpart primary 0 2TB
mkfs.ext4 /dev/vdb1
用一个例子来演示会更加清晰