Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mdraid messages at start-up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Mon Jul 04, 2011 4:09 pm    Post subject: mdraid messages at start-up Reply with quote

Hi all,

When I boot up my work computer I get some message about mdraid. Unfortunately, it just whizzes by way to quickly for me to write down what it is saying. Could somebody tell me how to capture that information into a file or otherwise get it down before it goes? I am using openrc at present and would like to debug this. Also, how can I tell if there are problems with my raid? Nothing seems amiss when I type cat /proc/mdstat.

Best,

Alex
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Mon Jul 04, 2011 4:52 pm    Post subject: Reply with quote

Could you not enable boot logging? I remember reading about that when I upgraded a few machines to openrc.
Back to top
View user's profile Send private message
Voorhees51
Guru
Guru


Joined: 05 Nov 2003
Posts: 358

PostPosted: Mon Jul 04, 2011 6:17 pm    Post subject: Reply with quote

you could try dmesg to get the info

dmesg|less

or pipe output to a file to review
dmesg > tmp_file.log


the messages might just be about the superblocks not being version 0.9
- it relates to the kernel being able to auto mount that superblock version

I just ignore the message

my arrays are ver 1.2 superblocks and I just have them defined in /etc/mdadm.conf and they mount fine with no issues at all

mdadm --detail /dev/mdX -- it will give you more detailed info on the array
- I think syntax is correct, check man page to be sure

One bit of advise I would give is to get the drive info for each disc in the array, specifically the serial number
- keep it in a file and up to date for the discs in the arrays

hdparm -I /dev/<device_name> ... eg hdparm -I /dev/sda

This helps if you have a disc failure in the array, you know exactly which one needs replaced
- you might want to notate where the drives are in the case as well by SN, makes it easier to know where it is and not have to pull them one at a time to check


There are also options for mdadm to monitor the array and notify you by email or other alert to a failed drive
- it works great, mines setup to go to an email address as well as txt message to phone
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Mon Jul 04, 2011 6:22 pm    Post subject: Reply with quote

Hi,

Thanks for all the good advice. It looks like the problem is that the system is looking for LVM and I have no logical volumes because I don't use LVM. How do I get it to stop probing for this?

Code:

 [ !! ]
 * Setting up the Logical Volume Manager ...
  No volume groups found
  No volume groups found
  No volume groups found


Best,

Alex
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1334
Location: sweden

PostPosted: Thu Jul 21, 2011 11:31 am    Post subject: Reply with quote

evoweiss vrote:

How do I get it to stop probing for this?



mybox ~ # rc-update del lvm boot
* service lvm removed from runlevel boot
mybox ~ #

evoweiss vrote:

I get some message about mdraid.

i have a message at boot that mdraid can not find any configuration but make it auto..... or some thing like that.
i have not had a problem with that.but if i put a new single hdd in my box,mdraid will put it in raid so mdstat tells me
that i have a broken raid set.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum