Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Résolu] / sur LVM sur RAID 5 logiciel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
StinGer_Uesugi
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2010
Posts: 139
Location: Milky Way > Solar System > Earth > France > Paris > Home

PostPosted: Fri Jun 03, 2011 11:04 pm    Post subject: [Résolu] / sur LVM sur RAID 5 logiciel Reply with quote

Oui je sais, j'en entends déjà dans le fond qui me dise
Quote:
Mais on met JAMAIS / sur un LVM sur du RAID logiciel !!!

Oui, OK, mais ça peut se faire. Et en fait, je veux faire ça parce que je peux plus vivre sans LVM et les redimensionnements faciles. Je sais plus travailler avec des partitions de tailles fixes. Et puis les snapshots, vous m'excuserez du peu hein, mais ça défonce !!! Il faut le dire.

Alors ma question. Pour pouvoir faire ça, j'ai besoin (arrêtez moi si je me trompe) d'un initramfs. Dans le dedans de lui, je mets un lvm.static. OK, pas de problèmes. Selon , c'est que pour avoir le RAID autodetect, je dois écrire
Code:
raidautorun /dev/md0

dans un fichier etc/init. Dans l'exemple traité, on inclut aussi un BusyBox. Ma est-ce que cette ligne est une commande shell ou bien un paramètre kernel ? Je veux dire, si je mets un fichier texte (avec le bon nom hein) avec ça sans inclure de BusyBox dans l'initramfs, est-ce que ça fonctionne ?

En gros, comment je dois m'y prendre pour parvenir à mes fins ?

Ha oui, quand même, je précise que /boot est en RAID 1...

Merci bien !
_________________
Why drink and drive when you can smoke and fly ?


Last edited by StinGer_Uesugi on Sat Jun 04, 2011 8:44 am; edited 1 time in total
Back to top
View user's profile Send private message
StinGer_Uesugi
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2010
Posts: 139
Location: Milky Way > Solar System > Earth > France > Paris > Home

PostPosted: Sat Jun 04, 2011 8:44 am    Post subject: Reply with quote

Bon en fait, pour vraiment faire un truc bien, faut un shell donc faut un BusyBox. Ça permet de mettre mdadm dedans et de lui dire d'assembler les arrays.
_________________
Why drink and drive when you can smoke and fly ?
Back to top
View user's profile Send private message
GentooUser@Clubic
l33t
l33t


Joined: 01 Nov 2004
Posts: 829

PostPosted: Tue Jun 07, 2011 5:16 pm    Post subject: Re: [Résolu] / sur LVM sur RAID 5 logiciel Reply with quote

StinGer_Uesugi wrote:
Oui je sais, j'en entends déjà dans le fond qui me dise
Quote:
Mais on met JAMAIS / sur un LVM sur du RAID logiciel !!!

Perso j'ai même /boot sur lvm sur un raid logiciel :P

Sinon genkernel fait ça automatiquement, voir /etc/genkernel.conf :
Quote:
# Includes mdadm/mdmon binaries in initramfs.
# Without sys-fs/mdadm[static] installed, this will build a static mdadm.
MDADM="yes"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum