Bug 116454

Summary: YaST's System Repair fails to detect installations on software RAID (/dev/md*)
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ulrich Windl <Ulrich.Windl>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED WONTFIX QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST logs from repair tool
patch for /usr/share/YaST2/modules/OSRFsck.ycp and OSRFstab.ycp
saved YaST logs for patched repair tool (10.0b3 DVD boot of SLES9SP2)

Description Ulrich Windl 2005-09-12 12:02:44 UTC
I had installed SUSE Linux 10.0 beta3 on /dev/md0 and SUSE Linux Enterprise
Server 9 SP2 on /dev/md1 (all using different partitions of the same disks).
When booting the reapir system of SUSE Linux 10.0, it failed to find any of the
installations.
Comment 1 Jiří Suchomel 2005-09-12 12:50:14 UTC
What do you mean by "failed to find"? Was the repair already running? Which
checks did you run? At which place did it report an error? And which error?

Please attach YaST2 logs:

http://www.opensuse.org/Bug_Reporting_FAQ#YaST

Thanks.
Comment 2 Ulrich Windl 2005-09-12 13:11:33 UTC
The repair module said "No installed Linux system was found" (or very similar
tho this). Logs will follow later.
Comment 3 Ulrich Windl 2005-09-13 07:12:14 UTC
Created attachment 49724 [details]
YaST logs from repair tool

sda1+sdb1 = RAID1 (SL 10.0); sda2+sdb2 = RAID1 (SLES9)
Likewise sda3+sdb3, and sda4 and sdb4 are RAID1 data partitions The last one is
RAID1 on top of LVM.
Comment 4 Jiří Suchomel 2005-09-13 09:24:20 UTC
I'm not sure if repair module is able to work with RAIDs; let's do a test.
Comment 5 Jiří Suchomel 2005-09-13 09:33:06 UTC
Created attachment 49745 [details]
patch for /usr/share/YaST2/modules/OSRFsck.ycp and OSRFstab.ycp

I need you help; test it on installed system, anything from your 10.0 beta to
last RC - the behaviour should be the same as during installation.

Please patch your OSRFsck.ycp and OSRFstab.ycp file with this patch, run 'ycpc
-c OSRFsck.ycp' and 'ycpc -c OSRFstab.ycp' and try again - on instaled system,
of course ('yast2 repair'). If it still fails, attach the logfiles.
Comment 6 Ulrich Windl 2005-09-19 09:40:38 UTC
As my installed 10.0 won't boot since I have installed SLES9 on another
partition, I could not apply the patch to a running 10.0. Also I could not apply
the patch to the DVD-booted system (I have no idea how). I only could boot
SLES9SP2 (via 10.0 DVD) and apply the patch there. The patch applied without
rejects, but the result was the same: No valid Linux Partitions found (said Yast).
If you are interested in having the logs, I can attach them (they are from SLES9).
Comment 7 Jiří Suchomel 2005-09-19 09:50:56 UTC
OK, attach the patch from SLES9.
But I'd rather see the ones from 10.0 - aren't you really planning to 'bootable'
install 10.0?
Comment 8 Ulrich Windl 2005-09-19 12:06:11 UTC
Created attachment 50291 [details]
saved YaST logs for patched repair tool (10.0b3 DVD boot of SLES9SP2)
Comment 9 Ulrich Windl 2005-09-19 12:07:33 UTC
(In reply to comment #7)
> But I'd rather see the ones from 10.0 - aren't you really planning to 'bootable'
> install 10.0?

I'm short on hardware; the machine will have SLES9 eventually.
Comment 10 Jiří Suchomel 2005-09-19 14:13:37 UTC
Where are the logs from? Did you run the SLES9 repair from the CD or from booted
system? (I cannot find any indicies that the patch was applied).
Comment 11 Jiří Suchomel 2005-10-14 06:51:37 UTC
Ulrich, last logs didn't seem to be from the patched system. Could you provide
the correct ones?
Comment 12 Ulrich Windl 2005-10-14 07:37:55 UTC
(comment #10: I think I had run it from the installed system, as I couldn't
easily patch the DVD version. I don't remember the details, but I think I've
used SLES9 as the patch applied without conflict there)
I know: Actually there's no longer a 10.0 system running on the hardware. I've
moved to SLES9 SP2 with EVMS. Not that it's better there, but the bug number is
different ;-) Sorry for that, but I was just too busy with other issues.
Comment 13 Jiří Suchomel 2005-10-14 07:49:38 UTC
hmm... one more to comments #10, 11 and 12:

The problem is that I cannot see the debug results of my patch (those y2warning
and y2internal calls in OSRFstab) - that's why I'm asking. If you don't mind, I
let this still as needinfo, so you can re-test with patched SLES9 or (after you
find a time) with patched 10.0.
Comment 14 Jiří Suchomel 2005-12-16 16:41:39 UTC
still NEEDINFO... 
Comment 15 Jiří Suchomel 2006-01-23 12:10:02 UTC
any news? we're already in beta phase of 10.1...
Comment 16 Jiří Suchomel 2006-02-17 14:51:42 UTC
please test again with 10.1