[11:48] Okay, back to LVM [11:48] cjwatson, xnox: Did you have any further thoughts on the LVM sketches I posted yesterday? [11:49] mpt: =) [11:50] nothing from me. [11:51] I didn't, though mostly got eaten by figuring out how to move Kubuntu to universe [11:51] If we go for the first option, then the funnels between the two lists would slide around as you scrolled either list. [11:52] (Even down to nothingness, if an LVG scrolled out of view altogether.) [11:53] mpt: http://meldmerge.org/images/meld-mary.png ? [11:53] xnox, yes, like that. I was looking for suitable screenshots of kdiff3 yesterday. :-) [11:53] meld is gtk app =) [11:55] mpt: http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/images/diskpartitioning/ddmain.png [11:55] fedora's implementation in anaconda installer [11:55] http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/s1-diskpartitioning-x86.html [11:56] xnox, that looks like my second sketch -- with "Hard Drives" as their equivalent of my "Disks not in any LVM volume group". [11:56] yeap. [11:57] mpt: I like funnels, but I don't know how slick the implementation will look [11:57] "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 it [11:57] and if funnels will be friendly, if the are not slick. [11:58] xnox, is it actually possible to have an LVG that contains only one disk? [11:58] notice the naming as well VolGroup & lv_MOUNTPOINTNAME [11:58] yes. [11:58] I do [11:58] let me show you in a sec [11:59] mpt: LVG with one disk, because I can remove/add/resize/snapshot partitions without dataloss [12:00] as a regular disk repartitioning requires defragmentation and is constrained by physical layout. [12:00] Huh. [12:01] Sorry if this is a silly question, but: If LVM makes repartitioning easier, why don't we do it by default? [12:02] =)))) [12:02] because Windows/MacOSX cannot read any partitions inside LVM [12:02] We looked at it ages ago. Another problem was that the desktop-side management tools weren't good enough last time we looked. [12:03] and Windows/MacOSX cannot be run on top of LVM [12:03] they have their own solutions. [12:03] Although in principle it ought to be way better. [12:03] ok [12:03] Windows Snapshot Service thing and not sure on MacOS X side. [12:03] https://picasaweb.google.com/105922848292507689403/June152012?authuser=0&authkey=Gv1sRgCOrolvqC0qOKPg&feat=directlink [12:03] Is Ubiquity still embedding gparted to the extent that the LVM changes you're making here will be picked up by gparted? [12:03] mpt ^^^ [12:03] my layout of the disks [12:03] * xnox nevermind the ugly colouring of the labels [12:04] mpt: gparted is not in ubiquity, but LVM will show / display work with gparted fine [12:04] * xnox or is gparted used by partman cjwatson ? [12:05] The current advanced partitioning UI is based on gparted [12:05] I don't know whether it's a copy or an embed [12:06] xnox: No. [12:06] mpt: It's not really. [12:06] It used to be pre-feisty. [12:06] That was awful and I rewrote it. [12:07] So no, it's not based on gparted in any meaningful sense any more, except maybe some tenuous inspiration or something. [12:07] Even then I don't think that's so very much. [12:08] * xnox gparted doesn't seem to do anything sensible with LVM2, the disks application can though. [12:08] cjwatson, 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 soon [12:09] A benefit of that Anaconda design is that it doesn't use a separate dialog for LVM, it's all just in the disk/partition table [12:11] The tradeoff is that their "Create Storage" dialog is hideously complex [12:18] cjwatson, so is a "physical volume" either a whole disk or a partition that isn't inside an LVG already? [12:20] (I wouldn't use the abbreviation "LVG". LVM's objects are PV, VG, LV) [12:21] ok [12:21] But yes - or, strictly, it's such a thing that has been prepared for use by LVM [12:22] but we don't need to expose that preparation at all in the UI, right? just do it when we need to [12:22] Right. [12:22] At 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 such [12:23] But that doesn't really need to be exposed [12:28] ok [12:36] oh poop [12:37] If 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 disks [12:37] So the funnel will be more like a braid [12:38] Indeed. [12:42] which, in turn, means that some of them will overlap each other [12:42] (or could) [12:42] Quite possible. [12:44] oh boy, this is going to be fun to implement [12:45] We're going to need clever icons for PV, VG, and LV too... [12:52] * mpt realizes that a logical volume group is a logical {volume group}, not a {logical volume} group [12:53] I guess "logical group of physical volumes" was too wordy [12:59] Just don't use the term "logical volume group" and you'll be fine. [13:00] Since LVM doesn't. [13:02] ok [13:05] On the subject of terminology: What would be a good button label for dismantling a volume group altogether? [13:05] I had "Split" in the sketches, but that's not very good [13:05] "Dismantle"? [13:06] I 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] In this case that would be "Remove". [13:07] (If necessary, "Remove volume group" to distinguish from "Remove physical volume" or whatever.) [13:09] That 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] "Remove logical volume", "Remove volume group" [13:09] Seems clear enough [13:11] And also because removing a volume from a group makes sense -- but what do you remove a volume group from? [13:12] The system [13:13] Much like, say, you remove a partition, or a file [13:13] You remove a partition from a volume, a file from a folder [13:13] s/volume/disk/ [13:13] Disk, or logical volume :-) [13:13] No [13:13] ehh [13:13] Disk, or volume group [13:14] You don't partition logical volumes unless you're insane [13:14] And you don't partition volume groups; you create logical volumes in them [13:14] Dammit I understood this until five minutes ago :-) [13:15] I thought that volume groups were equivalent to disks, in that you can partition them [13:15] Logical 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] (That's why I was wondering earlier why we don't do LVM by default for every disk) [13:16] For 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] Anyway, I have to rush out for a bit [13:16] ok [13:17] I want to avoid having a UI for ... volumizing? volume groups that is a near-duplicate of the one for partitioning disks [13:19] mpt: 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] They can be in the same UI, but we shouldn't pretend they're exactly the same thing. [13:19] Because the constraints are quite different. [13:19] similarly you can pour water back into volume group, to resize/move/delete/increase size [13:20] For 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] (In fact, you don't get to know what position a logical volume is in.) [13:22] ok, so there are variations that need speccing for how VGs behave in the main partition table === ogra_ is now known as ogra === ogra is now known as ogra_ [14:19] is it unusual for the very first page / plugin in oem-config to get loaded twice, for example: [14:19] Jun 15 12:04:36 dell-desktop ubiquity[2077]: switched to page language [14:19] Jun 15 12:04:36 dell-desktop ubiquity[2077]: switched to page language [14:41] kentb: i think it's ok. First it loads and checks if the langauge was preselected during boot, second time to check the preseed. [14:42] but better cjwatson to answer. I'm don't know oem-config that well. [14:42] xnox: Ok. thanks [14:42] * xnox grammar fail [14:42] kentb: your welcome [14:49] It sounds a bit curious and at the very least could use some ambiguous debugging. [14:49] some LESS ambiguous debugging [14:55] cjwatson: s/ambiguous/ambitious/ would have worked as well =) [15:02] cjwatson, xnox, first draft done, details and questions mailed to ubuntu-installer@