<?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: does mdadm support completely detach/break mirror (not replace) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714179#M21435</link>
    <description>Unfortunately, I don't know of any way to remove the filesystem headers that are placed on each of the mirrored parts.&lt;BR /&gt;&lt;BR /&gt;Also, by the looks of it, you created 'partition' based mirror pairs..&lt;BR /&gt;&lt;BR /&gt;I'm unaware of any way to remove them from that state.</description>
    <pubDate>Sat, 21 Jan 2006 01:14:43 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2006-01-21T01:14:43Z</dc:date>
    <item>
      <title>does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714168#M21424</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I read the previous threads regarding mdadm here, but that does not answer my question.&lt;BR /&gt;&lt;BR /&gt;I used Diskdruid to mirror all the partitions during the installation (RHEL4) including boot partition. Recently I need to break the mirror and release one of the hard disk, somehow, I would not be able to accomplish that successfully.&lt;BR /&gt;&lt;BR /&gt;I tried to stop the mirror, put it into the faulty mode and remove it, then modify the fstab file, but it did not work.&lt;BR /&gt;&lt;BR /&gt;Somebody here has the experience that can share on how to detach a mirror completely?&lt;BR /&gt;&lt;BR /&gt;Appreciate for any clue.&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Fri, 20 Jan 2006 11:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714168#M21424</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714169#M21425</link>
      <description>Do you want to stop using mirror at all?&lt;BR /&gt;&lt;BR /&gt;If you just remove the one disk from the mirror, you will get the same results that if you manually fail all md devices.</description>
      <pubDate>Fri, 20 Jan 2006 12:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714169#M21425</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-20T12:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714170#M21426</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;I read your post before.&lt;BR /&gt;&lt;BR /&gt;Yes I want to stop using the mirror. Is there a way? thanks.&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Fri, 20 Jan 2006 13:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714170#M21426</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714171#M21427</link>
      <description>Whell, you can simply use the system with the disk removed, your mirror will work degraded, and is equivalent to work with a single disk. Probably, is better to use this way, because in the future, you may add again a disk to restore the redundancy.&lt;BR /&gt;&lt;BR /&gt;If you want to stop using mirror anyway, you should change the grub.conf file and the fstab file to point to their respective hd/sd devices instead of the md devices.</description>
      <pubDate>Fri, 20 Jan 2006 14:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714171#M21427</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-20T14:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714172#M21428</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;Thanks for following this post.&lt;BR /&gt;&lt;BR /&gt;I guess besides your suggestion above, there must be some steps else that I omitted or I could not think of.&lt;BR /&gt;&lt;BR /&gt;I modified the grub.conf and fstab files, unplugged one of the hard disk, but got "Kernel Panic" error, and system won't be able to boot up. I modified the grub.conf and changed back to /dev/md1, this time it will locate the kernel but I need to boot from CD and modify the fstab and grub.conf back ...&lt;BR /&gt;&lt;BR /&gt;before start the services under rc, system runs some command to start the md and do the md check/autorun (something like that), do you have a clue where I can stop it?&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Fri, 20 Jan 2006 15:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714172#M21428</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T15:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714173#M21429</link>
      <description>above, if I just unplug one hard disk and do nothing else, system will boot to normal as Ivan described, but in md degradation mode.</description>
      <pubDate>Fri, 20 Jan 2006 15:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714173#M21429</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714174#M21430</link>
      <description>above, if I just unplug one hard disk and do nothing else, system will boot to normal as Ivan described, but in md degradation mode. I just want to get rid of this mirror so bad. ;-)</description>
      <pubDate>Fri, 20 Jan 2006 15:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714174#M21430</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T15:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714175#M21431</link>
      <description>Post the results of:&lt;BR /&gt;&lt;BR /&gt;cat /proc/mdstat&lt;BR /&gt;df &lt;BR /&gt;cat /etc/fstab&lt;BR /&gt;cat /etc/grub.conf</description>
      <pubDate>Fri, 20 Jan 2006 15:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714175#M21431</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-20T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714176#M21432</link>
      <description>It 's in the degradation mode already. &lt;BR /&gt;&lt;BR /&gt;-bash-3.00$ df -k&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/md1              10317752   4611336   5182304  48% /&lt;BR /&gt;/dev/md0                194366     11174    173157   7% /boot&lt;BR /&gt;/dev/md3             212674928 113079888  88791736  57% /d1&lt;BR /&gt;none                   1036792         0   1036792   0% /dev/shm&lt;BR /&gt;/dev/md5               2063440     36064   1922560   2% /tmp&lt;BR /&gt;/dev/md4               6190592    100128   5776000   2% /var&lt;BR /&gt;&lt;BR /&gt;-bash-3.00$ cat /proc/mdstat&lt;BR /&gt;Personalities : [raid1]&lt;BR /&gt;md1 : active raid1 sda2[1]&lt;BR /&gt;      10482304 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md2 : active raid1 sda3[1]&lt;BR /&gt;      4192896 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md3 : active raid1 sda5[1]&lt;BR /&gt;      216066112 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md4 : active raid1 sda6[1]&lt;BR /&gt;      6289344 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md5 : active raid1 sda7[1]&lt;BR /&gt;      2096384 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;md0 : active raid1 sda1[1]&lt;BR /&gt;      200704 blocks [2/1] [_U]&lt;BR /&gt;&lt;BR /&gt;unused devices: &lt;NONE&gt;&lt;BR /&gt;&lt;BR /&gt;-bash-3.00$ df&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/md1              10317752   4611336   5182304  48% /&lt;BR /&gt;/dev/md0                194366     11174    173157   7% /boot&lt;BR /&gt;/dev/md3             212674928 113079888  88791736  57% /d1&lt;BR /&gt;none                   1036792         0   1036792   0% /dev/shm&lt;BR /&gt;/dev/md5               2063440     36064   1922560   2% /tmp&lt;BR /&gt;/dev/md4               6190592    100128   5776000   2% /var&lt;BR /&gt;&lt;BR /&gt;-bash-3.00$ cat /etc/fstab&lt;BR /&gt;# This file is edited by fstab-sync - see 'man fstab-sync' for details&lt;BR /&gt;/dev/md1                /                       ext3    defaults        1 1&lt;BR /&gt;/dev/md0                /boot                   ext3    defaults        1 2&lt;BR /&gt;/dev/md3                /d1                     ext3    defaults        1 2&lt;BR /&gt;none                    /dev/pts                devpts  gid=5,mode=620  0 0&lt;BR /&gt;none                    /dev/shm                tmpfs   defaults        0 0&lt;BR /&gt;none                    /proc                   proc    defaults        0 0&lt;BR /&gt;none                    /sys                    sysfs   defaults        0 0&lt;BR /&gt;/dev/md5                /tmp                    ext3    defaults        1 2&lt;BR /&gt;/dev/md4                /var                    ext3    defaults        1 2&lt;BR /&gt;/dev/md2                swap                    swap    defaults        0 0&lt;BR /&gt;/dev/hdb                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;/dev/hda                /media/cdrecorder1      auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /etc/grub.conf&lt;BR /&gt;# grub.conf generated by anaconda&lt;BR /&gt;#&lt;BR /&gt;# Note that you do not have to rerun grub after making changes to this file&lt;BR /&gt;# NOTICE:  You have a /boot partition.  This means that&lt;BR /&gt;#          all kernel and initrd paths are relative to /boot/, eg.&lt;BR /&gt;#          root (hd0,0)&lt;BR /&gt;#          kernel /vmlinuz-version ro root=/dev/md1&lt;BR /&gt;#          initrd /initrd-version.img&lt;BR /&gt;#boot=/dev/sda1&lt;BR /&gt;default=0&lt;BR /&gt;timeout=5&lt;BR /&gt;splashimage=(hd0,0)/grub/splash.xpm.gz&lt;BR /&gt;hiddenmenu&lt;BR /&gt;title CentOS-4 i386 (2.6.9-11.ELsmp)&lt;BR /&gt;        root (hd0,0)&lt;BR /&gt;        kernel /vmlinuz-2.6.9-11.ELsmp ro root=/dev/md1&lt;BR /&gt;        initrd /initrd-2.6.9-11.ELsmp.img&lt;BR /&gt;title CentOS-4 i386-up (2.6.9-11.EL)&lt;BR /&gt;        root (hd0,0)&lt;BR /&gt;        kernel /vmlinuz-2.6.9-11.EL ro root=/dev/md1&lt;BR /&gt;        initrd /initrd-2.6.9-11.EL.img&lt;BR /&gt;&lt;/NONE&gt;</description>
      <pubDate>Fri, 20 Jan 2006 15:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714176#M21432</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714177#M21433</link>
      <description>I would do the following changes, remember to copy the current file to .bak:&lt;BR /&gt;&lt;BR /&gt;/etc/fstab&lt;BR /&gt;==========&lt;BR /&gt;&lt;BR /&gt;/dev/sda2 / ext3 defaults 1 1&lt;BR /&gt;/dev/sda1 /boot ext3 defaults 1 2&lt;BR /&gt;/dev/sda5 /d1 ext3 defaults 1 2&lt;BR /&gt;none /dev/pts devpts gid=5,mode=620 0 0&lt;BR /&gt;none /dev/shm tmpfs defaults 0 0&lt;BR /&gt;none /proc proc defaults 0 0&lt;BR /&gt;none /sys sysfs defaults 0 0&lt;BR /&gt;/dev/sda7 /tmp ext3 defaults 1 2&lt;BR /&gt;/dev/sda6 /var ext3 defaults 1 2&lt;BR /&gt;/dev/sda3 swap swap defaults 0 0&lt;BR /&gt;/dev/hdb /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;/dev/hda /media/cdrecorder1 auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;grub.conf&lt;BR /&gt;=========&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /etc/grub.conf&lt;BR /&gt;# grub.conf generated by anaconda&lt;BR /&gt;#&lt;BR /&gt;# Note that you do not have to rerun grub after making changes to this file&lt;BR /&gt;# NOTICE: You have a /boot partition. This means that&lt;BR /&gt;# all kernel and initrd paths are relative to /boot/, eg.&lt;BR /&gt;# root (hd0,0)&lt;BR /&gt;# kernel /vmlinuz-version ro root=/dev/md1&lt;BR /&gt;# initrd /initrd-version.img&lt;BR /&gt;#boot=/dev/sda1&lt;BR /&gt;default=0&lt;BR /&gt;timeout=5&lt;BR /&gt;splashimage=(hd0,0)/grub/splash.xpm.gz&lt;BR /&gt;hiddenmenu&lt;BR /&gt;title CentOS-4 i386 (2.6.9-11.ELsmp)&lt;BR /&gt;root (hd0,0)&lt;BR /&gt;kernel /vmlinuz-2.6.9-11.ELsmp ro root=/dev/sda2&lt;BR /&gt;initrd /initrd-2.6.9-11.ELsmp.img&lt;BR /&gt;title CentOS-4 i386-up (2.6.9-11.EL)&lt;BR /&gt;root (hd0,0)&lt;BR /&gt;kernel /vmlinuz-2.6.9-11.EL ro root=/dev/sda2&lt;BR /&gt;initrd /initrd-2.6.9-11.EL.img</description>
      <pubDate>Fri, 20 Jan 2006 16:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714177#M21433</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-20T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714178#M21434</link>
      <description>Just change fstab and grub.conf will end up with "Kernel panic - not syncing: Attempted to kill init".&lt;BR /&gt;&lt;BR /&gt;This is a workstation borrowed from another team, need to return it now, so I don't have chance to fix it, thanks for all your suggestion above, I guess I still need to seek an opportunity to solve this problem.&lt;BR /&gt;&lt;BR /&gt;If you got a chance to test it, please let me know the steps.&lt;BR /&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jan 2006 17:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714178#M21434</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-01-20T17:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: does mdadm support completely detach/break mirror (not replace)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714179#M21435</link>
      <description>Unfortunately, I don't know of any way to remove the filesystem headers that are placed on each of the mirrored parts.&lt;BR /&gt;&lt;BR /&gt;Also, by the looks of it, you created 'partition' based mirror pairs..&lt;BR /&gt;&lt;BR /&gt;I'm unaware of any way to remove them from that state.</description>
      <pubDate>Sat, 21 Jan 2006 01:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/does-mdadm-support-completely-detach-break-mirror-not-replace/m-p/3714179#M21435</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-01-21T01:14:43Z</dc:date>
    </item>
  </channel>
</rss>

