Re: mdadm - two questions
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 can only answer this question. I did something similar on an old computer
several years ago except I had to grow the LV using other partitions instead
of adding new disks.
The computer had two disks. Each disk had a partition assembled as a raid1
array md0. md0 was the only PV of the VG.
When I had to grow the VG, I reclaimed two existing partitions from each disk
and assembled them as md1 and md2. Then I added /dev/md1 and /dev/md2 to the
VG.
It doesn't matter to the VG if it is made of /dev/sda1 and /dev/sdb2 or
/dev/md0 and /dev/md1.
Then follow the usual procedure to grow the LV and the file system.
Frederic
Reply to: