Moja podstawowa partycja to sdb . Dodaję nowy dysk ( sda ) i sformatowałem go, jak pokazano poniżej:
fdisk -l
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x00050ccb
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 499711 248832 83 Linux
/dev/sdb2 501758 488396799 243947521 5 Extended
/dev/sdb5 501760 488396799 243947520 8e Linux LVM
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x00050ccb
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 fd Linux raid autodetect
/dev/sda2 501758 488396799 243947521 5 Extended
/dev/sda5 501760 488396799 243947520 fd Linux raid autodetect
Disk /dev/mapper/ubuntu--server-root: 247.7 GB, 247652679680 bytes
255 heads, 63 sectors/track, 30108 cylinders, total 483696640 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/mapper/ubuntu--server-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--server-swap_1: 2143 MB, 2143289344 bytes
255 heads, 63 sectors/track, 260 cylinders, total 4186112 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/mapper/ubuntu--server-swap_1 doesn't contain a valid partition table
Mam już następujące elementy:
/dev/mapper/ubuntu--server-root
/dev/mapper/ubuntu--server-swap_1
Teraz chcę zainstalować mdadm. Czy muszę utworzyć md0 i md1? Sprawdziłem ten samouczek , ale nie wiem, czy mądrze jest tworzyć md0 i md1, ponieważ nie wiem, co z tym zrobić /dev/mapper/*
.