[linux-lvm] LV only detected when using "lvscan -D" on amd64 kernel

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Oct 27 05:00:02 UTC 2003


On Sun, Oct 26, 2003 at 06:56:25PM +0100, Felix Domke wrote:
> Heinz J . Mauelshagen wrote:
> 
> >Felix,
> >
> >this definitely looks like a 64bit ioctl related problem.
> >I don't have the equipment to test here so help (is external access to
> >your machine possible ?) is needed.
> >  
> >
> Hi,
> 
> i could setup external access to the machine, but be aware that it 
> consists of a chroot'ed 64bit hacked-together debian, so compiling 
> something with 64bit isn't any fun at all. The 32bit userspace however 
> is fine.
> 
> I tried to compile the lvmtools as 64bit, but the result didn't change. 
> are there any points where i can put some debug printfs/printks in the 
> sources to work out where it fails? I never looked at the LVM internals, 
> so i don't know what happens where. Does the kernel space reads and 
> parses the metadata? Or does the userspace parses it and passes it to 
> the kernel?

User space parses and passes it via ioctls to the kernel.
Please look at lvm.h for the ioctls defined and the structures involved.
Grep the LVM1 library source in tools/lib/ for "ioctl" to get you started.

> 
> Felix
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list