HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Technical (
-   -   RAID1 with GPT ? (

dipeshmehta 5th May 2012 08:27

RAID1 with GPT ?

I have successfully installed and tested configuring software RAID1 as guided in on my test environment.

However, my production server is with 2 TB drives, the partitions during installation created GPT. Now fdisk and sfdisk commands do not work with GPT which have been used in the said howto.

I installed gdisk to deal with, and its almost similar to fdisk, but couldn't find alternative for sfdisk. Then I came to know about a comment by paul at I am going to install it again as commented.

I would like to invite suggestion and other ways of doing the same.


falko 6th May 2012 12:36

What is GPT?

dipeshmehta 7th May 2012 09:03


Originally Posted by falko (Post 278683)
What is GPT?


root@GPT-RAID:~# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 2199.0 GB, 2199022206976 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1      267350  2147482623+  ee  GPT


root@GPT-RAID:~# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.5.1

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 4294965248 sectors, 2.0 TiB
Disk identifier (GUID): D68031F5-9C77-471F-BE42-DADC86F5B8D5
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 4294965214
Total free space is 4029 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size      Code  Name
  1            2048          976895  476.0 MiB  EF00
  2          976896        30273535  14.0 GiB    8200
  3        30273536      4294963199  2.0 TiB    0700

All times are GMT +2. The time now is 20:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.