* Another Installer bug. xfs also not work...
@ 2023-04-05 6:48 Arne Fitzenreiter
2023-04-05 9:16 ` Stefan Schantl
0 siblings, 1 reply; 3+ messages in thread
From: Arne Fitzenreiter @ 2023-04-05 6:48 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
At my tests about the grub install bug i found another that is there
since core173.
The install on xfs filesystem fails because xfsprogs refuse to create
filesystems smaller than 300MB.
https://bugzilla.ipfire.org/show_bug.cgi?id=13077
there are three possible solutions:
1. add "-unsupported" flag to ignore this limit (not sure if this a good
idea
because we had strange out of space reports in the past also if no
additional filles
are installed.)
2. enlarge boot partition
3. switch boot partition to ext4
Which is the best solution?
Arne
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Another Installer bug. xfs also not work...
2023-04-05 6:48 Another Installer bug. xfs also not work Arne Fitzenreiter
@ 2023-04-05 9:16 ` Stefan Schantl
2023-04-06 12:59 ` Michael Tremer
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Schantl @ 2023-04-05 9:16 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
Hello Arne,
thanks for having a look on this and figuring out this limitation.
> At my tests about the grub install bug i found another that is there
> since core173.
>
> The install on xfs filesystem fails because xfsprogs refuse to create
> filesystems smaller than 300MB.
>
> https://bugzilla.ipfire.org/show_bug.cgi?id=13077
>
> there are three possible solutions:
> 1. add "-unsupported" flag to ignore this limit (not sure if this a
> good
> idea
> because we had strange out of space reports in the past also if
> no
> additional filles
> are installed.)
The will have their reasons, why the developers choosed 300 MB as
minimum file system size. Even there is this flag to bypass that, may
there as you already mentioned unexpected side effects.
>
> 2. enlarge boot partition
This would be a good idea, because the kernel size grows up from
release to release and if there are strange out of space problems in
the past would solve them too. Enlarge to for example 512MB would solve
both issues at once.
Are there any problems to expect for small installations on very
limited storage space (SD-cards etc.) ?
>
> 3. switch boot partition to ext4
This would bypass the XFS limitation but would result in a kind of
very fragmented filesystem types. EFI would be vfat, boot ext4 and if
selected the main file systemd XFS.
I would no expect any troubles when doing this but for me it tastes a
bit dizzy and unclean.
>
> Which is the best solution?
In theory there would be a fourth option:
4. Drop the option to select XFS during setup and force the usage of
ext4....
>
> Arne
Best regards,
-Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Another Installer bug. xfs also not work...
2023-04-05 9:16 ` Stefan Schantl
@ 2023-04-06 12:59 ` Michael Tremer
0 siblings, 0 replies; 3+ messages in thread
From: Michael Tremer @ 2023-04-06 12:59 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 2570 bytes --]
Hello,
I would say we simply increase the size of the partition to 512 MiB. It feels a little bit wasteful, but there is not much else we can do if we want to continue supporting XFS.
I do not think there is any benefit in mixing partition types, because with XFS selected and VFAT being used for EFI and ext4 being used for /boot you would have a whole zoo of file systems not offering any advantage.
I have no idea what the state is out there that we can finally drop the /boot partition and systems with hard drives of several terabyte size would still be able to boot. So for that reason, I would like to keep things as they are and just enlarge the partition.
Best,
-Michael
> On 5 Apr 2023, at 10:16, Stefan Schantl <stefan.schantl(a)ipfire.org> wrote:
>
> Hello Arne,
>
> thanks for having a look on this and figuring out this limitation.
>> At my tests about the grub install bug i found another that is there
>> since core173.
>>
>> The install on xfs filesystem fails because xfsprogs refuse to create
>> filesystems smaller than 300MB.
>>
>> https://bugzilla.ipfire.org/show_bug.cgi?id=13077
>>
>> there are three possible solutions:
>> 1. add "-unsupported" flag to ignore this limit (not sure if this a
>> good
>> idea
>> because we had strange out of space reports in the past also if
>> no
>> additional filles
>> are installed.)
>
> The will have their reasons, why the developers choosed 300 MB as
> minimum file system size. Even there is this flag to bypass that, may
> there as you already mentioned unexpected side effects.
>
>>
>> 2. enlarge boot partition
>
> This would be a good idea, because the kernel size grows up from
> release to release and if there are strange out of space problems in
> the past would solve them too. Enlarge to for example 512MB would solve
> both issues at once.
>
> Are there any problems to expect for small installations on very
> limited storage space (SD-cards etc.) ?
>
>>
>> 3. switch boot partition to ext4
>
> This would bypass the XFS limitation but would result in a kind of
> very fragmented filesystem types. EFI would be vfat, boot ext4 and if
> selected the main file systemd XFS.
>
> I would no expect any troubles when doing this but for me it tastes a
> bit dizzy and unclean.
>
>>
>> Which is the best solution?
>
> In theory there would be a fourth option:
>
> 4. Drop the option to select XFS during setup and force the usage of
> ext4....
>
>>
>> Arne
>
> Best regards,
>
> -Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-06 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 6:48 Another Installer bug. xfs also not work Arne Fitzenreiter
2023-04-05 9:16 ` Stefan Schantl
2023-04-06 12:59 ` Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox