Ferramentas recomendadas:
Sistema Operacional | Ferramenta | Formato | Sistema de arquivos |
---|---|---|---|
Windows | Disk Management | GPT | NTFS |
Linux | parted | GPT | Ext4 or XFS |
yum install -y parted
yum install -y e2fsprogs
fdisk -l
parted /dev/sdb
mklabel gpt
mkpart primary 1 100%
align-check optimal 1
printquit
partprobe
mkfs -t xfs /dev/sdb1
mkdir /test
echo `blkid /dev/sdb1 | awk '{print $2}' | sed 's/\"//g'` /test xfs defaults 0 0 >> /etc/fstab