1.parted /dev/sdb
2.(parted) mklabel gpt //将MBR分区表转换为GPT分区表)
3.(parted) mkpart primary 0 -1
4.(parted) quit
5.mkfs.ext3 /dev/sdb1
6.编辑fstab vi /etc/fstab /dev/sdb1 /data ext3 default 2 2
1.parted /dev/sdb
2.(parted) mklabel gpt //将MBR分区表转换为GPT分区表)
3.(parted) mkpart primary 0 -1
4.(parted) quit
5.mkfs.ext3 /dev/sdb1
6.编辑fstab vi /etc/fstab /dev/sdb1 /data ext3 default 2 2