Did you remove it from modprobe.conf (or whichever file suse uses) before the mkinitrd. if it's in there and run mkinitrd it will just add it back into the initrd and you'll have a dup Otherwise have them leave it offline in the gen would probably do it as well
Scotts method works, I have used it with RHEL myself William 'Doug' Carroll -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Lester, Doug Sent: Monday, August 09, 2010 4:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Full volume restore of an LVM DASD I tried to test Scott's procedure and it appeared to work until I rebooted. Since the old DASD volume is not really out of commission, it is still available and is still used by LVM instead of the new volume. Please refer to the following display # pvscan Found duplicate PV 9yHc6x8geJQkTApxyf3c53CI0CTQpOOF: using /dev/dasdf1 not /dev/dasdc1 PV /dev/dasdf1 VG system-vg lvm2 [6.88 GB / 3.88 GB free] Before rebooting, I took the old volume offline as per Scott's instructions. I also ran "mkinitrd" and "zipl" hoping to prevent the old device from coming online during the IPL. Any suggestions on how to prevent the old DASD volume from coming online? Doug Lester -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Scott Rohling Sent: Friday, August 06, 2010 6:34 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Full volume restore of an LVM DASD As long as all of the right uuid/lvm identifiers are found on any online disks - LVM doesn't care about device addresses. You just want to make sure those addresses are available and brought online by Linux when it comes up (and that you have no devices online that have duplicate uuid/lvm info on them!) Scott Rohling On Fri, Aug 6, 2010 at 7:24 AM, Dean, David (I/S) <david_d...@bcbst.com>wrote: > We do this and do not have an issue. When we restore an lvm DASD it drops > right back into place. I thought it went by the formatted volume name, not > the real dev name. > > -----Original Message----- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of > Lester, Doug > Sent: Thursday, August 05, 2010 4:31 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Full volume restore of an LVM DASD > > We do full volume backups via HSM. In the case of a DASD hardware > failure, I would like to be able to restore to a new volume and make the > necessary changes for Linux to recognize the new volume. This does not > appear to be a problem unless the new DASD is part of LVM. Perhaps > someone can give me some guidance using the following scenario. Please > keep in mind; this is a SLES10 SP3 s390x LPAR installation. > Unfortunately, we do not run Linux under z/VM. > > Example: If device 2912 has a hardware failure, I can restore to another > volume (say, 372f). I would also restore the other 2 volumes to the > original devices to remain in sync, unless someone can offer a better > suggestion. > > How do I get Linux/LVM to recognize 372f instead of 2912? > > Configuration: > -------------- > 0.0.2911(ECKD) at ( 94: 0) is dasda (/) > 0.0.2912(ECKD) at ( 94: 4) is dasdb (LVM) > 0.0.2915(ECKD) at ( 94: 8) is dasdc (LVM) > > Filesystem Size Used Avail Use% Mounted on > /dev/dasda1 6.8G 372M 6.1G 6% / > udev 247M 112K 247M 1% /dev > /dev/mapper/system--vg-home--lv > 496M 17M 454M 4% /home > /dev/mapper/system--vg-opt--lv > 2.0G 603M 1.3G 32% /opt > /dev/mapper/system--vg-srv--lv > 496M 32M 440M 7% /srv > /dev/mapper/system--vg-tmp--lv > 1008M 492M 466M 52% /tmp > /dev/mapper/system--vg-usr--lv > 4.0G 2.3G 1.6G 59% /usr > /dev/mapper/system--vg-var--lv > 1008M 221M 737M 24% /var > > > Doug Lester > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ----------------------------------------------------- > Please see the following link for the BlueCross BlueShield of Tennessee > E-mail disclaimer: http://www.bcbst.com/email_disclaimer.shtm > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/