LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-07-2006, 12:52 AM   #1
Hondro
Member
 
Registered: Mar 2006
Location: Lithuania
Distribution: Slackware-12.2
Posts: 102

Rep: Reputation: 15
Where can be the problem (RAID-1)?


Hi, i have two hard disks and partitions in it:
Quote:
/dev/hda8 9001 9526 265072+ 83 Linux
/dev/hdb8 568 600 265041 fd Linux raid autodetect
Partition /dev/hda8 is ext3 file system.

File /etc/raidtab:
Quote:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hda8
raid-disk 0
device /dev/hdb8
raid-disk 1
When i try to run "mkraid /dev/md0":
Quote:
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda8, 265072kB, raid superblock at 264960kB
/dev/hda8 is mounted
mkraid: aborted.
(In addition to the above messages, see the syslog and /proc/mdstat as well
for potential clues.)
When i "umount /dev/hda8" and run "mkraid /dev/md0":
Quote:
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda8, 265072kB, raid superblock at 264960kB
/dev/hda8 appears to contain an ext2 filesystem -- use -f to override
mkraid: aborted.
(In addition to the above messages, see the syslog and /proc/mdstat as well
for potential clues.)
But /dev/hda8 is ext3 fs, where can be the problem?
 
Old 08-09-2006, 07:41 AM   #2
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
Quote:
Originally Posted by Hondro
Hi, i have two hard disks and partitions in it:

Partition /dev/hda8 is ext3 file system.

File /etc/raidtab:


When i try to run "mkraid /dev/md0":


When i "umount /dev/hda8" and run "mkraid /dev/md0":


But /dev/hda8 is ext3 fs, where can be the problem?
hmm, should not happen but if problem persists then try to change the ID of /dev/hda8 from ext3 to fd. Note that the file system will still be ext3 only. You may change the partition ID without having to worry about losing the data!!. Afterwards try to create the raid or use raidhotadd to add into the existing raid. use -f option of mkraid if problem persists.
 
  


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
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM
RAID 0 Problem Quickdraw Slackware 1 12-24-2004 11:30 PM
Raid 1 problem gmanigault Linux - Software 2 12-08-2004 03:27 PM
raid problem hansi umayangan Linux - General 1 11-08-2004 06:57 AM
Raid problem nazir Linux - Hardware 0 10-05-2004 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 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