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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-21-2012, 10:27 AM
|
#1
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Rep:
|
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.
|
|
|
06-21-2012, 11:48 AM
|
#2
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525
Rep:
|
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.
|
|
|
06-21-2012, 11:52 AM
|
#3
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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.
|
|
|
06-21-2012, 09:03 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
Try posting
lowercase L there
|
|
|
06-22-2012, 02:10 AM
|
#5
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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
|
|
|
06-22-2012, 02:59 AM
|
#6
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525
Rep:
|
Post your /etc/fstab.
My bet will be that it has some UUID entries.
|
|
|
06-22-2012, 05:54 AM
|
#7
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
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.
|
|
|
06-22-2012, 07:12 AM
|
#8
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525
Rep:
|
Post your /etc/fstab.
|
|
|
All times are GMT -5. The time now is 03:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|