[Bug 429130] New: YaST fails to find partition for dist upgrade
https://bugzilla.novell.com/show_bug.cgi?id=429130 Summary: YaST fails to find partition for dist upgrade Product: openSUSE 11.1 Version: Beta 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kkaempf@novell.com QAContact: jsrain@novell.com Found By: --- I have to enable 'show all partitions' in order to get the right one displayed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c1 --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2008-09-23 06:09:50 MDT --- Created an attachment (id=241123) --> (https://bugzilla.novell.com/attachment.cgi?id=241123) y2log from the failed upgrade attempt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 Christoph Thiel <cthiel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c2 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@novell.com, visnov@novell.com, | |aschnell@novell.com AssignedTo|yast2-maintainers@suse.de |snwint@novell.com --- Comment #2 from Stanislav Visnovsky <visnov@novell.com> 2008-09-26 07:38:03 MDT --- 2008-09-22 05:20:40 <2> heron(3659) [YCP] RootPart.ycp:1420 Device does not match fstab: '/dev/sdb2' vs. '/dev/sda2' 2008-09-22 05:20:40 <1> heron(3659) [YCP] SuSERelease.ycp:47 File with release information: /etc/SuSE-release 2008-09-22 05:20:40 <1> heron(3659) [YCP] RootPart.ycp:1456 Partition is valid: false, arch is valid: false 2008-09-22 05:20:40 <1> heron(3659) [YCP] RootPart.ycp:1464 $["boot":true, "detected_fs":`ext3, "device":"/dev/sdb2", "fsid":131, "fstype":"Linux native", "name":"sdb2", "nr":2, "region":[523, 3264], "size_k":26218080, "type":`primary, "udev_id":["scsi-SATA_WDC_WD1600JB-00_WD-WCAL98309057-part2", "ata-WDC_WD1600JB-00GVC0_WD-WCAL98309057-part2"], "udev_path":"pci-0000:00:07.1-scsi-0:0:0:0-part2", "used_fs":`ext3, "uuid":"830863c8-8698-40a1-9dbf-32e23e623a6f"] $[`arch:"x86_64", `arch_valid:false, `fs:`ext3, `fstype:"Linux native", `label:"", `name:"openSUSE Alpha2plus", `valid:false] Seems the disks are presented in different order. Steffen? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c3 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kkaempf@novell.com --- Comment #3 from Stanislav Visnovsky <visnov@novell.com> 2008-09-26 07:39:04 MDT --- Klaus, just in case - can you attach complete YaST logs (save_y2logs) ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User snwint@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c4 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|snwint@novell.com |yast2-maintainers@suse.de Status|NEEDINFO |NEW Info Provider|kkaempf@novell.com | --- Comment #4 from Steffen Winterfeldt <snwint@novell.com> 2008-09-26 08:45:47 MDT --- Disk order is undefined since years. Using sdX as device name is bad. See bug 429019. In any case there's 'hwinfo --map' that AFAIU has been used in the past to track device name changes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2008-09-29 04:50:07 MDT ---
hwinfo --map /dev/sda /dev/sdb /dev/sdb /dev/sda
So YaST should use this ?! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c6 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |snwint@novell.com --- Comment #6 from Klaus Kämpf <kkaempf@novell.com> 2008-09-29 04:51:53 MDT --- (In reply to comment #4 from Steffen Winterfeldt)
Disk order is undefined since years. Using sdX as device name is bad. See bug 429019.
Thats how it is when you always do a dist-upgrade for years.
In any case there's 'hwinfo --map' that AFAIU has been used in the past to track device name changes.
Shouldn't "hwinfo --map" output by-id devices instead of mapping from one undefined to another undefined ?? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User snwint@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c7 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snwint@novell.com Status|NEEDINFO |NEW Info Provider|snwint@novell.com | --- Comment #7 from Steffen Winterfeldt <snwint@novell.com> 2008-09-29 06:09:39 MDT ---
Thats how it is when you always do a dist-upgrade for years.
You mean you can't teach an old dog new tricks? ;-) by-id names don't change, so no point in mapping them. The --map option was specifically added to track hdX/sdX name changes. BTW, you can boot with linuxrc.debug=-udev.mods to get the old behavior back, but that's of course only a band-aid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kmachalkova@novell.com AssignedTo|yast2-maintainers@suse.de |aschnell@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c8 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #8 from Arvin Schnell <aschnell@novell.com> 2008-10-06 07:18:21 MDT --- Tracking of hard disk renames over years is not possible (according to snwint). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c9 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Priority|P5 - None |P2 - High Resolution|WONTFIX | --- Comment #9 from Klaus Kämpf <kkaempf@novell.com> 2008-10-07 02:48:44 MDT --- It seems as if by-id is only used on fresh installs. Does distribution upgrade rewrite fstab (and boot/grub/menu.lst) from old-format (hdX/sdX) to by-id ? If yes, why wasn't this code run during the Beta1 upgrade ? If no, how are we going to support such systems ? Forcing a new install ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c10 --- Comment #10 from Klaus Kämpf <kkaempf@novell.com> 2008-10-07 02:52:23 MDT --- See also bug 429019 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kasievers@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c11 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kasievers@novell.com --- Comment #11 from Kay Sievers <kasievers@novell.com> 2008-10-07 03:02:00 MDT --- (In reply to comment #9 from Klaus Kämpf)
It seems as if by-id is only used on fresh installs. Does distribution upgrade rewrite fstab (and boot/grub/menu.lst) from old-format (hdX/sdX) to by-id ?
If yes, why wasn't this code run during the Beta1 upgrade ? If no, how are we going to support such systems ? Forcing a new install ?
Same old story, we need to collect the mapping from the running system, and use that information for the update, or require a manual device re-mapping by the user. There is no way to keep any kernel device name in any configuration file, like sdX in fstab, on the updated system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User aschnell@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c12 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aschnell@novell.com |dmacvicar@novell.com Status|REOPENED |NEW --- Comment #12 from Arvin Schnell <aschnell@novell.com> 2008-10-07 03:05:14 MDT --- I'm not aware of feature requests to change fstab during update to use device ids. (Also keep in mind that there are systems where no device ids exist, e.g. in VMware.) Don't know how we can support update of such systems. But if hwinfo reports that sda was previously sdb and sdb was previously also sdb there's nothing storage can do. Escalating -> Duncan. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c13 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cthiel@novell.com, behlert@novell.com, | |kukuk@novell.com --- Comment #13 from Klaus Kämpf <kkaempf@novell.com> 2008-10-07 03:13:21 MDT --- So we either prepare a 'remapping tool' to be run in openSUSE 11.0 (resp. SLE10, or in the openSUSE 11.1/SLE11 instsys) and announce it in the release notes or we officially say 'sorry, please do a fresh install'. Adding release managers to CC -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User snwint@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c14 --- Comment #14 from Steffen Winterfeldt <snwint@novell.com> 2008-10-07 03:23:40 MDT --- Before we put too much work into this: please note that Klaus' system has broken hardware data that accumulated over the past that make it practically impossible to guess the correct mapping. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kukuk@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c15 --- Comment #15 from Thorsten Kukuk <kukuk@novell.com> 2008-10-07 03:30:53 MDT --- (In reply to comment #12 from Arvin Schnell)
I'm not aware of feature requests to change fstab during update to use device ids.
We clearly will not do that, since some people choose device names for purpose. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User kasievers@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c17 --- Comment #17 from Kay Sievers <kasievers@novell.com> 2008-10-07 04:18:11 MDT --- No /dev/disk/by-label/ can not be safe, and very likely to clash. You can always plug in another disk with the same name. You have to use /dev/disk/by-uuid/ or /dev/disk/by-id/. UUID's are what other distros are using in fstab, but ID's are needed for special requirements like multipath and such, where you have the same metadata across devices. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429130 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429130#c18 --- Comment #18 from Lukas Ocilka <locilka@novell.com> 2008-10-07 04:25:02 MDT --- Anyway, the main idea is to provide a useful feedback to the user when upgrade is not possible because of the 'current state'. Suggested solution (LABELs, UUIDs, ...) is an implementation detail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com