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

Bug#250284: Debian-Installer Beta 4 bug report



reassign 250284 partman
retitle 250284 Should warn when trying to create partitions with inadapted (too small) size for the filesystem
thanks

Quoting Michael Ahlers (michaela@elwing.org):
> Christian Perrier wrote:
> 
> | IIRC, this is fixed now
> 
> Outstanding.  :)
> 
> |>2. The partition editor doesn't check for minimum block device/partition
> |>size requirements for filesystem options.  Basically, it calculated a 20
> |>MB /tmp filesystem for my installation.  I prefer reiserfs, so I
> |>adjusted all partitions accordingly (knowing this would fail with /tmp
> |>since reiserfs requires in the neighborhood of 30 MB for the journal,
> |>AFAIK).  The failure was not very graceful.  A warning or an adjustment
> |>of the partitions would be very helpful here.
> |
> | I very recently changed the minimum size for the root file system from
> | 30MB to 70MB.
> |
> | You here suggest that 20MB for /tmp may be too small, right? What do
> | you mean by "not very graceful"?
> |
> | Which minimum size do you think would be enough? This seems tricky as
> | 20MB may be enough for an ext2 FS, but probably not for reiserfs as
> | you suggest.
> 
> Sorry for not being so clear--I wrote that report up in a big hurry.  :)
> 
> I'm not really suggesting increasing the minimum size for /tmp (though
> come to think if, it should probably be a little bigger) but it'd be
> helpful if the editor flagged impossible conditions such as this.  By
> not very graceful, I mean that the editor allowed me to create a
> partition that does not meet the minimum requirements as dictated by the
> filesystem I chose to use on it, and then bombed out later in the
> process.  That's a little ugly.  So basically, if I have a 20M partition
> and I tell the editor to make it reiserfs, it should tell me I've done
> something dumb and optimally, offer to recompute the partitions, all
> before I try to commit the changes.


You're right, such check should be made by partman. This means that it
needs to know, for each filesystem type, the minimum requirements.





Reply to: