LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-17-2009, 05:57 AM   #1
dbj
LQ Newbie
 
Registered: Sep 2009
Posts: 23

Rep: Reputation: 16
raid grub auto-read-only


cat /proc/mdstat gives
...
md2 : active (auto-read-only) raid1 sda2[0] sdb2[1]
3421760 blocks [2/2] [UU]

md2 is swap
Why is it (auto-read-only) ?
I think it is a fault.

I can only boot on one of the disks because of lacking MBR on the other.
The two disks have different names. How do I figure out which is /dev/sda?

Can I install MBR on both (to be sure) by

grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> device (hd0) /dev/sda
grub> root (hd0,0)
grub> setup (hd0)
grub> quit


?
 
Old 11-17-2009, 07:12 AM   #2
dbj
LQ Newbie
 
Registered: Sep 2009
Posts: 23

Original Poster
Rep: Reputation: 16
Some what solved

[QUOTE=dbj;3759826]cat /proc/mdstat gives
...
md2 : active (auto-read-only) raid1 sda2[0] sdb2[1]
3421760 blocks [2/2] [UU]

md2 is swap
Why is it (auto-read-only) ?
I think it is a fault.

It is alright. It will not change before something is written to the partitition.
http://www.issociate.de/board/post/4...le_system.html

Now only the grub questions is left.
 
Old 11-17-2009, 07:47 AM   #3
dbj
LQ Newbie
 
Registered: Sep 2009
Posts: 23

Original Poster
Rep: Reputation: 16
fdisk -l

Quote:
Originally Posted by dbj View Post
I can only boot on one of the disks because of lacking MBR on the other.
The two disks have different names. How do I figure out which is /dev/sda?
?
fdisk -l
gives some information. However if the "Disk identifier"s and the disk size are identical you will have a problem.
How do you set the "Disk identifier"?
 
  


Reply

Tags
grub, raid


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 disk problem : Attempt to read block from filesystem resulted in short read ElmPie Linux - General 5 08-26-2008 05:21 AM
dual OS install windows XPx64 linux RH4 on two RAID 1 arrays - "Grub read error" sdlinwwin Linux - Software 1 03-27-2007 01:28 PM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration