Re: Adding a new disk to an existing raid 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Apr 1, 2014 at 8:08 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> On 4/1/2014 5:03 PM, SilverTip257 wrote:
> > You can "clone" the partition layout from an existing healthy disk and
> > write it to the new disk with sfdisk.*As always, be very careful*  what
> > disk you're dumping the partition layout from and which one is the target
> > destination.
> >
> > sfdisk -d /dev/sdX | sfdisk /dev/sdY
>
> does sfdisk support GPT disks, or is it limited to disks under 2TB ?
>
>
Good question.
[ In all of the servers at my $DAY_JOB, the disks in software raid arrays
are <= 2TB at the moment. ]

No.  sfdisk does _NOT_ support GPT.
But sgdisk [0] does. [1] [2]


* I've not tested/labbed sgdisk usage, so if anybody on the list has
experience using it please speak up. :-)


[0] http://www.cyber-tec.org/2012/04/07/sfdisk-for-gpt-we-use-sgdisk/
[1] http://www.ibm.com/developerworks/library/l-gpt/
[2]
http://askubuntu.com/questions/57908/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-hard-drive-to-another


-- 
---~~.~~---
Mike
//  SilverTip257  //
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux