On Tue, Mar 21, 2017 at 7:30 AM, François Patte
<francois.patte(a)mi.parisdescartes.fr> wrote:
Le 21/03/2017 00:42, Ed Greshko a écrit :
> On 03/20/17 19:17, François Patte wrote:
>> After many attempts to install f25, I can now log in and see
how
>> anaconda makes the partitionning:
>>
>> What I wanted is a RAID1 system with this partitionning:
>>
>> / 2Gib
>> /boot / 1Gib
>> swap 4Gib
>> /var 15 Gib
>> /usr 40 Gib
>> /home 600Gib
> FWIW, I created a Virtual Machine with 2 32GB disks. I then
installed
> an F25 KDE based system using the netinst ISO. I gave the VM 1.2GB of
> RAM. For the disk configuration I requested RAID1 and
>
> / of 14GB
> /boot of 1GB
> /var of 11GB
> swap of 2GB
> /home whatever was left over.
>
> After install....
>
> [egreshko@2disk ~]$ df --exclude-type=tmpfs --exclude-type=devtmpfs
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/fedora-root 14290376 4892296 8649128 37% /
> /dev/md127 944568 108676 770692 13% /boot
> /dev/mapper/fedora-var 11407600 555420 10249660 6% /var
> /dev/mapper/fedora-home 4029540 258672 3543132 7% /home
>
> [egreshko@2disk ~]$ swapon
> NAME TYPE SIZE USED PRIO
> /dev/dm-1 partition 1.9G 2.9M -1
>
> [root@2disk ~]# parted
> Using /dev/sda
> (parted) print
> Number Start End Size Type File system Flags
> 1 1049kB 1001MB 1000MB primary boot, raid
> 2 1001MB 34.4GB 33.4GB primary raid
> (parted) select /dev/sdb
> (parted) print
> Number Start End Size Type File system Flags
> 1 1049kB 1001MB 1000MB primary boot, raid
> 2 1001MB 34.4GB 33.4GB primary raid
So what?
?!
I am sorry but I do not understand what you mean....
Maybe it would've been clearer if the outputs of lvm and mdadm had
been included, but it's clear that:
- there are two mdadm raid1s of 1G and 34G,
- /boot is the 1G raidvol,
- /, /var, /home, and swap are LVs on the 34G raidvol.
Up to now I did not find how to resize my swap partition and how to
add
the remaining space to the extended partition.
I want to resize the swap from this awfull size given by anaconda
(128Gib) to 4Gib and to move the remaining space (124Gib) to the
extended partition.
Gparted is unable to do this because of the raid1 device where the swap is.
If you mean that swap is in use, run "swapoff -a" first.