分区:
parted /dev/sda
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mktable gpt
mkpart LV_name FStype 0% 100%
使用百分比的方式可以防止出现性能警告
quit
格式化:
mkfs.xfs /dev/sda1 mkfs.ext4 /dev/sda1
分区:
parted /dev/sda
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mktable gpt
mkpart LV_name FStype 0% 100%
使用百分比的方式可以防止出现性能警告
quit
格式化:
mkfs.xfs /dev/sda1 mkfs.ext4 /dev/sda1