On Friday 01 September 2006 15:52, Frank Steiner wrote:
have you tried to use "/dev/disk/by-id/..." instead of "/dev/sdX"? The id should be always the same.
Not neccessarily, because the scsi disks are all hotswapable. So it can happen that we replace a disk due to to a failure (RAID1, so if one disk is exchanged, I'm not sure if the id changes?).
the id will change then. The "by-path" would stay the same but unfortunately, that's broken on 10.1/SLES10 (for SLES10 I have created a driverupdate to fix that and put that to http://www.suse.de/~ug).
and now. Also, I don't know all the ids because the servers are still running kernel 2.6.8 where /dev/disk does not exist...
I think the path is guessable.
I tried this: I moved init to init.suse and setup my own init script in the initrd, but it doesn't work yet. My init script looks like
#!/bin/sh /sbin/modprobe gdth exec init.suse $@
okay, I have never tried that and I can't say why that did not work or if it should.
Usually some stuff is loaded here when autoyast runs fine. So I guess my "replace init"-approach is to simple. Is it possible to replace the SuSE init script in some way?
hmm. I don't know. I would need to dig into that by myself. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Agonoize - The holy Flame