Re: mdadm - two questions

2016-11-30 Thread Rick Thomas
On Nov 30, 2016, at 3:40 AM, Kamil Jońca wrote: > Rick Thomas writes: > >> Hi Kamil, >> >> You’d get a bit more space by configuring your 4 drives as a RAID5 >> array (3TB usable for RAID5, vs 2TB usable for RAID10). The downside >> of RAID5 is

Re: mdadm - two questions

2016-11-30 Thread Kamil Jońca
Rick Thomas writes: > Hi Kamil, > > You’d get a bit more space by configuring your 4 drives as a RAID5 > array (3TB usable for RAID5, vs 2TB usable for RAID10). The downside > of RAID5 is that the RAID10 (or the one LV with two RAID1 PVs — they > amount to the same thing for

Re: mdadm - two questions

2016-11-30 Thread Kamil Jońca
Andy Smith writes: > Hi Kamil, > > On Tue, Nov 29, 2016 at 01:26:55AM +0100, Kamil Jońca wrote: >> My first plan was somehow migrate to RAID10. I thought that is simply >> "raid0 over some raid1 arrays" so it should be legal to use 2*1TB + >> 2*1GB devices and then extend

Re: mdadm - two questions

2016-11-30 Thread Rick Thomas
Hi Kamil, You’d get a bit more space by configuring your 4 drives as a RAID5 array (3TB usable for RAID5, vs 2TB usable for RAID10). The downside of RAID5 is that the RAID10 (or the one LV with two RAID1 PVs — they amount to the same thing for this discussion) can survive loosing two drives

Re: mdadm - two questions

2016-11-29 Thread Andy Smith
Hi Kamil, On Tue, Nov 29, 2016 at 01:26:55AM +0100, Kamil Jońca wrote: > My first plan was somehow migrate to RAID10. I thought that is simply > "raid0 over some raid1 arrays" so it should be legal to use 2*1TB + > 2*1GB devices and then extend 2*1G => 2*1TB. But it not work that > way. All

Re: mdadm - two questions

2016-11-28 Thread Kamil Jońca
kjo...@poczta.onet.pl (Kamil Jońca) writes: [...]> 2. there is md0 (raid1) with two disk in it. It is PV for lvm. > I want to extend space by adding another two disks. Is it possible somehow > extent md0? Or the only way is to create second md device, and assign it > to volume group? My first

Re: mdadm - two questions

2016-11-23 Thread Frédéric Marchal
On Tuesday 22 November 2016 18:10:53 Kamil Jońca wrote: > 2. there is md0 (raid1) with two disk in it. It is PV for lvm. > I want to extend space by adding another two disks. Is it possible somehow > extent md0? Or the only way is to create second md device, and assign it > to volume group? I

Re: mdadm - two questions

2016-11-22 Thread Kamil Jońca
Dan Ritter writes: > http://serverfault.com/questions/43677/best-way-to-grow-linux-software-raid-1-to-raid-10 Yes. And it was my idea (except rsync I plan to do pvmove to new aray) Thanks for confirmation. KJ -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html The

Re: mdadm - two questions

2016-11-22 Thread Jens Sauer
> Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to > raid1(raid10?) of 4*1TB disks I don't think you can reshape a RAID 1 to a RAID 10. mdadm can reshape RAID 1/5/6. You can move from RAID 5 to 6 or the other way around. *Maybe* you can even reshape from 1 to RAID 5/6. I see

Re: mdadm - two questions

2016-11-22 Thread Dan Ritter
On Tue, Nov 22, 2016 at 09:10:50PM +0100, Kamil Jońca wrote: > Dan Ritter writes: > > >> I want to extend space by adding another two disks. Is it possible somehow > >> extent md0? Or the only way is to create second md device, and assign it > >> to volume group? > > > >

Re: mdadm - two questions

2016-11-22 Thread Kamil Jońca
Dan Ritter writes: >> I want to extend space by adding another two disks. Is it possible somehow >> extent md0? Or the only way is to create second md device, and assign it >> to volume group? > Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to

Re: mdadm - two questions

2016-11-22 Thread Dan Ritter
On Tue, Nov 22, 2016 at 06:10:53PM +0100, Kamil Jońca wrote: > (I do not know it is proper place to ask these questions.) > 1. > man mdadm has some info about CONTAINER-s. > > I think, that I understand how to use it, but I cannot imagine use case > of containers. > Can someone explain whent it

mdadm - two questions

2016-11-22 Thread Kamil Jońca
(I do not know it is proper place to ask these questions.) 1. man mdadm has some info about CONTAINER-s. I think, that I understand how to use it, but I cannot imagine use case of containers. Can someone explain whent it is desirable to use containers, especially DDF instead of free mdX devices?