LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2007, 08:58 AM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile 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.
 
Old 11-10-2007, 10:56 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 256

Rep: Reputation: 32
Check /etc/mtab to verify unmounted resource.
 
Old 11-11-2007, 02:54 AM   #3
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 126

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remove a device mapper partion charlie951 Linux - Hardware 2 04-05-2007 10:32 AM
Shrinking RAID 1 partion on 2nd disk simonb1975uk Slackware 3 12-04-2006 07:58 AM
dual partion install VIA raid help gfem Fedora 3 12-29-2005 12:26 AM
how do i build soft raid 0 in harddrive level without partion... my-unix-dream Linux - Newbie 1 04-30-2005 07:48 PM
mounting raid-0 windows partion Marcske Linux - Newbie 0 08-21-2003 03:08 PM


All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration