Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[ NetBSD 2.0 RAIDFrame] Problème de configuration Raid1

1 réponse
Avatar
totof2000
Bonjour a tous.

J'ai de nouveau tenté une configuration de RaidFrame sur ma SUN.
J'ai suivi pas à pas le guide NetBSD (
http://www.netbsd.org/guide/en/chap-rf.html ) mais ca ne veut
toujours pas fonctionner. J'ai toujours le même message quand je tente
de démarrer sur wd0:

NetBSD IEEE 1275 BootBlock
.Inode not directory
Fast Data Access MMU Miss
OK

Si j'ai bien compris le message, le "primary bootstrap" est installé
mais il n'est pas en mesure de trouver le "secondary bootstrap". J'ai bon?

Si c'est ca, comment faire pour qu'il le retrouve?

D'autre part lorsque je lis les pages man de netbsd sur raidctl je
trouve les infos suivantes:

"Note that kernels can only be directly read from RAID 1
components on alpha and pmax architectures. On those
architectures, the FS_RAID filesystem is recognized by the bootblocks,
and will properly load the kernel directly from a RAID1 component. For
other architectures, or to support the root file system on other RAID
sets, some other mechanism must be used to get a kernel booting."

Est-ce que ca signifie que NetBSD n'est pas encore capable de booter
correctement sur un volume RAID sur archi sparc64?

dois-je passer par cette solution (décrite également dans les pages de
Man) ? Si c'est le cas, ce n'est pas expliqué ainsi dans le guide
NetBSD, ou alors il y a un passage que j'ai mal compris. Es-ce que
quelqu'un peut m'aider a comprendre? Merci d'avance.


Ci dessous la suite de la page de man qui ne m'a pas l'air de
correspondre avec le guide NetBSD:

For example, a small partition containing only the secondary
boot-blocks and an alternate kernel (or two) could be used. Once a
kernel is booting however, and an auto-configuring RAID set is found
that is eligible to be root, then that RAID set will be
auto-configured and used as the root device. If two or more RAID sets
claim to be root devices, then the user will be prompted to select the
root device. At this time, RAID 0, 1, 4, and 5 sets are all supported
as root devices.




A typical RAID 1 setup with root on RAID might be as follows:

1. wd0a - a small partition, which contains a complete,
bootable, basic NetBSD installation.

2. wd1a - also contains a complete, bootable, basic NetBSD
installation.

3. wd0e and wd1e - a RAID 1 set, raid0, used for the root file
system.

4. wd0f and wd1f - a RAID 1 set, raid1, which will be used
only forswap space.

5. wd0g and wd1g - a RAID 1 set, raid2, used for /usr, /home,
or other data, if desired.

6. wd0h and wd0h - a RAID 1 set, raid3, if desired.

RAID sets raid0, raid1, and raid2 are all marked as
auto-configurable. raid0 is marked as being a root file system. When
new kernels are installed, the kernel is not only copied to /, but
also to wd0a and wd1a. The kernel on wd0a is required, since that is
the kernel the system boots from. The kernel on wd1a is also
required, since that will be the kernel used should wd0 fail. The
important point here is to have redundant copies of the kernel
available, in the event that one of the drives fail.

1 réponse

Avatar
Manuel Bouyer
totof2000 wrote:
Bonjour a tous.

J'ai de nouveau tenté une configuration de RaidFrame sur ma SUN.
J'ai suivi pas à pas le guide NetBSD (
http://www.netbsd.org/guide/en/chap-rf.html ) mais ca ne veut
toujours pas fonctionner. J'ai toujours le même message quand je tente
de démarrer sur wd0:

NetBSD IEEE 1275 BootBlock
.Inode not directory
Fast Data Access MMU Miss
OK

Si j'ai bien compris le message, le "primary bootstrap" est installé
mais il n'est pas en mesure de trouver le "secondary bootstrap". J'ai bon?

Si c'est ca, comment faire pour qu'il le retrouve?


Est-ce que le raid qui a le systeme de fichier racine (et donc /boot)
est bien sur la partition que tu boote (je suppose wd0a) ?
Est-ce que le systeme de fichier racine sur le raid demarre bien au debut
du volume raid (offset 0) ?


D'autre part lorsque je lis les pages man de netbsd sur raidctl je
trouve les infos suivantes:

"Note that kernels can only be directly read from RAID 1
components on alpha and pmax architectures. On those


Dans la page raid(4) on a:
eligible to be the root file system. There is currently only limited
support (alpha, i386, pmax, sparc, sparc64, and vax architectures) for
booting a kernel directly from a RAID 1 set, and no support for booting
from any other RAID sets. To use a RAID set as the root file system, a

Donc ca doit plutot etre un bug de la page de manuel.

--
Manuel Bouyer
NetBSD: 26 ans d'experience feront toujours la difference
--