Bug#237534: marked as done (inst report: lots of partman and LVM issues)
Your message dated Tue, 16 Mar 2004 22:49:49 +0200
with message-id <20040316204949.GO13527@lml.bas.bg>
and subject line Closing: inst report: lots of partman and LVM issues
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Mar 2004 23:28:16 +0000
>From tbm@cyrius.com Thu Mar 11 15:28:16 2004
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1B1Zb6-0001P3-00; Thu, 11 Mar 2004 15:28:16 -0800
Received: by sorrow.cyrius.com (Postfix, from userid 10)
id 24D0C64D3A; Thu, 11 Mar 2004 23:28:15 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
id 63D88FEC6; Thu, 11 Mar 2004 23:28:03 +0000 (GMT)
Date: Thu, 11 Mar 2004 23:28:03 +0000
From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: inst report: lots of partman and LVM issues
Message-ID: <[🔎] 20040311232803.GA15182@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_08
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_08
X-Spam-Level:
Package: installation-reports
INSTALL REPORT
Debian-installer-version: daily sid build from 10-March-2004
uname -a: 2.4.25
Method: boot from IDE CD-ROM, using netinst ISO, installin to SCSI disk
Machine: No-name desktop PC
Processor: P2
Memory: 128 MB
Root Device: SCSI, also has a IDE CD-ROM
Base System Installation Checklist:
Initial boot worked: [O]
Configure network HW: [O]
Config network: [ ] Didn't ask me to configure it even two I have 2 net cards
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [O] lots of partman and LVM issues
Create file systems: [O] partman forgot my configurationo
Mount partitions: [O]
Install base system: [O]
Install boot loader: [O]
Reboot: [O]
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Comments/Problems:
OK, first I wanted to partition the hard drive. I chose "Automatically
partition a drive", "use entire", "separate partition for $HOME". Then I
get a menu which says:
- finish partition and write changes
- automatically partition
- undo changes
- configure lvm
Well, I just did "automatically partition" so I don't think this menu
option should be there again. Also, the automatic partitioner did not
create a physical volume (PG) for LVM, so the "configure LVM" menu option
should not be there either.
The automatically partitinoner made good default choices, but I don't like
that it decided to use logical partitions. If it creates 4 or less
partitions, I think only primary partitions should be used. Instead, it
created:
#1 primary root
#5 logical swap
#6 logical /home
Anyway, I was stupid enough to try LVM (I thought it would allow me to
create a PV), but it only gave me those options:
Volume Groups
Logical Volmes
Leave
Obviously that failed since I didn't have any Physical Volumes. Only later
I realized that they have to be created before choosing "configure LVM".
As I said above, this menu entry should not be there if there are no
Physical Volums.
So I choose LVM, and it tell me that it is going to write changes to the
parition before continuing. Okay. Then LVM fails because I have no PVs.
So I get back to that menu. I see those 3 partitions, decide crap, I want
a PV... so I want to configure the partition myself. I therefore select
"undo changes to partitions", but that does _nothing at all_. (Later I
realized I could probably have gone to the /home partition, removed it and
created some new stuff; but I didn't realize that I can actually go up
there.) Anyway, "undo changes" should not be there after the changes have
been written to disk.
Okay, I'm totally confused by now. I cannot do LVM, undoing my partitions
doesn't undo anything, and I have no idea how to edit my partition. So I
go to the main menu and choose "Partition disks". Unfortunately, this
does not start from scratch and ask me if I want to do the automatic stuff
or Be A Man and do it myself... it simply shows me my existing partition.
Arg!
So I decide to wipe the whole thing with cfdisk and start all over. Here I
find those menu entries:
Partition disks
Partition a hard drive
Very confusing names, imho. I figured out the former is partman and the
latter cfdisk, but this is not clear to people not familiar with d-i.
Okay, I wipe the disk with cfdisk, and select "Partition disks" again, this
time doing everything myself. I create a root partition, but decide to say
"do not use". I create /home, etc... okay, obviously not having a root
sucks, so I go back and say "format", "use XFS" (yeah, I felt
experimental). When I want to format the partitions, it complains about
XFS being on the root partition, and drops me back. I choose ext3. Well,
anyway, I have no idea how I did it, but it simpl forgot that I wanted to
format this partition. It said "do not use" again, even thought I told
it before to format it. I saw this several times, so this is not just me.
It complained about "No root file system is defined".
Another thing: when I was so smart not to format my root partition (i.e.
"do not use") the menu showed "ext3" anyway.
Okay, So I have a /, swap and another partition for LVM. For some reason,
LVM didn't see the PV, so I just ignored LVM for now and decided to go
ahead and format my root partition. It formats root, checks swap (why does
it check swap? This is kinda slow), and then installs base. Okay, but I
really want LVM. So I choose "Configure LVM" again and now it sees my PV.
So I create a Volume Group (VG). 2 annoying things:
- this shows devfs style partition names, which so does not fit in with
part partman showed me before.
- 1 created one VG, only have one PV, and after creating the VG I was
back in the "creating and configuring VG groups" menu. Obviously I
want to be in the next menu (LV) - I cannot add another VG anyway.
OK, let's create a Logical Volume (LV):
- I happily type "4GB" - which partman recognizes, but LVM doesn't.
lvcreate -- ERROR option L argument "4GB"
Okay, I admit I should have _read_ what the screen says, but this
feels very awkward. LVM should recognize the same terms as partman.
- Also, the size should default to the rest which is still available.
I had about 6.6 GB in my VG. So I first did 4G for home, and then
I wanted to use the rest for scratch. But I could not easily found
out _exactly_ what my rest was. I simply typed 2G, but that left
100 megs spare. I think the size question should default to what
is still available on the VG.
Okay, after doing all of this, and wanting to continue, I get this "No root
file system is defined!" error again. Again it forgot about my root, which
I had defined. Okay, let's define it again, format it and the LVM... and
then d-i wants to install GRUB. Obviously it remembers I installed the
base system before; but I just formated my root, so the base is gone.
well, obviously installing GRUB failed. So I manually choose "install
base", and installed base and GRUB, and that worked.
Hmm, "install base" installs pcmcia-cs. This is a desktop PC without
PCMCIA.
Setting up a user account still does not ask for the real name. (Bug filed
a while ago)
After boot, my LVM physical group was not found. /etc/lvmtab was empty.
Also, I realize now that the installer never asked me to configure a
network even though I have 2 network cards.
[OK, let's start all over]
Hmm, okay, another issue. I partition the disk, have a root, swap and one
partition for LVM. I then configure LVM; it tells me that it has to write
the information to disk, and then happily goes on formating my root
partition. This skips the usual check asking if you really want to lose
your data.
Oh, it does it again. I partitioned the disk new, created a root, told it
to use ext3 and use / as mountpoint, then added swap, then a partition for
LVM. Then I configure LVM, add a VG and some LVs, then get back to the
menu. I tell it to use the LVs for /home and /scratch, then go to the root
to check, but it says "do not use". I don't know why it forgets this, but
it seems pretty repeatable.
So I tell it that I really want to us this as root with ext3, go on and
this partition gets formated again. However, it was formated already when
I chose "configure LVM". It shouldn't be formated twice.
After reboot, my LVM file systems are again not found. pvscan simply
doesn't find anything ("no valid physical volumes found"); /dev/sda3 is of
type 83 (Linux LVM), though. Ohhhhh, probably because lvm10 is installed
instead of lvm2! Doh!
Hmm, GRUB also uses a difference naming schema for partitions. partman,
LVM and GRUB/lilo really should use the name schema.
Anyway, partman looks really cute. There are obviously still some issues,
but that was to be expected. One thing I felt is that the whole thing felt
rather sluggish. After making one choice, the whole window is redrawn, and
this seems to be quite slow (and this PC isn't that old). Also, partman
takes a while to start; but I don't know what exactly it is doing.
Thanks for all the good work. I'm glad to see cfdisk disappear, at least
on i386 and some other architectures.
--
Martin Michlmayr
tbm@cyrius.com
---------------------------------------
Received: (at 237534-done) by bugs.debian.org; 16 Mar 2004 20:44:46 +0000
>From anton@lml.bas.bg Tue Mar 16 12:44:46 2004
Return-path: <anton@lml.bas.bg>
Received: from lml.bas.bg [195.96.224.121]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1B3LQb-0005xF-00; Tue, 16 Mar 2004 12:44:46 -0800
Received: from anton by lml.bas.bg with local (Exim 3.35 #1 (Debian))
id 1B3LVW-00075Q-00
for <237534-done@bugs.debian.org>; Tue, 16 Mar 2004 22:49:50 +0200
Date: Tue, 16 Mar 2004 22:49:49 +0200
From: Anton Zinoviev <anton@lml.bas.bg>
To: 237534-done@bugs.debian.org
Subject: Closing: inst report: lots of partman and LVM issues
Message-ID: <20040316204949.GO13527@lml.bas.bg>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: 237534-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level:
Thanks a lot for your installation report. I tried to split it into
pieces so you will receive a notification when each of them gets
fixed. Let me know if I have omited something.
Anton Zinoviev
==============================
Processing commands for control@bugs.debian.org:
> clone 237534 -1
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238379.
> reassign -1 partman-lvm
Bug#238379: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman-lvm'.
> retitle -1 Allows to configure LVM even when there are no physical volumes defined
Bug#238379: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -2
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238380.
> reassign -2 partman
Bug#238380: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman'.
> retitle -2 Includes in the menu an item to undo the changes even when no changes can be undone
Bug#238380: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -3
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238381.
> reassign -3 partman
Bug#238381: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman'.
> retitle -3 It is not clear that the user can select the device-lines in order to create new disk label
Bug#238381: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -4
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238382.
> reassign -4 partman-lvm
Bug#238382: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman-lvm'.
> retitle -4 After LVM configuration forgets all assigned methods and mount-points
Bug#238382: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -5
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238383.
> reassign -5 partman
Bug#238383: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman'.
> retitle -5 Probably it forgets in some circumstances the assigned method and mount point
Bug#238383: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -6
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238384.
> reassign -6 partman-basicfilesystems
Bug#238384: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman-basicfilesystems'.
> retitle -6 Does a slow check of the reused swap spaces
Bug#238384: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -7
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238385.
> reassign -7 partman
Bug#238385: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman'.
> retitle -7 recreates the file systems at every execution of the scripts in commit.d
Bug#238385: inst report: lots of partman and LVM issues
Changed Bug title.
> clone 237534 -8
Bug#237534: inst report: lots of partman and LVM issues
Bug 237534 cloned as bug 238386.
> reassign -8 partman
Bug#238386: inst report: lots of partman and LVM issues
Bug reassigned from package `installation-reports' to `partman'.
> retitle -8 when a partition is removed and a new partition is created in its place with different size, the old file system is still detected
Bug#238386: inst report: lots of partman and LVM issues
Changed Bug title.
> thanks
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Reply to: