public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] systemd and lvm
@ 2013-09-11 11:22 Stefan G. Weichinger
  2013-09-11 11:38 ` Stefan G. Weichinger
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan G. Weichinger @ 2013-09-11 11:22 UTC (permalink / raw
  To: gentoo-user



systemd-204
lvm2-2.0.2.99-r2

(lvm2 patched as mentioned in

https://bugs.gentoo.org/show_bug.cgi?id=480066

this should only matter for activation)

-

See what happens here:

# lvcreate -n mlp-tmpl -L 11G VG02
  /dev/VG02/mlp-tmpl: not found: device not cleared
  Aborting. Failed to wipe start of new LV.
  device-mapper: remove ioctl on  failed: Das Gerät oder die Ressource
ist belegt
  semid 163841: semop failed for cookie 0xd4d92b7: incorrect semaphore state
  Failed to set a proper state for notification semaphore identified by
cookie value 223187639 (0xd4d92b7) to initialize waiting for incoming
notifications.


# lvcreate -n mlp-tmpl -L 11G -Zn VG02
  WARNING: "mlp-tmpl" not zeroed
  Logical volume "mlp-tmpl" created
  semid 196609: semop failed for cookie 0xd4d74cd: incorrect semaphore state
  Failed to set a proper state for notification semaphore identified by
cookie value 223179981 (0xd4d74cd) to initialize waiting for incoming
notifications.


https://bugzilla.redhat.com/show_bug.cgi?id=727925

talks of udev_sync=1 ... checked that, is there ...

CONFIG_NET_NS=y (whatever that is ... do I need it?)

...

Does anyone know what to do? I wanted to ask here before I file a bug at
bgo ...

Would be nice to solve this before I set up my shiny new KVM host where
I heavily want to use LVM-snapshots for backups. Sure, I could also stay
with openrc, correct!

(didn't mention: had that semaphore stuff on my main workstation as
well, only when booting via systemd)

Thanks, Stefan


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [gentoo-user] Systemd and lvm
@ 2013-01-04 16:11 Robin Atwood
  2013-01-04 16:28 ` Canek Peláez Valdés
  0 siblings, 1 reply; 22+ messages in thread
From: Robin Atwood @ 2013-01-04 16:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1287 bytes --]

Having observed all the ranting, I thought I would try systemd on a laptop. It 
actually seems to work quite well and it is a lot faster. However I am having 
trouble getting my LVM partitions mounted. I installed the LVM service unit 
from the Gentoo Wiki but it never completes, timing-out on a job that mounts 
/var. The VG is actually created by an initramfs and when systemd dumps you 
out to the emergency shell you can use lvs to see the volumes, /dev/mapper has 
all the correct devices and "dmsetup ls" shows the LVs. In fact, everything 
appears as it should, the partitions just don't get mounted. I circumvented 
this by putting "mount -a" in the lvm.service unit, which then completes and 
the mount jobs time-out. Everything seems to be OK but it is a bit of a 
kludge. One thing I notice is:

# udevadm info -p /dev/mapper/vg00-rootfs -q all
syspath not found

Udev seems not to know about the LVs. Any ideas?

TIA
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









[-- Attachment #2: Type: text/html, Size: 5502 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-09-13 17:53 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 11:22 [gentoo-user] systemd and lvm Stefan G. Weichinger
2013-09-11 11:38 ` Stefan G. Weichinger
2013-09-12  6:50   ` Mick
2013-09-12  8:37     ` Stefan G. Weichinger
2013-09-12 12:43       ` Mick
2013-09-12 13:03         ` Stefan G. Weichinger
2013-09-12 15:11           ` Canek Peláez Valdés
2013-09-12 16:10       ` gottlieb
2013-09-12 16:22         ` Canek Peláez Valdés
2013-09-12 17:35           ` Stefan G. Weichinger
2013-09-12 18:23             ` Canek Peláez Valdés
2013-09-13 12:42               ` Stefan G. Weichinger
2013-09-13 12:54                 ` Stefan G. Weichinger
2013-09-13 13:33                   ` Stefan G. Weichinger
2013-09-13 17:36                     ` Stefan G. Weichinger
2013-09-13 17:52                       ` Stefan G. Weichinger
2013-09-12 17:43           ` gottlieb
  -- strict thread matches above, loose matches on Subject: below --
2013-01-04 16:11 [gentoo-user] Systemd " Robin Atwood
2013-01-04 16:28 ` Canek Peláez Valdés
2013-01-05 13:36   ` Robin Atwood
2013-01-05 18:26     ` Canek Peláez Valdés
2013-01-06 13:24       ` Robin Atwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox