Re: LV only detected when using "lvscan -D" on amd64 kernel

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

 



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@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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux