/srv/irclogs.ubuntu.com/2012/06/15/#ubuntu-installer.txt

mptOkay, back to LVM11:48
mptcjwatson, xnox: Did you have any further thoughts on the LVM sketches I posted yesterday?11:48
xnoxmpt: =)11:49
xnoxnothing from me.11:50
cjwatsonI didn't, though mostly got eaten by figuring out how to move Kubuntu to universe11:51
mptIf we go for the first option, then the funnels between the two lists would slide around as you scrolled either list.11:51
mpt(Even down to nothingness, if an LVG scrolled out of view altogether.)11:52
xnoxmpt: http://meldmerge.org/images/meld-mary.png ?11:53
mptxnox, yes, like that. I was looking for suitable screenshots of kdiff3 yesterday. :-)11:53
xnoxmeld is gtk app =)11:53
xnoxmpt: http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/images/diskpartitioning/ddmain.png11:55
xnoxfedora's implementation in anaconda installer11:55
xnoxhttp://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/s1-diskpartitioning-x86.html11:55
mptxnox, that looks like my second sketch -- with "Hard Drives" as their equivalent of my "Disks not in any LVM volume group".11:56
xnoxyeap.11:56
xnoxmpt: I like funnels, but I don't know how slick the implementation will look11:57
mpt"The top pane contains a graphical representation of the hard drive, logical volume, or RAID device selected in the lower pane." -- Well, that's obviously upside down then, isn't it11:57
xnoxand if funnels will be friendly, if the are not slick.11:57
mptxnox, is it actually possible to have an LVG that contains only one disk?11:58
xnoxnotice the naming as well VolGroup & lv_MOUNTPOINTNAME11:58
xnoxyes.11:58
xnoxI do11:58
xnoxlet me show you in a sec11:58
xnoxmpt: LVG with one disk, because I can remove/add/resize/snapshot partitions without dataloss11:59
xnoxas a regular disk repartitioning requires defragmentation and is constrained by physical layout.12:00
mptHuh.12:00
mptSorry if this is a silly question, but: If LVM makes repartitioning easier, why don't we do it by default?12:01
xnox=))))12:02
xnoxbecause Windows/MacOSX cannot read any partitions inside LVM12:02
cjwatsonWe looked at it ages ago.  Another problem was that the desktop-side management tools weren't good enough last time we looked.12:02
xnoxand Windows/MacOSX cannot be run on top of LVM12:03
xnoxthey have their own solutions.12:03
cjwatsonAlthough in principle it ought to be way better.12:03
mptok12:03
xnoxWindows Snapshot Service thing and not sure on MacOS X side.12:03
xnoxhttps://picasaweb.google.com/105922848292507689403/June152012?authuser=0&authkey=Gv1sRgCOrolvqC0qOKPg&feat=directlink12:03
mptIs Ubiquity still embedding gparted to the extent that the LVM changes you're making here will be picked up by gparted?12:03
xnoxmpt ^^^12:03
xnoxmy layout of the disks12:03
* xnox nevermind the ugly colouring of the labels12:03
xnoxmpt: gparted is not in ubiquity, but LVM will show / display work with gparted fine12:04
* xnox or is gparted used by partman cjwatson ?12:04
mptThe current advanced partitioning UI is based on gparted12:05
mptI don't know whether it's a copy or an embed12:05
cjwatsonxnox: No.12:06
cjwatsonmpt: It's not really.12:06
cjwatsonIt used to be pre-feisty.12:06
cjwatsonThat was awful and I rewrote it.12:06
cjwatsonSo no, it's not based on gparted in any meaningful sense any more, except maybe some tenuous inspiration or something.12:07
cjwatsonEven then I don't think that's so very much.12:07
* xnox gparted doesn't seem to do anything sensible with LVM2, the disks application can though.12:08
mptcjwatson, ok, I apologize for not noticing a huge amount of work on your part. :-)12:08
* xnox is off to lunch with my mate. be back soon12:08
mptA benefit of that Anaconda design is that it doesn't use a separate dialog for LVM, it's all just in the disk/partition table12:09
mptThe tradeoff is that their "Create Storage" dialog is hideously complex12:11
mptcjwatson, so is a "physical volume" either a whole disk or a partition that isn't inside an LVG already?12:18
cjwatson(I wouldn't use the abbreviation "LVG".  LVM's objects are PV, VG, LV)12:20
mptok12:21
cjwatsonBut yes - or, strictly, it's such a thing that has been prepared for use by LVM12:21
mptbut we don't need to expose that preparation at all in the UI, right? just do it when we need to12:22
cjwatsonRight.12:22
cjwatsonAt the moment we have a step where you tell the partitioner that a partition's "use as" method is "for use by LVM" or some such12:22
cjwatsonBut that doesn't really need to be exposed12:23
mptok12:28
mptoh poop12:36
mptIf ordinary everyday partitions can be part of VGs, then we can't reorder the physical volumes to match their use in VGs, without breaking the grouping of partitions under their parent disks12:37
mptSo the funnel will be more like a braid12:37
cjwatsonIndeed.12:38
mptwhich, in turn, means that some of them will overlap each other12:42
mpt(or could)12:42
cjwatsonQuite possible.12:42
mptoh boy, this is going to be fun to implement12:44
mptWe're going to need clever icons for PV, VG, and LV too...12:45
* mpt realizes that a logical volume group is a logical {volume group}, not a {logical volume} group12:52
mptI guess "logical group of physical volumes" was too wordy12:53
cjwatsonJust don't use the term "logical volume group" and you'll be fine.12:59
cjwatsonSince LVM doesn't.13:00
mptok13:02
mptOn the subject of terminology: What would be a good button label for dismantling a volume group altogether?13:05
mptI had "Split" in the sketches, but that's not very good13:05
mpt"Dismantle"?13:05
cjwatsonI would recommend preferring the verbs used by LVM itself, since they generally aren't too terrible and that way we have a better chance of not confusing people who already know LVM.13:06
cjwatsonIn this case that would be "Remove".13:06
cjwatson(If necessary, "Remove volume group" to distinguish from "Remove physical volume" or whatever.)13:07
mptThat LVM already uses "Remove" for removing individual volumes from a group is precisely why I don't want to use it again for something else :-)13:09
cjwatson"Remove logical volume", "Remove volume group"13:09
cjwatsonSeems clear enough13:09
mptAnd also because removing a volume from a group makes sense -- but what do you remove a volume group from?13:11
cjwatsonThe system13:12
cjwatsonMuch like, say, you remove a partition, or a file13:13
mptYou remove a partition from a volume, a file from a folder13:13
cjwatsons/volume/disk/13:13
mptDisk, or logical volume :-)13:13
cjwatsonNo13:13
mptehh13:13
mptDisk, or volume group13:13
cjwatsonYou don't partition logical volumes unless you're insane13:14
cjwatsonAnd you don't partition volume groups; you create logical volumes in them13:14
mptDammit I understood this until five minutes ago :-)13:14
mptI thought that volume groups were equivalent to disks, in that you can partition them13:15
cjwatsonLogical volumes are slightly analogous to partitions, but I wouldn't recommend using the same terms for them because LVs are much more fluid (less "partitioned").13:15
mpt(That's why I was wondering earlier why we don't do LVM by default for every disk)13:15
cjwatsonFor example, nothing stops you extending a logical volume even if its current extents are enclosed by the extents for two other LVs on either side.13:16
cjwatsonAnyway, I have to rush out for a bit13:16
mptok13:16
mptI want to avoid having a UI for ... volumizing? volume groups that is a near-duplicate of the one for partitioning disks13:17
xnoxmpt: disk and partitioning is like a bread roll, which you have to cut into pieces. LVM is more like a buckets of water: take physical volumes -> and make a bucket of water (Volume Group), and then you can pour as much as you like into different smaller buckets (logical volumes)13:19
cjwatsonThey can be in the same UI, but we shouldn't pretend they're exactly the same thing.13:19
cjwatsonBecause the constraints are quite different.13:19
xnoxsimilarly you can pour water back into volume group, to resize/move/delete/increase size13:19
cjwatsonFor example, when creating a logical volume, there is no reason why you would put it in any particular position in the volume group, whereas that can be quite important for disks in some cases.13:20
cjwatson(In fact, you don't get to know what position a logical volume is in.)13:20
mptok, so there are variations that need speccing for how VGs behave in the main partition table13:22
=== ogra_ is now known as ogra
=== ogra is now known as ogra_
kentbis it unusual for the very first page / plugin in oem-config to get loaded twice, for example:14:19
kentbJun 15 12:04:36 dell-desktop ubiquity[2077]: switched to page language14:19
kentbJun 15 12:04:36 dell-desktop ubiquity[2077]: switched to page language14:19
xnoxkentb: i think it's ok. First it loads and checks if the langauge was preselected during boot, second time to check the preseed.14:41
xnoxbut better cjwatson to answer. I'm don't know oem-config that well.14:42
kentbxnox: Ok. thanks14:42
* xnox grammar fail14:42
xnoxkentb: your welcome14:42
cjwatsonIt sounds a bit curious and at the very least could use some ambiguous debugging.14:49
cjwatsonsome LESS ambiguous debugging14:49
xnoxcjwatson: s/ambiguous/ambitious/ would have worked as well =)14:55
mptcjwatson, xnox, first draft done, details and questions mailed to ubuntu-installer@ <https://docs.google.com/a/canonical.com/document/d/1bZ4yQIVgGaUGSYu3qiUHnQt3ieBZoqunP_DcleHCr3I/edit#heading=h.v8wi3omt1z0>15:02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!