您的位置:首页 > 其它

安装ceph文件格式化的问题

2014-07-02 10:27 295 查看
Prepare a GPT partition table (I have observed stability issues when using a dospartition)
$ sudo parted /dev/sd<x>
(parted) mklabel gpt
(parted) mkpart primary xfs 0 ­100%
(parted) quit


if parted complains about alignment issues (“Warning: The resulting partition is not properly aligned for best performance”),
check this two links to find a solution: 1 and2.

Format the disk with xfs (you might need to install xfs tools
with
sudo apt-get install xfsprogs
)
$ sudo mkfs.xfs /dev/sd<x>1


Create a Journal partition (raw/unformatted)
$ sudo parted /dev/sd<y>
(parted) mklabel gpt
(parted) mkpart primary 0 100%


fdisk /dev/vdb

n

p

1

w

-----------------------------------------------------------

mkfs.xfs -f /dev/vdb
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐