标签:
/usr/sbin/sgdisk --new=2:0:5120M --change-name=2:ceph-journal --partition-guid=2:150f0081-c630-44c9-ad21-7d95613866ea --typecode=2:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sdb /sbin/partx -a /dev/sdb /sbin/udevadm settle /usr/sbin/sgdisk --largest-new=1 --change-name=1:ceph-data --partition-guid=1:db182a1d-f8c6-4660-9c12-0222e2459dd5 --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be -- /dev/sdb /sbin/partprobe /dev/sdb /sbin/udevadm settle
参考:
http://www.rodsbooks.com/gdisk/sgdisk.html
标签:
原文地址:http://my.oschina.net/itfanr/blog/398194