Re: Replace disks

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

 



On Tuesday 27 of March 2018 13:49:28 Wols Lists wrote:

> Very much agreed, although if he can add several new drives physically,
> I also believe you can replace them at the same time
> 
> mdadm /dev/mdX --add /dev/sdDX /dev/sdEX --replace /dev/sdSX /dev/sdTX
>  --with /dev/sdDX /dev/sdEX

Right, but one has to consider trade-offs of having replacement of disks done 
faster, or having less impact on performance of array.

> > I grow FS on LVM level with online expandable FSs like ext4.
> 
> Which you can't do just yet ... the new array will be the exact same
> size as the old one, with a large chunk of unused disk space. 

After copying partition table, I add new partition(s) on remaining free space 
of larger disks, create RAID device from them, create PV on that, add it VG, 
and than I can resize LV with FS as I want.

No pvmove/raid grow needed, easier to put smaller disks back, split array over 
more disks later.


Regards,

-- 
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
 	krótko mówiąc - podpora społeczeństwa."
				Nikos Kazantzakis - "Grek Zorba"

--
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