[linux-lvm] converting PV from md to non-md

Musard, Kris Kris.Musard at spirentcom.com
Thu Aug 10 18:50:09 UTC 2006


Sorry,  I forgot to mention that I tried the zero-superblock option on
the mdadm command and I still got the error that the /dev/hda3 was apart
of a multiple device.  

-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
On Behalf Of Luca Berra
Sent: Thursday, August 10, 2006 2:47 PM
To: linux-lvm at redhat.com
Subject: Re: [linux-lvm] converting PV from md to non-md

On Thu, Aug 10, 2006 at 02:13:57PM -0400, Musard, Kris wrote:
>I am trying to "undo" the software raid setup on a system.  I have been
>able to simply change the partition type from "linux raid auto detect"
>to "linux" and mount the filesystems which were previously formatted on
>top of the md device directly to the underlying /dev/hda[0-9] device.
>The PV was originally added as /dev/md1 to the VG.  I tried setting the
>partition type from "linux raid autodetect" to "linux LVM" but vgscan
>and vgimport both give an error about the PV is part of a multiple
>device.  Does anyone have a procedure for going from LVM on top of
linux
>md software raid to LVM without md?  Any help would be much
appreciated.

mdadm --zero-superblock /dev/hdaX

L.


-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

_______________________________________________
linux-lvm mailing list
linux-lvm at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

<DIV><FONT size="1">

E-mail confidentiality.
--------------------------------
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system. If you require assistance, please contact our IT department at helpdesk at spirentcom.com.

Spirent Communications plc,
Spirent House, Crawley Business Quarter, Fleming Way, Crawley, West Sussex, RH10 9QL, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Spirent House, Crawley Business Quarter, Fleming Way, Crawley, West Sussex, RH10 9QL, United Kingdom 

Or if within the US,

Spirent Communications,
26750 Agoura Road, Calabasas, CA, 91302, USA.
Tel No. 1-818-676- 2300 

</FONT></DIV>




More information about the linux-lvm mailing list