Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Braucht LVM2 ne initrd?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Jan 20, 2006 10:35 am    Post subject: Braucht LVM2 ne initrd? Reply with quote

Hallo!
Wenn ich ein System mit LVM2 aufsetzen will, brauch ich ne initrd dazu ?

/boot, /, und swap sollen nicht im lvm2 sein!
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Fri Jan 20, 2006 10:45 am    Post subject: Reply with quote

normalerweise wird nur eine initrd gebraucht, wenn du auch die root-partition im raid hast ansonsten nicht.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Jan 20, 2006 11:01 am    Post subject: Reply with quote

Alles klar!
Danke! :)
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Fri Jan 20, 2006 11:03 am    Post subject: Reply with quote

firefly wrote:
normalerweise wird nur eine initrd gebraucht, wenn du auch die root-partition im raid hast ansonsten nicht.


Raid hat mit LVM nichts zu tun. Das sind 2 verschiedene Sachen die man kombinieren kann.
Und selbst bei Software-RAID brauchst du keine Initrd wenn die / eine Raid-Partition ist.

Aber mit LVM2 kenne ich mich nicht aus.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
chrib
Guru
Guru


Joined: 27 Sep 2003
Posts: 558
Location: Berlin, Germany

PostPosted: Fri Jan 20, 2006 11:29 am    Post subject: Reply with quote

Ich setze auf meinen Systemen LVM2 ohne initrd ein. / und /boot sind bei mir allerdings auch nicht im lvm.
_________________
Der Mensch kämpft um zu überleben, und nicht, um zu Grunde zu gehen. - Paulo Coelho
It is the end of all hope. To lose the child, the faith. To end all the innocence. To be someone like me. - Nightwish - End of all hope
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Jan 20, 2006 11:41 am    Post subject: Reply with quote

chrib wrote:
Ich setze auf meinen Systemen LVM2 ohne initrd ein. / und /boot sind bei mir allerdings auch nicht im lvm.


Genau so wollte ich es auch einsetzen, sprich alles bis auf die beiden Sachen mit LVM2 ... danke! Dann gehts ja somit ohne initrd.

Wenn aber / auf LVM2 wäre dann braucht man auch ne initrd, oder ?
Back to top
View user's profile Send private message
chrib
Guru
Guru


Joined: 27 Sep 2003
Posts: 558
Location: Berlin, Germany

PostPosted: Fri Jan 20, 2006 12:28 pm    Post subject: Reply with quote

Soviel ich weiss schon, aber das habe ich noch nie ausprobiert. Mir ist das rumgefummel mit der initrd immer zuviel Aufwand. Und so oft vergrößert man ja / und /boot nicht.
_________________
Der Mensch kämpft um zu überleben, und nicht, um zu Grunde zu gehen. - Paulo Coelho
It is the end of all hope. To lose the child, the faith. To end all the innocence. To be someone like me. - Nightwish - End of all hope
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Jan 20, 2006 12:29 pm    Post subject: Reply with quote

Yo stimmt, meine Boot ist nur 32MB und Root nur 128MB groß :)
Back to top
View user's profile Send private message
Frank1969
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2005
Posts: 106

PostPosted: Fri Jan 20, 2006 12:40 pm    Post subject: Reply with quote

also wenn / lvm sein soll dann braucht man zwingend eine initrd. habe das bei mir laufen und kompliziert ist es nicht wenn man genkernel benutzt. ohne genkernel gehts auch ist nur etwas aufwendiger.
Back to top
View user's profile Send private message
Fibbs
Guru
Guru


Joined: 26 Jan 2003
Posts: 448
Location: Forstern near Munich / Germany

PostPosted: Fri Jan 20, 2006 1:43 pm    Post subject: Reply with quote

Der Vollständigkeit halber möchte ich diesen Link erwähnen:
http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_an_LVM2_root_partition

Die "second easiest way" - Methode funktioniert bei einigen meiner Systeme hervorragend.


Fibbs
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Sat Jan 21, 2006 5:46 pm    Post subject: Reply with quote

Anarcho: für ein software-raid brauchst du ne initrd, wenn die root-partition auch in einem raid liegt, zumindestens wenn der raid-type raid-0 (stripping) ist.
Denn ich glaube kaum, das du mit sicherheit das system booten kannst wenn die root als raid-0 (stripping) angelegt ist :).
Denn wenn sich nur ein teil der daten auf der einen partition liegt, die du als root im bootloader angegeben hast wird kaum das system sauber booten können.
Bei raid-1 (mirroring) könnte ich mir noch vorstellen das es geht aber nicht bei den anderen raid-typen.

Zum anderen ich habe vor ein paar monaten nen server mit software-raid aufgezogen(die root-partition is als raid-1 angelegt.), habe dazu evms2 verwendet. Und da brauche ich eine initrd weil sonst nicht die evms device-nodes angelegt würden beim starten.

PS: und wir sind ja nicht bei windows, wo der kernel alle funktionalitäten direkt integriet haben muss :)

gruß

firefly
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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