[Bug 288454] New: lv lost when update opensuse from 10.0 to 10.2...
https://bugzilla.novell.com/show_bug.cgi?id=288454 Summary: lv lost when update opensuse from 10.0 to 10.2... Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Blocker Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: info-novell@ch2o.info QAContact: siegfried.olschner@novell.com Found By: Other Created an attachment (id=148927) --> (https://bugzilla.novell.com/attachment.cgi?id=148927) lvm debug log my configuration: - bi-xeon emt64 hyperthread 2.8ghz. - 3 go ram - sata promise "Promise PDC20318 (SATA150 TX4)" cards. - sata intel "6300ESB SATA Storage Controller" cards. with i've upgraded opensuse from 10.0 (x64) to 10.2 (x64). all worked fine... but one lv don't whant to be activate... and when they try to activate my lv/vg with "vgchange" they return device mapper error: #vgchange -ay 1 logical volume(s) in volume group "mailvg" now active 1 logical volume(s) in volume group "imagesvg" now active device-mapper: reload ioctl failed: Invalid argument 4 logical volume(s) in volume group "downvg" now active 4 logical volume(s) in volume group "rootvg" now active 1 logical volume(s) in volume group "backupvg" now active #lvs LV VG Attr LSize Origin Snap% Move Log Copy% lvbackup backupvg -wi-ao 80.00G downloadlv downvg -wi-d- 310.00G mysqllv downvg -wi-ao 200.00M rootarchlv downvg -wi-ao 1.00G vmwarelv downvg -wi-ao 40.00G imageslv imagesvg -wi-ao 80.00G lvmail mailvg -wi-ao 30.00G homelv rootvg -wi-ao 500.00M rootlv rootvg -wi-ao 6.80G swaplv rootvg -wi-ao 1.00G varlv rootvg -wi-ao 1.00G the downloadlv from downvg can't be activated... the device-mapper don't whant this device... i've activated lvm debug log and extracted the part who seem interesting (i've the rest of the log if you whant): Jun 29 11:59:51 taris lvm[31615]: memlock_count inc to 1 Jun 29 11:59:51 taris lvm[31615]: Setting activation/missing_stripe_filler to /dev/ioerror Jun 29 11:59:51 taris lvm[31615]: Getting device info for downvg-downloadlv [LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr] Jun 29 11:59:51 taris lvm[31615]: dm info LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm deps (253:6) OF [16384] Jun 29 11:59:51 taris lvm[31615]: Getting device info for downvg-downloadlv-real [LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-real] Jun 29 11:59:51 taris lvm[31615]: dm info LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-real OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-real OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info downvg-downloadlv-real OF [16384] Jun 29 11:59:51 taris lvm[31615]: Getting device info for downvg-downloadlv-cow [LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-cow] Jun 29 11:59:51 taris lvm[31615]: dm info LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-cow OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-cow OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info downvg-downloadlv-cow OF [16384] Jun 29 11:59:51 taris lvm[31615]: Getting device info for downvg-downloadlv_mlog [LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-_mlog] Jun 29 11:59:51 taris lvm[31615]: dm info LVM-opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-_mlog OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info opeUf9Zkipl4E843JYE0hxbksLxIZEscOUOvuMPZ4twoc4dC5WrxF1ScqfYwo3Fr-_mlog OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm info downvg-downloadlv_mlog OF [16384] Jun 29 11:59:51 taris lvm[31615]: Getting target version for linear Jun 29 11:59:51 taris lvm[31615]: dm versions OF [16384] Jun 29 11:59:51 taris lvm[31615]: Getting target version for striped Jun 29 11:59:51 taris lvm[31615]: dm versions OF [16384] Jun 29 11:59:51 taris lvm[31615]: Loading downvg-downloadlv table Jun 29 11:59:51 taris lvm[31615]: Adding target: 0 488390656 linear 8:33 384 Jun 29 11:59:51 taris lvm[31615]: Adding target: 488390656 245760 linear 8:65 384 Jun 29 11:59:51 taris lvm[31615]: Adding target: 488636416 98566144 linear 8:65 63160704 Jun 29 11:59:51 taris lvm[31615]: Adding target: 587202560 62914560 linear 8:65 182698368 Jun 29 11:59:51 taris lvm[31615]: dm table (253:6) OF [16384] Jun 29 11:59:51 taris lvm[31615]: dm reload (253:6) NF [16384] Jun 29 11:59:51 taris kernel: device-mapper: table: 253:6: linear: dm-linear: Device lookup failed Jun 29 11:59:51 taris kernel: device-mapper: ioctl: error adding target to table Jun 29 11:59:51 taris lvm[31615]: device-mapper: reload ioctl failed: Invalid argument is the only one vg that make "dm deps", what it is ? why ? is the only one vg that is on two disk on the same controler (promise). #pvs PV VG Fmt Attr PSize PFree /dev/hda2 rootvg lvm2 a- 9.36G 72.00M /dev/sda1 backupvg lvm2 a- 232.88G 152.88G /dev/sdc1 downvg lvm2 a- 232.88G 0 /dev/sdd1 imagesvg lvm2 a- 232.88G 152.88G /dev/sde1 downvg lvm2 a- 232.88G 114.57G /dev/sdf1 mailvg lvm2 a- 232.88G 202.88G package version on opensuse 10.0: * kernel 2.6.13 * device-mapper 1.01.04 * lvm2 2.01.14 on opensuse 10.2: * kernel 2.6.18 * device-mapper 1.02.12 * lvm2 2.02.13 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=288454#c1
--- Comment #1 from carbonneaux mathieu
https://bugzilla.novell.com/show_bug.cgi?id=288454#c2
carbonneaux mathieu
https://bugzilla.novell.com/show_bug.cgi?id=288454#c3
--- Comment #3 from carbonneaux mathieu
https://bugzilla.novell.com/show_bug.cgi?id=288454
Jiri Dluhos
https://bugzilla.novell.com/show_bug.cgi?id=288454#c4
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=288454
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c5
--- Comment #5 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c6
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c7
--- Comment #7 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c8
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=288454#c9
--- Comment #9 from Michal Marek
Awkward. I must admit that I am not a fan of auto-assembly at all. It is just to hard to assemble the wanted arrays, but not the unwanted one. I always recommend having an mdadm.conf that actually has what you want listed.
But if some people depend on auto-assembly, I guess we need to keep supporting it.
Actually, they shoudn't. It's there mainly for the rescue system, where auto-assembling arrays of the "dead" system is usually "nice to have". Perhaps the script could just check if it's running in rescue system and only think about auto-assemble in that case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=288454#c10
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c11
--- Comment #11 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=288454#c12
--- Comment #12 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454#c13
--- Comment #13 from Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=288454#c14
--- Comment #14 from carbonneaux mathieu
https://bugzilla.novell.com/show_bug.cgi?id=288454#c15
--- Comment #15 from carbonneaux mathieu
https://bugzilla.novell.com/show_bug.cgi?id=288454
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=288454
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=288454#c16
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com