[CentOS] Adding a new disk to an existing raid 10
SilverTip257
silvertip257 at gmail.com
Wed Apr 2 00:26:48 UTC 2014
On Tue, Apr 1, 2014 at 8:08 PM, John R Pierce <pierce at hogranch.com> 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 //
More information about the CentOS
mailing list