[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#260512: swap is turned OFF after disk formatting!



On Tue, Jul 20, 2004 at 07:01:48PM -0400, Joey Hess wrote:
> 
> It's now impossible to do 48 mb installs with d-i, much less 32, because
> the new partman seems to never enable swap after formatting. So things 
> run out of memory eventually.

Why they would run out of memory? The idea is that we enable the swap
before the hungry for memory commands and disable it when such commands
complete.

> Instead, it enables swap early on during formatting (Good), but then
> turns it off once disks are formatted. It seems that the fix to #250969 
> or the change of swap from a file system to a method really broke this

This is the intended behaviour.  Partman did this also before the change
of swap from a file system to a method.

> I don't know why partman does a swapoff at all after/during formatting, and
> I've never understood that part of it. It's sure caused a lot of trouble.

Because active swap means the kernel uses the disk.  Consequently no
editing of the partition table is allowed.

Or you mean that partman should enable the swap when it finishes? This
is possible.

Anton Zinoviev




Reply to: