View previous topic :: View next topic |
Author |
Message |
giims Tux's lil' helper
Joined: 16 Aug 2011 Posts: 86
|
Posted: Tue Aug 23, 2011 6:21 pm Post subject: [LVM2]se charge pas au démarrage (résolu) |
|
|
Bonjour, j'ai terminé l'installation de ma gentoo cependant au boot les partitions lvm n'ont pas été monté.
Le fichier fstab est correct.
J'ai configuré le noyau avec genkernel car je pensait que cela venait du fait que je l'avais configuré à la main mais non.
quand je fait un "lvs" j'obtient
Code: | LV VG Attr LSize Origin Snap% Move Log Copy% Convert
distfiles vg -wi-ao 8.00g
home vg -wi-ao 300.00g
opt vg -wi-ao 8.00g
portage vg -wi-ao 8.00g
tmp vg -wi-ao 8.00g
usr vg -wi-ao 200.00g
var vg -wi-ao 8.00g
vartmp vg -wi-ao 8.00g |
ce qui montre que les volume logiques sont bien là. Il y a bien les option dolvm et dodmraid sont bien présente dans grub.conf.
Last edited by giims on Fri Aug 26, 2011 7:19 pm; edited 1 time in total |
|
Back to top |
|
|
giims Tux's lil' helper
Joined: 16 Aug 2011 Posts: 86
|
Posted: Wed Aug 24, 2011 10:14 pm Post subject: |
|
|
Personne ne peut m'aidé? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Aug 25, 2011 6:39 am Post subject: |
|
|
On n'a vraiment rien pour t'aider là, donne nous au moins à manger les messages importants du processus de démarrage _________________ The End of the Internet! |
|
Back to top |
|
|
giims Tux's lil' helper
Joined: 16 Aug 2011 Posts: 86
|
Posted: Thu Aug 25, 2011 2:45 pm Post subject: |
|
|
Quelles sont les fichiers qu'il faut? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Aug 25, 2011 7:02 pm Post subject: |
|
|
raconte nous précisément ce qui se passe lorsque tu démarres _________________ The End of the Internet! |
|
Back to top |
|
|
scherz0 Apprentice
Joined: 02 Oct 2008 Posts: 154
|
Posted: Thu Aug 25, 2011 8:41 pm Post subject: Re: [LVM2]se charge pas au démarrage |
|
|
Quote: |
Code: | LV VG Attr LSize Origin Snap% Move Log Copy% Convert
distfiles vg -wi-ao 8.00g
home vg -wi-ao 300.00g
opt vg -wi-ao 8.00g
portage vg -wi-ao 8.00g
tmp vg -wi-ao 8.00g
usr vg -wi-ao 200.00g
var vg -wi-ao 8.00g
vartmp vg -wi-ao 8.00g |
ce qui montre que les volume logiques sont bien là. |
...et qu'ils sont utilisés ("o"). Par quoi ? Si ils ne contiennent pas des FS montés, ils sont peut-être des éléments de RAID ?
Quote: |
Quelles sont les fichiers qu'il faut?
|
/etc/fstab, pour commencer |
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Fri Aug 26, 2011 8:33 am Post subject: |
|
|
Le service LVM est bien démarré automatiquement au boot? Le fichier /etc/lvm/lvm.conf est bon? _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
Poussin l33t
Joined: 08 Jun 2007 Posts: 659 Location: Liège
|
Posted: Fri Aug 26, 2011 9:43 am Post subject: |
|
|
Petite précision sur le message de El_Goretto. Comme il le dit, le service LVM doit être lancé au boot (le Runlevel!).
Tu peux nous donner le contenu de ton répertoire /etc/runlevels/boot/ ? |
|
Back to top |
|
|
giims Tux's lil' helper
Joined: 16 Aug 2011 Posts: 86
|
Posted: Fri Aug 26, 2011 4:05 pm Post subject: |
|
|
Bonjour et merci pour vos réponses, donc le fichier fstab :
Code: | /dev/md1 /boot ext2 defaults,noatime 1 2
/dev/md3 / ext3 noatime 0 1
/dev/sda2 none swap sw,pri=1 0 0
/dev/sdb2 none swap sw,pri=1 0 0
/dev/vg/usr /usr ext3 noatime 1 2
/dev/vg/portage /usr/portage ext2 noatime 1 2
/dev/vg/distfiles /usr/portage/distfiles ext2 noatime 1 2
/dev/vg/home /home ext3 noatime 1 2
/dev/vg/opt /opt ext3 noatime 1 2
/dev/vg/tmp /tmp ext2 noatime 1 2
/dev/vg/var /var ext3 noatime 1 2
/dev/vg/vartmp /var/tmp ext2 noatime 1 2 |
Ses volumes logiques sont sur /dev/md4 qui est une partition raid0 avec lvm2.
Normalement le service est bien démarrer automatiquement au boot puisque j'ai fait un Code: | rc-update add lvm default |
Au démarrage le système démarre mais ne monte pas les partitions lvm donc le système n'est pas complet le clavier n'est pas en français l'interface réseau eth0 ne fonctionne pas et tout ce qui est lancer par "rc".
Le repertoire /etc/runlevles/boot contients les programmes lancer automatiquement au boot ajouter grâce à la commande "rc-update"? car si c'est le cas je ne vois pas syslog-ng dhcpcd lvm et net.eth0
Le contenue de /etc/runlevels/boot :
Code: | total 0
lrwxrwxrwx 1 root root 20 Aug 24 2011 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 16 Aug 24 2011 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 Aug 24 2011 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 Aug 24 2011 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 Aug 24 2011 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 Aug 24 2011 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 19 Aug 24 2011 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 16 Aug 24 2011 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 18 Aug 24 2011 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 18 Aug 24 2011 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 16 Aug 24 2011 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 16 Aug 24 2011 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 18 Aug 24 2011 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 24 Aug 24 2011 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 19 Aug 24 2011 urandom -> /etc/init.d/urandom
|
Last edited by giims on Fri Aug 26, 2011 4:46 pm; edited 1 time in total |
|
Back to top |
|
|
Poussin l33t
Joined: 08 Jun 2007 Posts: 659 Location: Liège
|
Posted: Fri Aug 26, 2011 4:46 pm Post subject: |
|
|
Hop, on sort le lien de migration baselayout2/openrc ^^ : http://www.gentoo.org/doc/en/openrc-migration.xml
Depuis la migration, lvm (et d'autres trucs, voir la lien) doit être au runlevel boot et non default |
|
Back to top |
|
|
giims Tux's lil' helper
Joined: 16 Aug 2011 Posts: 86
|
Posted: Fri Aug 26, 2011 6:03 pm Post subject: |
|
|
merci poussin je me penche sur le lien tout de suite car j'en est pour un moment je ne parle pas bien l'anglais.
Edit : version française trouver
2e Edit: problème presque résolu le claviers est en qwerty obliger de taper loadkeys fr comment faire pour que ce soit automatique?
3e edit : je n'avais pas changer la variable keymap dans /etc/conf.d/keymaps. |
|
Back to top |
|
|
|