Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #46  
Old 25th March 2011, 05:26 PM
Vector's Avatar
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 33
Posts: 1,183
linuxfirefox
Re: How to create a software Raid 5?

Wow, it sounds like you guys dug a LOT deeper that i did, and that this problem may go further than just the power supply cable arrangement, etc...

@ Flan: I can't find my receipt for the power supply, so i can't tell who/what it is. I threw all of the boxes for my computer parts away about 2 or 3 months after i built it. The next time i open it up to clean it i will try to remember to take the power supply out and see what it says on the sticker. I have a http://www.google.com/search?q=silve...aven+RV01+case so i can't see the label when i open the door because it's covered up by the cases frame.
Reply With Quote
  #47  
Old 27th March 2011, 03:28 PM
JaXXoN Offline
Registered User
 
Join Date: Mar 2011
Posts: 12
linuxfedorafirefox
Re: How to create a software Raid 5?

Just to keep you in the loop, I repeated the installation (as describe in my
previous posting) and everything seems to work fine, now. I'm still not sure
what wiped out /boot in my previous attempt but I wouldn't exclude a pilot
error :-)

regards

Bernhard
Reply With Quote
  #48  
Old 30th March 2011, 12:33 AM
JaXXoN Offline
Registered User
 
Join Date: Mar 2011
Posts: 12
linuxfedorafirefox
Re: How to create a software Raid 5?

It did it again! Here's what I could capture:

Code:
/dev/md127: Superblock has an invalid journal (inode 8)
      CLEARED
*** ext3 journal has been deleted - filesystem is now ext2 only ***

/dev/md127 was not cleanly unmounted, check forced
/dev/md127: Resize inode not valid.
/dev/md127: UNEXPECTED INCONSISTENCY ; RUN fsck MANUALLY.
When then mounting /dev/md127, then the filesystem is pretty much
corrupt (you can see a lot of "??????" when doing an "ls").
Fortunately, I had a backup of /dev/md127 (/boot) so I could
easily restore my system. However, I fear this is going to happen
again, soon.

Seems like something goes wrong during system shutdown.

Here's my /proc/mdstat
Code:
Personalities : [raid6] [raid5] [raid4] [raid1] 
md126 : active raid1 sdb1[0] sde1[3] sdd1[2] sdc1[1]
      1048564 blocks super 1.0 [4/4] [UUUU]
      
md127 : active raid5 sdb2[0] sde2[4] sdd2[2] sdc2[1]
      2927135232 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      
unused devices: <none>
(BTW.: md126 and md127 are flipping around, means some md126 is the raid1
and sometimes md127 is the raid1)

/etc/mdadm.conf:

Code:
ARRAY /dev/md/127 metadata=1.0 UUID=b26ee822:186c373e:f58450a0:a7539a94 name=bee.qnlx.de:127
ARRAY /dev/md/126 metadata=1.2 UUID=eb112468:bfb44aa9:0806fbe9:788ec074 name=bee.qnlx.de:126
feedback is highly appreciated!

regards

Bernhard
Reply With Quote
  #49  
Old 30th March 2011, 12:47 AM
Vector's Avatar
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 33
Posts: 1,183
linuxfirefox
Re: How to create a software Raid 5?

I know that this does not help, and it's probably also not what you want to hear, but that's one of the reasons that i don't raid the OS drive itself.

i've got 5 hard drives: 4-2tb drives (8tb total), raided as a single 6tb drive. Then i have a 1.5tb drive that is the OS drive, and is NOT raided at all. I don't care about the OS drive. If something happens to the os, i'll just reinstall. All of my data for all of my servers is written to the raid anyway. But the point is, less complexity on the OS drive. Less aggravation.

Anyway, fwiw...
Reply With Quote
  #50  
Old 30th March 2011, 12:43 PM
JaXXoN Offline
Registered User
 
Join Date: Mar 2011
Posts: 12
linuxfedorafirefox
Re: How to create a software Raid 5?

Quote:
Originally Posted by Vector View Post
I know that this does not help, and it's probably also not what you want to hear, but that's one of the reasons that i don't raid the OS drive itself..
OS mdraid worked fine me for about 15 years, so if it doesn't do that today, then
that's clearly a regression! Having SW raid not working reliable is not an
option for me :-) In this context, I'm having the impression that udevd is
doing more harm than good in general, but YMMV ...

Anyway, here's an update:

When doing a shutdown with "poweroff", then just before the PC switches
off, I can read a "Stopping md devices" (or something like this). When using
"halt", then there's also the stopping message, but afterwards there are
"syncing disks" messages in addition (one for each drive), then the
system powers off.

So it seems that "poweroff" turns of power too early (interrupting the
syncing process), and "halt" shouldn't power-off the system at all
(just keep it powered after shutting down the kernel).

While "halt" seems to do the right thing for me, now (stopping MDs,
syncing disks, then power-off), i guess this need to be fixed.

regards

Bernhard

---------- Post added at 11:43 AM ---------- Previous post was at 11:24 AM ----------

Quote:
Originally Posted by Vector View Post
I know that this does not help, and it's probably also not what you want to hear, but that's one of the reasons that i don't raid the OS drive itself.
[...]
the point is, less complexity on the OS drive. Less aggravation.
I'm basically also a strong supported of the KISS principle ("keep it simple,
stupid"), but as already mentioned, mdraid has been around for a while
with an excellent track record (at least in my book), so my intention is
to create an even more complex setup: I'd like to add a SSD to form
a hybrid RAID1 where read operations are most typically carried out
by the SSD. The RAID1 is nested with RAID5 on the HDD side like this:

Code:
md0 = sda1 + md1      /         RAID1 (SSD+RAID5)
md1 = sd{b,c,d,e}1              RAID5
md2 = sd{b,c,d,e}2    /home     RAID5
sda            SSD
sd{b,c,d,e}    HDDs
Let's where this is going to take me :-)

Bernhard
Reply With Quote
Reply

Tags
create, raid, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jmicron software raid 1 seen as raid during install, as 2 disk after xranix Using Fedora 0 9th March 2009 04:02 PM
A way to create RAID 1 w/o having to format? Waggoneer Using Fedora 0 28th December 2007 05:46 PM
Installing a software raid on an existing non-raid system jimispier Hardware & Laptops 8 4th March 2006 05:51 AM
Software RAID problem (RAID is gone after create process finishes) michal Using Fedora 4 16th November 2005 12:24 PM
How to create RAID on FC4? What is substitute of mkraid? d0153030 Using Fedora 1 12th August 2005 03:58 PM


Current GMT-time: 03:55 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat