[linux-lvm] Devfs and lvm problems

Heinz Mauelshagen mauelsha at ez-darmstadt.telekom.de
Wed Apr 19 11:23:02 UTC 2000


> matthaes at pharos.hsp.de wrote/schrieb/scribsit:
> > 1.) devfsd doesn´t create /dev/vg00/group etc files, so vgchange -ay
> >     fails
> > 
> > 2.) vgscan fails with 
> > 
> > vgscan -- found inactive volume group "vg00"
> > vgscan -- ERROR "lvm_remouverecursive(): opendir" removing volume group directory and special files
> > vgscan -- ERROR "lvm_remouverecursive(): opendir" creating "/etc/lvmtab" and "/etc/lvmtab.d"
> 
> The problem is that vgscan wants to recursively remove /dev/vg00 and
> its contents but mishandles the case that /dev/vg00 does not even
> exist anymore (since after a reboot a devfs is 'clean').
> 
> This is easy to fix, I'm attaching a patch.
> Would the lvmtools maintainer consider this patch for inclusion into
> the tree?

Sure, it will be included!

Heinz

> 
> Stefan

[Attachment, skipping...]


-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement TS                              T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge at EZ-Darmstadt.Telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list