LVM bug report and questions
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines
Hi,
I have kernel 2.2.15pre13, LVM 0.7 (first question: will 0.8 be ported to kernel 2.2.15?
Yes.
) on a dual Pentium-200 MMX with two 20G IBM disks
Quoted 18 lines
(
/dev/hdband/dev/hdcat the moment).
vgscan was unable to find the volume groups I defined. In the debug output I could see that after scanning hda16, the scan continued with hdb11 rather than hdb1. I found the relevant code which looked suspicous to me. So I changed it:pv_read_all_pv.c Sun Mar 5 14:07:40 2000 renamed from pv_read_all_pv.c.orig Sun Mar 5 14:07:34 2000 +1
-1@@ -102,7 +102,7 @@ if ( ( tst = open ( dev_name, O_RDONLY)) == -1) { if ( MAJOR ( dir_cache[n].st_rdev) != MD_MAJOR && MINOR ( dir_cache[n].st_rdev) % 16 == 0) { - n += 15; + /*n += 15;*/ continue; } } else close ( tst);
Quoted 1 line
It's probably still wrong but at least it worked for me ;-)
In some /dev configurations there's overlapping of device nodes which breaks the above performance oriented search algorithm.
Your workaround helps in these cases as correct setup of all /dev nodes does.
Quoted 3 lines
It is possible to make a LV the root partition if initrd is used. However, is this also possible when the root is on a striped LV?
Yes.
Quoted 1 line
I guess not because LILO would have to know how to handle it.
LILO loads an initrd from a small partition (about 20MB in size) and at the EOF of /linuxrc after activation of the Volume Group(s) it switches to the real root-filesystem which can live on a striped logical volume,
Quoted 1 line
Are there plans to make this possible?
See above.
Quoted 3 lines
What is the performance of striped LVs compared to a md device with RAID0?
More or less the same.
Quoted 3 lines
On my system, using Reiserfs, I get about 9 MB/s on each individual disk, measured with hdparm. On a striped LV I get about 11 MB/s, measured with Bonnie.
Do you have all Physical Volumes you use to allocate Extemts to the striped Logical Volume on different physical disks and IDE adapters?
Quoted 3 lines
Given that hdparm and Bonnie
usually agree about the speed, this seems not much of an improvement. How much is the CPU overhead for striped LVs?
Minimal.
Quoted 9 lines
Is there more to gain in different configurations, eg. if I hooked the disks to a UDMA controller?
Thanks,
hjbSignature · 2 lines
http://www.pro-linux.de/ - Germany's largest volunteer Linux support site You feel strangely lucky...
Heinz
Signature · 11 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement CS-TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
[email protected] Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-