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

[linux-lvm] LVM patch 15/03/1999 for 0.6 available



Hi folks!

After two weeks in California with (almost) no LVM activity i'm back 8*)

Sorry that some parts of the new code caused trouble.
I'm fixing... (special thanks to Steve Brueggeman!).


There were some brainos in lvm_tab_get_free_blk_dev.c.
I have put a first preliminary version (not tested too much 8*( )
which should help a lot of you to
ftp://linux.msede.com/incoming/lvm_0.6-patch-15031999a.gz


Another braino caused /dev/lvm not to be created any longer.
The above lvm_0.6-patch-15031999a.gz contains a fix for this one too.


The trouble with vgscan and md is caused due to existing /dev/md* entries
(or /dev/md/* in case of devfs) _but_ a too small MAX_MD_DEV.
Because vgscan uses liblvm function pv_read_all_pv() all of these
md device specials are opened in turn.
In md_open() no check exists against field overrun --> 8*(((.
The problem exists basically due to the old md version
in the stock linux kernel.
Look for the actual versions of the md kernel patches and raid tools for eg.
at ftp://ftp.de.kernel.org/pub/linux/daemons/raid/alpha
or another kernel.org mirror.



Would you be so kind as to test and report, if errors like

  - invalid i/o protocol version (many)
  - table problems causing read after end of device (Steve Brueggeman)
  - invalid block minor number creation (many)

are fixed by this?


Regards,
Heinz


For your convenience i added the patch here too...

begin 644 lvm_0.6-patch-15031999a.gz
M'XL("&B2[38"`VQV;5\P+C8M<&%T8V M,34P,S$Y.3EA`+57^V_:2!#^N?XK
MYAJI"M  F$=X):<DQ$ESQZ,B:=136UD&%MB+8Z.U32^-^-]O=FW#&ILD5^D0
MS]V9V9EOOID==%V'\M%Q*?`\QR\Y=%QR5H]68(^M.0FL&2/$&CL/UI2LCB;O
M;NT`KL 8*F5\MHU&N]X$H]5J*:JJHI7&VZS<A03Z-@/C&,KE-CYK]<C*V1GH
MAM8"E;^=G2E0*BHZ%"'?*C?X2%V/'4T4=:]4^FP%H,A?T/663XS.%P$<= OB
M=("/A+H_T;.0./["GA-7 VO"'FWW2:AQ3S!X%MKL*8Y:6M$QHLDB6H\/$0?=
M+:@/O?L^H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Q[X*W(XY PH2B/TO_;#%WE
M_E=JFE&+(^"O$J*OXO\,[D!W8;MSXGAS_DNL`")1*E=+(BH=[.F43$6ND.8/
M`L/0Y5]A:5.&_T"`N'[("`0+ X -I!XE3"E7`_(/NNDGYV!IXD!/W8D33 F<
M8)@H<[3XG3,C]!<>B^:MG7PA9U<>G28W6U7$5ZO$-]L!G>$_!+ T+SY?B\8S
M)>-PCCKON2G9#)*KB_5D7GYSWQ>P81T Y^@,7>+\Q&[R=^@'4FS"==N=$,"2
MW 2$@QAA,QM7_2694-M)&DZ"%AP6.B`A=LB/4J0N,V=>N,3J\);$C2\.K'4-
JAM;H<CCH_14U#=TH*'M:Q<WPDW5OCFYOA -K^,D<=)1_`7->/#7=# ``
`
end



--

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

Systemmanagement C/S                             Deutsche Telekom AG
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge ez-darmstadt telekom de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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