<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Software Raid device destruct/remove in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976357#M47140</link>
    <description>Matt nailed it.</description>
    <pubDate>Tue, 02 May 2006 08:40:14 GMT</pubDate>
    <dc:creator>Adam Garsha</dc:creator>
    <dc:date>2006-05-02T08:40:14Z</dc:date>
    <item>
      <title>Software Raid device destruct/remove</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976354#M47137</link>
      <description>I was playing around with raidtools/mdadm. I created a raid 1 device "/dev/md0" using two partitions (hda1,hda2).&lt;BR /&gt;&lt;BR /&gt;Now, I am done playing and I want to get rid of any notion of /dev/md0. After, I plan to put hda1 and hda2 back into service as regular partitions.&lt;BR /&gt;&lt;BR /&gt;If I do a "raidstop /dev/md0" and then a "lsraid -p", I see that the raid device is "offline".&lt;BR /&gt;&lt;BR /&gt;How do I "rmraid /dev/md0"?... i.e. I want to erase my toying and get rid of /dev/md0... how do I do this?&lt;BR /&gt;&lt;BR /&gt;Seems there are plenty of docs for building a raid set (Suse 9.3), but nothing about how to undo/remove your raid sets once you've decided that you don't want to use software raid.</description>
      <pubDate>Mon, 01 May 2006 09:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976354#M47137</guid>
      <dc:creator>Adam Garsha</dc:creator>
      <dc:date>2006-05-01T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Software Raid device destruct/remove</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976355#M47138</link>
      <description>Shalom Adam,&lt;BR /&gt;&lt;BR /&gt;You can use the tools to break the raid, then rmsf should remove the device. If not, you may have to live with it sitting out there. It won't do anything.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 01 May 2006 13:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976355#M47138</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-01T13:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Software Raid device destruct/remove</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976356#M47139</link>
      <description>&lt;BR /&gt;(SEP: you gave a HPUX answer to a Linux question... :-)&lt;BR /&gt;&lt;BR /&gt;When you created the RAID1 device, you probably set the partition type of /dev/hda1 and /dev/hda2 to 0xfd (Linux raid autodetect), right?&lt;BR /&gt;&lt;BR /&gt;When the RAID1 device is offline, you can use fdisk to modify the partition type of /dev/hda1 and /dev/hda2 to any value you prefer. Then you can mkfs the partition(s) if necessary. After that they will no longer be detected as RAID at next reboot.&lt;BR /&gt;&lt;BR /&gt;If you have the RAID1 functionality as a kernel module and all software RAID1 devices are offline, you can make the system forget the RAID1 device without a reboot by just unloading the kernel module:&lt;BR /&gt;  rmmod raid1&lt;BR /&gt;If your kernel has RAID1 functionality statically built in (not as a module), you cannot do that. In that case, booting is unavoidable.&lt;BR /&gt;&lt;BR /&gt;There is also mdadm -r (remove) command, which might help. The "raidstart/raidstop" commands are the old way of handling software RAID on Linux, while "mdadm" is the new way. If your distribution is old enough to have the raid* commands, it might not have the newest mdadm with all the options.</description>
      <pubDate>Tue, 02 May 2006 02:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976356#M47139</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-05-02T02:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Software Raid device destruct/remove</title>
      <link>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976357#M47140</link>
      <description>Matt nailed it.</description>
      <pubDate>Tue, 02 May 2006 08:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/software-raid-device-destruct-remove/m-p/4976357#M47140</guid>
      <dc:creator>Adam Garsha</dc:creator>
      <dc:date>2006-05-02T08:40:14Z</dc:date>
    </item>
  </channel>
</rss>

