LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-21-2012, 10:27 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
Understanding /proc/mdstat


when i look at /proc/mdstat i see this

Code:
Personalities : [raid1]
read_ahead 1024 sectors
Event: 2
md0 : active raid1 sdb1[1]
      859549696 blocks [2/1] [_U]

md1 : active raid1 sdb2[1] sda2[0]
      859533632 blocks [2/2] [UU]
      [======>..............]  resync = 30.9% (266213952/859533632) finish=2577.6min speed=3834K/sec
unused devices: <none>
I see that is says something is raid1 and its resync'ing md1, which i'm assuming is my /dev/md1. What I don't understand is that my /dev/md1 is a RAID5 external array to this server, so why does it say RAID1 and that its resync'ing? It's RAID5'd through the array controller's BIOS utility.
 
Old 06-21-2012, 11:48 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

The md1 device clearly seems local to your system, as it is seen as combination of sdb2 and sda2.
You might get those sd? devices brought up in your system from a remote server by iSCSI technology.
You should post your /etc/fstab.
 
Old 06-21-2012, 11:52 AM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Thats the other thing I don't understand, when I do a df or look at my fstab, there aren't any sdb? or sda? in there at all.
 
Old 06-21-2012, 09:03 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
Try posting
Code:
fdisk -l
lowercase L there
 
Old 06-22-2012, 02:10 AM   #5
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Thanks Chris, i see sda and sdb in there. but how can i relate this info to something that shows up in a df or in my fstab?

Code:
Disk /dev/sda: 1760.3 GB, 1760349388800 bytes
255 heads, 63 sectors/track, 214016 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1    107009 859549761   fd  Linux raid autodetect
/dev/sda2        107010    214016 859533727+  fd  Linux raid autodetect

Disk /dev/sdb: 1760.3 GB, 1760349388800 bytes
255 heads, 63 sectors/track, 214016 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1    107009 859549761   fd  Linux raid autodetect
/dev/sdb2        107010    214016 859533727+  fd  Linux raid autodetect
 
Old 06-22-2012, 02:59 AM   #6
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Post your /etc/fstab.
My bet will be that it has some UUID entries.
 
Old 06-22-2012, 05:54 AM   #7
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
There are no UUID's in my fstab. the first column is made up entirely of LABEL's or the /dev/stuff for my two external arrays.
 
Old 06-22-2012, 07:12 AM   #8
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Post your /etc/fstab.
 
  


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
New to mdadm. Can someone interpret my /proc/mdstat? bvz Linux - Newbie 2 09-29-2011 12:39 AM
[SOLVED] Can only see one drive in /proc/mdstat hedron Slackware 3 09-05-2011 10:56 AM
cat /proc/mdstat - how to tell what volumes its resyncing anon091 Linux - Server 2 04-29-2011 09:47 AM
[SOLVED] Help understanding /prov/mdstat anon091 Linux - Newbie 2 04-20-2011 12:17 PM
event 7 displayed in /proc/mdstat craigusb Linux - Software 0 07-05-2006 04:06 AM

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

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