現在の設定をRAID 1設定に変換する方法
root@rescue:~# fdisk -l /dev/sda /dev/sdb
Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x03c70bcf
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1126399 1124352 549M 7 HPFS/NTFS/exFAT
/dev/sda2 1126400 937701039 936574640 446.6G 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 455FA666-C539-4642-B924-B4D8622682AA
猫/proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
unused devices: <none>
df-h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
178.33.xxx.49:/home/pub/rescue.v8 1.8T 369G 1.3T 23% /nfs
tmpfs 16G 1.4M 16G 1% /rw
aufs 16G 1.4M 16G 1% /
178.33.xxx.49:/home/pub/pro-power 1.8T 369G 1.3T 23% /power
178.33.xxx.49:/home/pub/commonnfs 1.8T 369G 1.3T 23% /common
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 16G 9.7M 16G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 16G 8.0K 16G 1% /tmp
LSBLK
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 447.1G 0 disk
sda 8:0 0 447.1G 0 disk
├─sda2 8:2 0 446.6G 0 part
└─sda1 8:1 0 549M 0 part
システムをRAID 1に変換したい/dev/sda
&/dev/sdb