Le 21/03/2017 12:54, Tom H a écrit :
> On Tue, Mar 21, 2017 at 7:30 AM, François Patte
> <francois.pa...@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.

Where do you see LV? I only see primary....

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

You can deactivate the swap from gparted... Anyway, when I ask Gparted
to resize the swap (/dev/md126 for instance), there is absolutely no
problem and Gparted opens a window and tell me that everything was
successfull and, yes, I can see on the main window that the partition
has been shrinked *but* as soon as I close the window saying that
everything was successfull, the partition goes back to the previous size
(128Gib).

I tried parted
(https://www.gnu.org/software/parted/manual/html_chapter/parted_7.html
section 7.3.2) but same result: "everything is successfull.... until I
check the size of my swap partition which is still 128Gib!!!

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to