Re: remove one md and add its disk to the other md

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

 



On Wed, Feb 8, 2012 at 5:21 PM, Asif Iqbal <vadud3@xxxxxxxxx> wrote:
> Hi All
>
> I have two raid10s
>
> md3 : active raid10 sdh2[3] sdf2[1] sdg2[2] sde2[0]
>      143371392 blocks 64K chunks 2 near-copies [4/4] [UUUU]
>
> md2 : active raid10 sdg1[4] sdc1[0] sdd1[1] sdh1[5] sdf1[3] sde1[2]
>      214684224 blocks 64K chunks 2 near-copies [6/6] [UUUUUU]
>
>
> I like to remove md3 and add its slices to md2. All the slices are of
> same sizes.
>
> Then I like to make sure PV recognizes the size increase.
>
> root@apa-splunk-02:~# pvdisplay /dev/md2
>  --- Physical volume ---
>  PV Name               /dev/md2
>  VG Name               splunk
>  PV Size               204.74 GiB / not usable 576.00 KiB
>  Allocatable           yes
>  PE Size               4.00 MiB
>  Total PE              52413
>  Free PE               1213
>  Allocated PE          51200
>  PV UUID               S3QuJK-dSU5-cjZZ-mcHe-dyux-V3Qo-YIe2oO
>
> What is recommended way to do it? I am using ubuntu lucid server lts 64bit
>
> Thanks for your help

never mind.

I found it easier to just create another PV /dev/md3 and then vgextend the VG
by adding the new PV into it.


>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux