iscsi lvm and /dev and bootup

Bryn M. Reeves bmr at redhat.com
Tue Nov 4 13:44:15 UTC 2008


Bryn M. Reeves wrote:
> Sounds like your VG has not been activated by your distribution's init
> sripts. Run "vgchange -ay external_iscsi" and the VG should be activated
> and made accessible, creating the entries in /dev. There's no need to
> use the /dev/mapper/$vg-$lv entries - for LVM2 devices, the /dev/$vg/$lv
> symlinks are guaranteed to be persistent.
> 
> What distro are you using here? Some perform a vgchange -ay from the
> iscsi initialisation script (Fedora and RHEL both do this). If that's

Actually, I'm wrong - for Fedora/RHEL/CentOS the vgchange is done from 
the netfs script rather than directly from the iscsi script, but only in 
the case that at least one entry in /etc/fstab or /etc/mtab has the 
"_netdev" option present.

RHEL/CentOS up to 5.2 have a bug in this script that may cause devices 
to be misssed due to not syncing up with udev - see:

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

Looking on my f9 boxes, this bug still appears to be present in Fedora, 
will clone the BZ for rawhide if it's still there too.

Regards,
Bryn.




More information about the fedora-devel-list mailing list