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

Bug#904184: marked as done (Partman(-lvm) claims all disk when it shouldn't)



Your message dated Tue, 21 Aug 2018 16:19:29 +0000
with message-id <E1fs9NR-0002zC-4u@fasolo.debian.org>
and subject line Bug#904184: fixed in partman-auto-lvm 70
has caused the Debian Bug report #904184,
regarding Partman(-lvm) claims all disk when it shouldn't
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
904184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904184
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Severity: normal

Hi.

I have the following in a preseed file:
(stripped out various confirmation things that are unrelated to paritioning)

d-i partman-auto/method string lvm
# Oh well, the following doesn't exist in Debian and is left
# over from the time the preseed was used for Ubuntu.
d-i partman-auto-lvm/guided_size string 43G
d-i partman-auto/expert_recipe string                         \
       boot-root ::                                           \
              1 1 1 free                                      \
                $iflabel{ gpt }                               \
                $reusemethod{ }                               \
                method{ biosgrub }                            \
              .                                               \
              2048 2048 2048 fat32                            \
                $iflabel{ gpt }                               \
                $reusemethod{ }                               \
                method{ efi }                                 \
                format{ }                                     \
              .                                               \
              2048 2048 2048 ext2                             \
                $defaultignore{ }                             \
                $primary{ }                                   \
                $bootable{ }                                  \
                method{ format }                              \
                format{ }                                     \
                use_filesystem{ }                             \
                filesystem{ ext2 }                            \
                mountpoint{ /boot }                           \
              .                                               \
              26624 26625 41984 $default_filesystem           \
                $lvmok{ }                                     \
                method{ format }                              \
                format{ }                                     \
                use_filesystem{ }                             \
                $default_filesystem{ }                        \
                mountpoint{ / }                               \
              .                                               \
              2048 2048 2048 linux-swap                       \
                $lvmok{ }                                     \
                method{ swap }                                \
                format{ }                                     \
              .


As far as the documentation goes, I would expect that on a machine
with ~560GB of disk (array) that all of the following should be true:
- Disk completely consumed by partitions (yep)
- A single large physical volume for LVM (yep)
- /boot partition outside LVM (yep)
- small free space at start and a GPT/efi partition (yep)
- root (/) partition to have at most 41GB (yep)
- swap to have at most 2GB (NO)
- root partition to be much larger than swap (NO)
- LVs in the VG to use no more than 43G (no, but that was an
Ubuntu-only option anyhow)

So despite the max partition size of root and swap, all of the LVM is
used. And to the vast majority by swap (~516G). Which is unexpected:
a) Why is swap larger than root, despite smaller minimal and smaller priority?
b) Why is all of the VG used up, even though the preseed values say
that only ~43GB should be used at most (41GB for root and 2GB for
swap)?

So, this is essentially a bug report that maximum sizes are not
adhered to and a weak feature request to support the guided_size
option Ubuntu has.

Kind regards,
Sven

--- End Message ---
--- Begin Message ---
Source: partman-auto-lvm
Source-Version: 70

We believe that the bug you reported is fixed in the latest version of
partman-auto-lvm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 904184@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated partman-auto-lvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Aug 2018 17:50:31 +0200
Source: partman-auto-lvm
Binary: partman-auto-lvm
Architecture: source
Version: 70
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description:
 partman-auto-lvm - Automatically partition storage devices using LVM (udeb)
Closes: 515607 904184
Changes:
 partman-auto-lvm (70) unstable; urgency=medium
 .
   [ Sven Mueller ]
   * Add ability to limit space used within LVM VG. Originally by
     Colin Watson <cjwatson@ubuntu.com> (Closes: #515607, #904184)
   * Use LC_ALL=C when asking vgs for information
Checksums-Sha1:
 e7f378cd09cd3253f498f9fb045c0cbe57cb9438 1393 partman-auto-lvm_70.dsc
 8104ab8f4519418e0bef84ba878eda45f65f62d2 115788 partman-auto-lvm_70.tar.xz
 3c73c4de66cf3154f1409396ce0c13df0c4d161b 5079 partman-auto-lvm_70_amd64.buildinfo
Checksums-Sha256:
 cc46c650c0af36c353c8419ecde9e241afa0de016e3c9786ef5bc0e77bd75789 1393 partman-auto-lvm_70.dsc
 23b555ee58a8e6bd04837fa9165c07c73f443566e7243d78b1f559014aaf87b1 115788 partman-auto-lvm_70.tar.xz
 5ade8daa6789944dc32128a22d1773ac96f32cf92fcd6d6481745c9c9ddb0d82 5079 partman-auto-lvm_70_amd64.buildinfo
Files:
 520d27756187e092e11bac24745968df 1393 debian-installer optional partman-auto-lvm_70.dsc
 95fb547ef0b31ece7774d27fa203a6f1 115788 debian-installer optional partman-auto-lvm_70.tar.xz
 d917fb29f3916dccb6bfa9e0bd1b9ce3 5079 debian-installer optional partman-auto-lvm_70_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFFBAEBCgAvFiEEPzuChCNsw7gPxr3/RG4lRTXQVuwFAlt8OFkRHHBrZXJuQGRl
Ymlhbi5vcmcACgkQRG4lRTXQVuzXuQf/QsOhaXGG/tp7NmhZQ/gh/T1BWKahrDEz
De8aUqotRw2ylnqkb3iEGD4YGpWD8XvkXoXD76/S3TGVTQ9coBwmCzw+6eNOgaM2
aXI/VHz49XSld7oqEpAxoKOI2LbcauUyY1JUu7E2DDrz2CFcJPMaqHE6mWITEWQ5
nRrmnziYd+OGWcL/O5AMkhe+pV4jQKTBogo9D7ulRVJd+2r521Ki/z0s3g1V6TAV
2Y9wPGAyUEjTQnfQdNp489owg/+fAUIO/4MnlOYeT4lY/gyhgIfJ8RJKS31F1m3V
CBGfEu5gN7fMyjtMELiuNYxfhev8Tmnwwx7QsE6dK0hDWPlAcXArtg==
=pgS2
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: