Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev, baselayout und lvm - bin verwirrt...
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
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Fri Nov 27, 2009 3:19 pm    Post subject: udev, baselayout und lvm - bin verwirrt... Reply with quote

Hallo zusammen,
ich bin nicht sicher, ob die Lösung schon diskutiert wurde - bin also auch dankbar für einen Verweis auf dieses problem, falls ich es überlesen habe.
Ich komm mit dem neuen Device-mapper integriert in lvm nicht klar.
Bei den letzten world-updates wurden diese Versionen installiert, device-mapper habe ich deinstalliert:
Quote:
[ebuild R ] sys-fs/udev-146-r1
[ebuild R ] sys-fs/lvm2-2.02.51-r1

Beim Systemstart wird lvm automatisch gestartet und beim Shutdown ganz am Ende (nach unmounting Filesystem) wieder beendet.
Dummerweise hängt mein Laptop dabei, sodass ich ihn von Hand abschalten muss (sonst hätte ich das Problem nciht mal bemerkt)
ABer:
Code:
 # /etc/init.d/lvm status
 * status:  stopped

Wenn ich ihn von Hand starten will kommt:
Quote:
# /etc/init.d/lvm start
* The lvm init-script is written for baselayout-2!
* Please do not use it with baselayout-1!.

OK, kein Problem, dann wird es Zeit auf baselayout-2 zu wechseln - ist ja schon ne Weile im Gespräch....
Google findet für mich:
http://www.gentoo.org/doc/de/openrc-migration.xml - SUPER...
Erste Anweisung : vor dem Reboot dispatch-conf ausführen, also wohl nachdem >=sys-apps/baselayout-2 und sys-apps/openrc installiert wurden... Auch kein Problem
Oder doch...
Quote:
# emerge -s baselayout
Searching...
[ Results for search key : baselayout ]
[ Applications found : 2 ]

* sys-apps/baselayout
Latest version available: 1.12.13
Latest version installed: 1.12.13
Size of files: 263 kB
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
License: GPL-2

* sys-apps/baselayout-vserver [ Masked ]
Latest version available: 1.12.6
Latest version installed: [ Not Installed ]
Size of files: 208 kB
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
License: GPL-2

# emerge openrc -s
Searching...
[ Results for search key : openrc ]
[ Applications found : 1 ]

* sys-apps/openrc [ Masked ]
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://roy.marples.name/openrc
Description: OpenRC manages the services, startup and shutdown of a host
License: BSD-2

Geschaut:
Quote:
# ls /usr/portage/sys-apps/baselayout
ChangeLog baselayout-1.11.15-r3.ebuild baselayout-1.12.12.ebuild baselayout-2.0.0.ebuild files
Manifest baselayout-1.12.11.1.ebuild baselayout-1.12.13.ebuild baselayout-2.0.1.ebuild metadata.xml


Also bedeutet das, dass ich baselayout-2 und openrc mittels keyword freischalten muss?
Wieso werden bei einem stabilem System unstabile Pakete vorausgesetzt?

Oder hat das gar nichts zu tun mit dem integrierten device-mapper? lvm benutze ich ja auf meinem Desktop und Laptop nicht.
Auf meinem Server aber schon und jetzt hab ich panik vor meinem nächsten reboot denn auf dem Server:
Quote:
# /etc/init.d/lvm status
* status: stopped

# mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/mapper/vg0-home on /home type ext3 (rw)
/dev/mapper/vg0-speicher on /speicher type ext3 (rw)
/dev/mapper/vg0-www on /www type ext3 (rw)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
/dev/hda1 on /boot type ext2 (rw,noatime)
/dev/hda5 on /backups type reiserfs (rw)

Wie man sieht sind die lvm in vg0 gemountet obwohl der lvm nicht läuft - was ist da los???

Ich hoffe jemand kann etwas Licht in mein Dunkel bringen...
Danke schon mal.
Gruß
Markus
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Nov 27, 2009 11:20 pm    Post subject: Re: udev, baselayout und lvm - bin verwirrt... Reply with quote

markusk21 wrote:
Wenn ich ihn von Hand starten will kommt:
Quote:
# /etc/init.d/lvm start
* The lvm init-script is written for baselayout-2!
* Please do not use it with baselayout-1!.

OK, kein Problem, dann wird es Zeit auf baselayout-2 zu wechseln - ist ja schon ne Weile im Gespräch....

Es ist leider schon eine Weile so, daß man sich bei Gentoo nicht mal mehr auf ein stabiles Basissystem verlassen kann. Ich habe es auch schon angemerkt.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
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