LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-20-2007, 05:00 AM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile rhel5 raid device cannot remove, no /etc/mdadm.conf file?


Hi, when i am during install rhel5(Red hat linux enterprise 5) i not setup Raid drive. Than after finish installed, i only configure a testing raid, ok when i am create a raid partition,i am using command "mdadm" than i success create a level=0 raid device name is /dev/md0 in physical harddisk partition /dev/sda7 and /dev/sda8. After that i just want to remove this /dev/md0, i dont know what is the correct method to remove it, so i just use fdisk to delete partition /dev/sda7 & /dev/sda8. I reboot system, than i issue command # cat /proc/mdstat so no any raid infomation there.OK, now i want to create a raid level=1 , so i fdisk two partition /dev/sda7 & /dev/sda8 as fd(software raid), when i want to create the raid drive /dev/md0, but before i create why it automatic have the drive already on /dev/md0? i already remove using fdisk. Please teach me a way how to correctly remove software raid device like /dev/md0 ,/dev/md1 we are create.

Thank you.
 
Old 11-20-2007, 06:08 AM   #2
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Rep: Reputation: 0
try to use
$mdadm -S /dev/md0
if the device is appearing in
cat /proc/partitions meaning if md0 is listed in device list.

Last edited by Tahir Saleh; 11-20-2007 at 06:47 AM.
 
  


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
mdadm fails to assemble my RAID device tomhildebrand Fedora 6 06-28-2007 12:08 AM
RHEL5 mdadm sofware raid prob jmral23 Red Hat 1 06-19-2007 01:30 PM
Remove a raid device to build a new one ilhbutshm Slackware 2 09-05-2006 05:00 AM
mdadm.conf and RAID 1 on Ubuntu jcorrea920 Linux - Software 11 07-06-2006 03:14 PM
RAID - mdadm.conf keith ralph Linux - General 4 05-05-2006 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07: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
Open Source Consulting | Domain Registration