Devel, cc: debian maintainer,
I've create a patch for lvm-1.0.6 for use with a linux i2o block
device. I don't exactly know the specs of i2o devices, but i've got
one (a ide-hardware raid card) and i needed to include this patch in
order to make lvm find this block device---even though it is
registered in the various /proc files.
I is based on Josh Logan's patch posted in
http://lists.sistina.com/pipermail/lvm-devel/2001-May/000413.html,
and apparently adapted for a more modern lvm.
Maybe you can check the correctness of the patch (it works fine for me
but i don't know if i forgot something or did too much), and include
the patch in a next release.
Thanks,
---david
P.S. It is patched against a debian source release, you may need a
higher value of the `-p' switch.
diff -rc lvm10-1.0.6/1.0.6/tools/lib/liblvm.h
lvm10-1.0.6-patched/1.0.6/tools/lib/liblvm.h
*** lvm10-1.0.6/1.0.6/tools/lib/liblvm.h Wed Oct 23 16:54:59 2002
--- lvm10-1.0.6-patched/1.0.6/tools/lib/liblvm.h Fri Dec 20 21:47:56 2002
***************
*** 191,196 ****
--- 191,197 ----
LVM_DEVICE_TYPE_COMPAQ_CISS, /* Compaq CCISS array
*/
LVM_DEVICE_TYPE_UBD, /* User-mode virtual block device
*/
LVM_DEVICE_TYPE_ATARAID, /* ATA Raid */
+ LVM_DEVICE_TYPE_I2O, /* i2o block device */
} lvm_device_type_t;
/* for lvm_show_size () */
diff -rc lvm10-1.0.6/1.0.6/tools/lib/lvm_check_dev.c
lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_check_dev.c
*** lvm10-1.0.6/1.0.6/tools/lib/lvm_check_dev.c Wed Jan 16 18:27:55 2002
--- lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_check_dev.c Fri Dec 20 21:53:34 2002
***************
*** 61,66 ****
--- 61,69 ----
#ifdef ATARAID_MAJOR
ATARAID_MAJOR,
#endif
+ #ifdef I2O_MAJOR
+ I2O_MAJOR,
+ #endif
-1
};
diff -rc lvm10-1.0.6/1.0.6/tools/lib/lvm_check_partitioned_dev.c
lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_check_partitioned_dev.c
*** lvm10-1.0.6/1.0.6/tools/lib/lvm_check_partitioned_dev.c Wed Jan 16
18:27:55 2002
--- lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_check_partitioned_dev.c Fri Dec
20 21:44:14 2002
***************
*** 160,165 ****
--- 160,166 ----
{ "cciss", LVM_DEVICE_TYPE_COMPAQ_CISS },/* Compaq CISS array */
{ "ubd", LVM_DEVICE_TYPE_UBD }, /* User-mode virtual block device */
{ "ataraid", LVM_DEVICE_TYPE_ATARAID }, /* ATA Raid */
+ { "i2o_block", LVM_DEVICE_TYPE_I2O }, /* i2o disk */
{ NULL, LVM_DEVICE_TYPE_INVALID } /* Device not recognized */
};
FILE *procdevices = NULL;
diff -rc lvm10-1.0.6/1.0.6/tools/lib/lvm_dir_cache.c
lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_dir_cache.c
*** lvm10-1.0.6/1.0.6/tools/lib/lvm_dir_cache.c Fri Apr 26 09:52:49 2002
--- lvm10-1.0.6-patched/1.0.6/tools/lib/lvm_dir_cache.c Fri Dec 20 21:49:22 2002
***************
*** 84,89 ****
--- 84,90 ----
LVM_DIR_PREFIX "sd",
LVM_DIR_PREFIX "ubd",
LVM_DIR_PREFIX "ataraid",
+ LVM_DIR_PREFIX "i2o_block",
NULL
};
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: LVM Patch 2.4.20
On Mon, Dec 23, 2002 at 02:27:22PM -0500, Robert Scussel wrote:
> Hello,
>
> Can anyone please tell me if the LVM vfs lock patch is included in the
> 2.4.20 kernel or if it still needs to be applied, I cannot find the
> answer to the same question posted before.
It's not included in 2.4.20, the 2.4.19 patch should apply to 2.4.20. But see an
earlier message about the ext3 corruption bugfix breaking the patch.
--
patrick
Next Message by Date:
click to view message preview
Head & Rotor VE 12/24
Dear Sir,
We wish you,Your whole family & staff a merry
christmas & a very happy prosperous 2003!
*¡°ÖзͨÅä¼þ³§¡±×¨ÒµÉú²úVE±ÃÍ·(VE·ÖÅä±Ã±ÃÍ·×ܳÉ),Ö÷ÒªÐͺÅÓÐ
ÎåÊ®Áå4JB1,¿µÃ÷˹6BT,ÒÀά¿ÂµÍÅÅ·Å,ÎåÊ®Á䯤¿¨.....
* ÖзͨÅä¼þ³§ÓжàÄêÉú²úVE±ÃÍ·µÄ¾Ñé, ×÷Ϊ½ÏÔç½øÈëÓͱÃÓÍ×ìÐÐ
ÒµµÄרҵ³§,ÎÒÃÇʱ¿Ì¸ú×Ù¹ú¼Ê¸÷µØÆäËü²ñÓÍȼÓÍÅçÉäϵͳµÄÖÆ
ÔìÉ̵ÄÉú²ú¹¤ÒÕ,²¢ÇÒ²»¶ÏÎüÊÕ¹ú¼ÊÉÏ×îÏȽøµÄ¼Ó¹¤,²âÊÔ¹¤.²úÆ·µÄ
ÖÊÁ¿ºÍÍâ¹Ûͬ¹úÍâͬÀà²úÆ·Ï൱.
* Èç¶ÔÎÒÃǵIJúÆ·¸ÐÐËȤ,Çë֪ͨÎÒÃÇ.
we have been in the field of diesel fuel injection
systems for quite a few years.(CHINA)
Recently we have developed a new kind of h&r,
AM Bosch number HD90100A.Its unit price is USD150/pc.And
we also adjust the unit price of Nozzle , Plunger to USD4~5/pc
respectively.
We tell you that we will update our VE h&r
(hydraulic heads for the VE distributor pump) list in our
homepages.Thirty more models will be added.And the minimum
order will be 10pcs a model.
we give the unity quotation of VE distributor head:
3-cyl:USD:55/1pcs
4-cyl:USD:40~50/1pcs
5-cyl:USD:60/1pcs
6-cyl:USD:45~50/1pcs
We can ship the following three models to you within 8~10 weeks. after
we receive your payment.
If you feel interested in our products,please advise the details about
what you need,such model name,part number,quantity and so on.We are always
within your touch.
we'd like to interchange our website's linkage with you.As a result,we
can add the icon of your website to our website's main-page.
Vice versa.What do you think of that?
Thanks and best regards
Looking forward to our favorable cooperation.
Hope to hear from you soon.
(NIPPON DENSO)
096400-0143
096400-0242
096400-0262
096400-0371
096400-0432
096400-1030
096400-1060
096400-1090
096400-1210
096400-1220
096400-1230
096400-1240
096400-1250
096400-1330
096400-1331
096400-1600
096540-0080
146400-2220
145400-3320
146400-4520
146400-5521
146400-8821
146400-9720
146401-0520
146401-2120
146402-0820
146402-0920
146402-1420
146402-4020
146402-4320
146402-3820
146403-2820
146403-3120
146403-3520
146404-1520
146404-2200
146405-1920
146430-1420
1 468 333 320
1 468 333 323
1 468 334 313
1 468 334 327
1 468 334 565
1 468 334 337
1 468 334 378
1 468 334 424
1 468 334 475
1 468 334 485
1 468 334 494
1 468 334 496
1 468 334 580
1 468 334 590
1 468 334 564
1 468 334 565
1 468 334 575
1 468 334 592
1 468 334 595
1 468 334 596
1 468 334 603
1 468 334 604
1 468 334 606
1 468 334 617
1 468 334 675
1 468 334 678
1 468 334 720
1 468 334 780
1 468 334 798
1 468 334 859
1 468 334 874
1 468 334 899
1 468 334 946
1 468 335 345
2 468 335 022
1 468 336 335
1 468 336 352
1 468 336 364
1 468 336 403
1 468 336 423
1 468 336 464
1 468 336 480
1 468 336 528
1 468 336 608
1 468 336 614
1 468 336 626
1 468 336 632
2 468 334 050
2 468 334 021
2 468 336 013
C.Hua
Sales & purchasing director
http://WWW.China-LuTon.com
diesel@xxxxxxxx
Previous Message by Thread:
click to view message preview
LVM Patch 2.4.20
Hello,
Can anyone please tell me if the LVM vfs lock patch is included in the
2.4.20 kernel or if it still needs to be applied, I cannot find the
answer to the same question posted before.
Thanks,
B
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959
Next Message by Thread:
click to view message preview
Head & Rotor VE 12/24
Dear Sir,
We wish you,Your whole family & staff a merry
christmas & a very happy prosperous 2003!
*¡°ÖзͨÅä¼þ³§¡±×¨ÒµÉú²úVE±ÃÍ·(VE·ÖÅä±Ã±ÃÍ·×ܳÉ),Ö÷ÒªÐͺÅÓÐ
ÎåÊ®Áå4JB1,¿µÃ÷˹6BT,ÒÀά¿ÂµÍÅÅ·Å,ÎåÊ®Á䯤¿¨.....
* ÖзͨÅä¼þ³§ÓжàÄêÉú²úVE±ÃÍ·µÄ¾Ñé, ×÷Ϊ½ÏÔç½øÈëÓͱÃÓÍ×ìÐÐ
ÒµµÄרҵ³§,ÎÒÃÇʱ¿Ì¸ú×Ù¹ú¼Ê¸÷µØÆäËü²ñÓÍȼÓÍÅçÉäϵͳµÄÖÆ
ÔìÉ̵ÄÉú²ú¹¤ÒÕ,²¢ÇÒ²»¶ÏÎüÊÕ¹ú¼ÊÉÏ×îÏȽøµÄ¼Ó¹¤,²âÊÔ¹¤.²úÆ·µÄ
ÖÊÁ¿ºÍÍâ¹Ûͬ¹úÍâͬÀà²úÆ·Ï൱.
* Èç¶ÔÎÒÃǵIJúÆ·¸ÐÐËȤ,Çë֪ͨÎÒÃÇ.
we have been in the field of diesel fuel injection
systems for quite a few years.(CHINA)
Recently we have developed a new kind of h&r,
AM Bosch number HD90100A.Its unit price is USD150/pc.And
we also adjust the unit price of Nozzle , Plunger to USD4~5/pc
respectively.
We tell you that we will update our VE h&r
(hydraulic heads for the VE distributor pump) list in our
homepages.Thirty more models will be added.And the minimum
order will be 10pcs a model.
we give the unity quotation of VE distributor head:
3-cyl:USD:55/1pcs
4-cyl:USD:40~50/1pcs
5-cyl:USD:60/1pcs
6-cyl:USD:45~50/1pcs
We can ship the following three models to you within 8~10 weeks. after
we receive your payment.
If you feel interested in our products,please advise the details about
what you need,such model name,part number,quantity and so on.We are always
within your touch.
we'd like to interchange our website's linkage with you.As a result,we
can add the icon of your website to our website's main-page.
Vice versa.What do you think of that?
Thanks and best regards
Looking forward to our favorable cooperation.
Hope to hear from you soon.
(NIPPON DENSO)
096400-0143
096400-0242
096400-0262
096400-0371
096400-0432
096400-1030
096400-1060
096400-1090
096400-1210
096400-1220
096400-1230
096400-1240
096400-1250
096400-1330
096400-1331
096400-1600
096540-0080
146400-2220
145400-3320
146400-4520
146400-5521
146400-8821
146400-9720
146401-0520
146401-2120
146402-0820
146402-0920
146402-1420
146402-4020
146402-4320
146402-3820
146403-2820
146403-3120
146403-3520
146404-1520
146404-2200
146405-1920
146430-1420
1 468 333 320
1 468 333 323
1 468 334 313
1 468 334 327
1 468 334 565
1 468 334 337
1 468 334 378
1 468 334 424
1 468 334 475
1 468 334 485
1 468 334 494
1 468 334 496
1 468 334 580
1 468 334 590
1 468 334 564
1 468 334 565
1 468 334 575
1 468 334 592
1 468 334 595
1 468 334 596
1 468 334 603
1 468 334 604
1 468 334 606
1 468 334 617
1 468 334 675
1 468 334 678
1 468 334 720
1 468 334 780
1 468 334 798
1 468 334 859
1 468 334 874
1 468 334 899
1 468 334 946
1 468 335 345
2 468 335 022
1 468 336 335
1 468 336 352
1 468 336 364
1 468 336 403
1 468 336 423
1 468 336 464
1 468 336 480
1 468 336 528
1 468 336 608
1 468 336 614
1 468 336 626
1 468 336 632
2 468 334 050
2 468 334 021
2 468 336 013
C.Hua
Sales & purchasing director
http://WWW.China-LuTon.com
diesel@xxxxxxxx