Re: Change enumeration of disks

Josef Reidinger <[email protected]> Fri, 22 Feb 2019 14:34:57 +0100
Newsgroups gmane.linux.suse.autoinstall
Organization SUSE
Message-ID <[email protected]>
V Fri, 22 Feb 2019 13:16:38 +0100
Daniel Spannbauer <[email protected]> naps=C3=A1no:

> Am 02/22/2019 um 12:35 PM schrieb Ancor Gonzalez Sosa:
> > On 2/22/19 11:38 AM, Daniel Spannbauer wrote: =20
> >> Hello,
> >>
> >>
> >> I try to install a system with an Adaptec Raid controller via autoyast.
> >>
> >> But when booting from the usb stick this usbstick gets sda, the two ra=
id
> >> arrays get sdb and sdc.
> >>
> >> Can I change the enumeration to get the two raid arrays to sda and sdb=
? =20
> > That enumeration is performed by the kernel and there is not much you
> > can do to influence it, as far as I know.
> >
> > But you can use the <skip_list> feature to try to influence how AutoYaST
> > assigns the disks. For example, telling AutoYaST to skip disks smaller
> > than 65GiB.
> >
> > See
> > https://www.suse.com/documentation/sles-12/singlehtml/book_autoyast/boo=
k_autoyast.html#CreateProfile.Partitioning.config
> > =20
> Autoyast itself is not the problem, but some of my scripts are
> failing.....they try to do some steps on the second harddisk. Bad, if a
> usb drive is the first :/
>=20
> Regards
>=20
> Daniel
>=20
>=20
>=20

In such case I suggest to use in that scripts udev links ( you can see them=
 in /dev/disks/by-* ) which should be more persistent.

Josef
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]