[Pkg-iscsi-maintainers] Bug#605470: Bug#605470: open-iscsi init script doesn't mount lvm based filesystems

Guido Günther agx at sigxcpu.org
Tue Nov 30 14:39:15 UTC 2010


On Tue, Nov 30, 2010 at 07:37:54PM +0530, Ritesh Raj Sarraf wrote:
> On 11/30/2010 06:27 PM, Thomas Gebhardt wrote:
> > Package: open-iscsi
> > Version: 2.0.870~rc3-0.4.1
> >
> > Hello,
> >
> > the init script /etc/init.d/open-iscsi does not rescan for LVM based
> > filesystems before mounting, therefore these filesystems are not mounted
> > after system startup.
> >
> > These lines
> >
> > ------------------
> > udevsettle
> >
> > ->        [ -x /sbin/vgscan ]   &&  /sbin/vgscan 2>/dev/null
> > ->        [ -x /sbin/vgchange ] &&  /sbin/vgchange -a y 2>/dev/null
> >
> > log_daemon_msg "Mounting network filesystems"
> > -------------------
> >
> > fix that flaw for me.
> 
> We did a lot of work into fixing this. Please see:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498616
> 
> You need to add your Volume Group to /etc/default/open-iscsi
> for it to be automatically mounted.
> 
> If it still doesn't work, please provide the boot.log (after enabling
> logging in bootlogd) file.

This is all due to lvm not being event based in Debian:

	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455979

I'd opt for reassigning and merging there instead of adding more
workarounds in different packages.
Cheers,
 -- Guido





More information about the Pkg-iscsi-maintainers mailing list