LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to remove raid partion? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-raid-partion-598567/)

hocheetiong 11-10-2007 07:58 AM

how to remove raid partion?
 
in RHEL5. i already create raid partition by using mdadm. dev/md0 there are raid level 0 and have two raid device dev/sda6 dev/sda7. Now i want to remove one of them "dev/sda7".i using this command: # mdadm --verbose /dev/md0 -f /dev/sda7 -r /dev/sda7 but error said: cannot remove active disk sda7 from md0, hot remove failed for /dev/sda7: device or resource busy. i already unmount, so why still said device or resource busy?


Thank you.

elfoozo 11-10-2007 09:56 PM

Check /etc/mtab to verify unmounted resource.

wanghao 11-11-2007 01:54 AM

Fisrt of all ,you should do is umount if you want to
remove any partion!


All times are GMT -5. The time now is 10:40 AM.