From: Harald W. <hwe...@gm...> - 2008-05-18 23:30:42
|
Hello again, Henry Nestler <Hen...@Ar...>: >Logical disk can access. But I have never used LVM there. I have no made some further experiments and set hda5 type "Linux LVM" and an LVM physical volume hda6 type "Linux", but contains also an LVM PV hda7 type "Linux LVM" but contains an ext3 partition hda8 type "Linux" and contains an ext3 partition The results: Only the devices of type "Linux" are recognized by coLinux. The partitions of type "Linux LVM" are ignored and yield to the error message "No such device" when being accessed with cat or dd. The ext3 partition hda8 can be mounted without further problems into colinux. The LVM partition hda6 is not recognized by LVM inside coLinux, unless the following parameter is set in /etc/lvm/lvm.conf: # List of pairs of additional acceptable block device types found # in /proc/devices with maximum (non-zero) number of partitions. types = [ "cobd", 32 ] All in all, this is not nice but solves my problems accessing a logical partition containing LVM. >That's a strong result. In normal case, all Linux Partition have a line > "Fixed hard disk media. Block size = 512" >Is that normal for LVM, that they don't have? I don't know. With the above configuration, it looks like: [...] \\?\Device\Harddisk0\Partition4 link to \\?\Device\HarddiskVolume4 size is 55002415104 bytes \\?\Device\Harddisk0\Partition5 link to \\?\Device\HarddiskVolume5 Fixed hard disk media. Block size = 512 size is 55002415104 bytes \\?\Device\Harddisk0\Partition6 link to \\?\Device\HarddiskVolume6 size is 55002415104 bytes \\?\Device\Harddisk0\Partition7 link to \\?\Device\HarddiskVolume7 Fixed hard disk media. Block size = 512 size is 55306750464 bytes [...] E.g. all partitions of type "Linux" are displayed with the "Fixed hard disk media. Block size = 512" line, but not the "Linux LVM" partitions. It does not matter wether the partitions actually contain LVM or ext3. Regards, Harald |