root@rescue:/etc/grub.d# parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA HGST HUS724020AL (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 1049kB 1029kB primary bios_grub
2 2097kB 1999GB 1999GB ext4 primary raid
3 1999GB 2000GB 1572MB linux-swap(v1) primary
------------------------------------
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md2 : active raid5 sdb2[1] sda2[0]
1951973888 blocks level 5, 512k chunk, algorithm 2 [2/2] [UU]
-----
# cat /etc/fstab
#/dev/md2 raid5
UUID="e0368b29-e3b2-4998-97e0-7f3b6431e71f" / ext4 errors=remount-ro,relatime 0 1
------
# mdadm --detail /dev/md2
/dev/md2:
Version : 0.90
Creation Time : Sat Jun 27 18:15:49 2015
Raid Level : raid5
Array Size : 1951973888 (1861.55 GiB 1998.82 GB)
Used Dev Size : 1951973888 (1861.55 GiB 1998.82 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Sun Jun 28 14:20:47 2015
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
UUID : 1329e75e:eece5302:a4d2adc2:26fd5302 (local to host rescue.ovh.net)
Events : 0.52
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
----