fdisk -l
Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 204799 102399+ 83 Linux
/dev/sdb2 204800 2252799 1024000 82 Linux swap / Solaris
/dev/sdb3 2252800 488279609 243013405 83 Linux
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00092940
Device Boot Start End Blocks Id System
/dev/sda1 * 1 204799 102399+ 83 Linux
/dev/sda2 204800 2252799 1024000 82 Linux swap / Solaris
/dev/sda3 2252800 488279609 243013405 83 Linux
Disk /dev/md1: 248.8 GB, 248845631488 bytes
2 heads, 4 sectors/track, 60753328 cylinders, total 486026624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn’t contain a valid partition table
Disk /dev/md0: 104 MB, 104726528 bytes
2 heads, 4 sectors/track, 25568 cylinders, total 204544 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn’t contain a valid partition table
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
102272 blocks [2/2] [UU]
md1 : active raid1 sda3[0] sdb3[1]
243013312 blocks [2/2] [UU]
unused devices:
mdadm -D /dev/md1
/dev/md1:
Version : 0.90
Creation Time : Mon Dec 3 17:05:07 2012
Raid Level : raid1
Array Size : 243013312 (231.76 GiB 248.85 GB)
Used Dev Size : 243013312 (231.76 GiB 248.85 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Wed Dec 14 10:39:31 2016
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 72413b9b:190cce1f:daf46747:b8a20270
Events : 0.1601
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
102272 blocks [2/2] [UU]
md1 : active raid1 sda3[0] sdb3[1]
243013312 blocks [2/2] [UU]
unused devices:
sfdisk -l /dev/sda
Disk /dev/sda: 30394 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 12- 13- 102399+ 83 Linux
/dev/sda2 12+ 140- 128- 1024000 82 Linux swap / Solaris
/dev/sda3 140+ 30393 30254- 243013405 83 Linux
/dev/sda4 0 - 0 0 0 Empty
sfdisk -l /dev/sdb
Disk /dev/sdb: 30394 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 * 0+ 12- 13- 102399+ 83 Linux
/dev/sdb2 12+ 140- 128- 1024000 82 Linux swap / Solaris
/dev/sdb3 140+ 30393 30254- 243013405 83 Linux
/dev/sdb4 0 - 0 0 0 Empty