HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   RAID1 with GPT ? (http://www.howtoforge.com/forums/showthread.php?t=57189)

dipeshmehta 5th May 2012 08:27

RAID1 with GPT ?
 
Hello,

I have successfully installed and tested configuring software RAID1 as guided in http://www.howtoforge.com/how-to-set...n-ubuntu-10.04 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 http://www.howtoforge.com/how-to-set...debian-squeeze. I am going to install it again as commented.

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

Dipesh

falko 6th May 2012 12:36

What is GPT?

dipeshmehta 7th May 2012 09:03

Quote:

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

Code:

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


Code:

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


http://de.wikipedia.org/wiki/GUID_Partition_Table


All times are GMT +2. The time now is 03:23.

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