root@Cloud:~# fdisk -l /dev/sdb
Disk /dev/sdb: 750 GiB, 805306368000 bytes, 1572864000 sectors
Disk model: Virtual SATA Hard Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@Cloud:~# synopartition --part /dev/sdb 12
Device Sectors (Version7: SupportRaid)
/dev/sdb1 4980480 (2431 MB)
/dev/sdb2 4194304 (2048 MB)
Reserved size: 262144 ( 128 MB)
Primary data partition will be created.
WARNING: This action will erase all data on '/dev/sdb' and repart it, are you su re to continue? [y/N] y
WARNING! You have only one disk.
Cleaning all partitions...
Creating sys partitions...
Creating primary data partition...
Please remember to mdadm and mkfs new partitions.
root@Cloud:~# mdadm --create /dev/md2 --level=1 --raid-devices=1 --force /dev/sd b3
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md2 started.
root@Cloud:~# mkfs.btrfs -f /dev/md2
btrfs-progs v4.0
See http://btrfs.wiki.kernel.org for more information.
WARNING: failed to open /dev/btrfs-control, skipping device registration: No suc h file or directory
Label: (null)
UUID: c4e38a61-0cd2-4535-9a9a-58e0a091e89f
Node size: 16384
Sector size: 4096
Filesystem size: 745.50GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 1.01GiB
System: DUP 12.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 745.50GiB /dev/md2