Re: Anaconda storage module does not see LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-05-28 at 10:27 +0200, Jan Safranek wrote:
> Hi,
> 
> I have one volume group /dev/vgMine with one logical volume
> /dev/vgMine/lvMine and I have troubles seeing these devices in Anaconda
> storage module. E.g. this simple program does not list them:

Probably you need to inject ANACONDA=1 into the udev environment and
trigger a change event afterwards to get the info anaconda requires into
the udev database:

  import os
  os.system("udevadm control --env=ANACONDA=1")
  os.system("udevadm trigger --subsystem-match block")
  os.system("udevadm settle")

Then, when you're done, you can optionally disable the anaconda-specific
rules:

  os.system("udevadm control --env=ANACONDA=0")

This assumes you have the anaconda rpm installed on your system. If you
do not, you will need to place data/70-anaconda.rules
into /etc/udev.rules.d/ or somewhere else udev can find them.

David

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux