Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36162

RAID1 on GPT disk

$
0
0
I'm trying to add another RAID array into my Fedora 17 installation.
Here is my partition layout:
Code:

[root@firewall ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): AAD0F319-0A3B-4741-9C09-EF93334781A8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3268468845 sectors (1.5 TiB)

Number  Start (sector)    End (sector)  Size      Code  Name
  1            2048            4095  1024.0 KiB  EF02  BIOS boot partition
  2            4096        1028095  500.0 MiB  0700  Linux filesystem
  3        1028096      105885695  50.0 GiB    FD00  Linux RAID
  4      105885696      114274303  4.0 GiB    8200  Linux swap
  5      114274304      638562303  250.0 GiB  FD00  Linux RAID


[root@firewall ~]# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): B3A2D335-4C1D-4485-BA63-694885A9661D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3268468845 sectors (1.5 TiB)

Number  Start (sector)    End (sector)  Size      Code  Name
  1            2048            4095  1024.0 KiB  EF02  BIOS boot partition
  2            4096        1028095  500.0 MiB  0700  Linux filesystem
  3        1028096      105885695  50.0 GiB    FD00  Linux RAID
  4      105885696      114274303  4.0 GiB    8200  Linux swap
  5      114274304      638562303  250.0 GiB  FD00  Linux RAID

Yet when I try to built my array, partition 5 on either disk cannot by found

Code:

[root@firewall ~]# mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda5 /dev/sdb5
mdadm: cannot open /dev/sda5: No such file or directory

[root@firewall ~]# mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda5 missing
mdadm: cannot open /dev/sda5: No such file or directory

[root@firewall ~]# mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 missing /dev/sdb5
mdadm: cannot open /dev/sdb5: No such file or directory

This is my first forray using a GPT disk rather than an MBR disk.
Do I still need an extended partition after 3 primary partitions? I though GPT did away with that.

Any help would be super.

Viewing all articles
Browse latest Browse all 36162

Trending Articles