centos添加分区
2018-03-05
(Linux Example) Create partitions: # parted -s /dev/vdb mklabel gpt # parted -s /dev/vdb unit mib mkpart primary 0% 100% (Linux Example) Create filesystem: # mkfs.ext4 /dev/vdb1 (Linux Example) Mount block storage: # mkdir /mnt/blockstorage # echo >> /etc/fstab # echo /dev/vdb1 /mnt/blockstorage ext4 defaults,noatime 0 0 >> /etc/fstab # mount /mnt/blockstorage
发表评论: