Shop by Category | Brand | Order Tracking | Customer Care | Contact Us | Wishlist | My Account |
All
  • All Departments
  • Digital Download
Cart
My Drafts
General Topics
  Tech News
  What's New
  NCIX.com Q&A
  Important Notices
  General Discussions
  Suggestions/Feedback
  Site Bug Reports
  PC Builder Workshop
  NCIX Gaming Community
  NCIX Tech Tips
  Linus Tech Tips
  NCIX Esther
  Manufacturer Support
  CPU Discussions
  Video Cards
  Power Supplies
  Folding @ Home
  Moderated
  Off Topic
  Overclocking
  Product Requests
  PC Modding
Software Topics
  Operating Systems
  Linux
  Freeware/Shareware
  Open Source Projects
  Driver Updates
Broadband Topics
  Shaw Cable
  Telus ADSL
  Speed Test Reports
FAQs
  NCIX FAQs
  Hardware FAQs
  Overclocking FAQs
  Other FAQs
  Software FAQs
Top Categories
  Blu-Ray Drives
  Bundle Deals
  Camcorders
  CD & DVD Drives
  Chromebook
  Computer Cases
  CPU Heatsinks
  DDR2 Desktop Memory
  DDR3 Desktop Memory
  Digital Cameras
  External Hard Drives
  Fans & Cooling
  Hard Drives
  HTPC Accessories
  Inkjet Printers
  Internet Routers
  Keyboards
  Laser Printers
  LCD Monitors
  Mice & Pointing Devices
  Mobile Phones
  Modding
  Motherboards
  Multi-Function Printers
  Network Adapters
  Network Storage NAS
  Network Switches
  PC Games
  Power Supplies
  Processors (CPUs)
  PS3 Games
  Scanners
  SD Secure Digital
  Solid State Drives - SSD
  Speakers & Audio
  UPS/Power Management
  USB Flash Drives
  Video Cards
  Water Cooling
  Webcams
  Wireless Accessories
  XBox 360
 LATEST TOPICS |  FORUMS » LINUX » ANY LINUX SOFTWARE RAID GURUS?...
Subject: Any Linux software RAID gurus?
Share this:  
Author Date Posted Tools
Nicolas_R Mar 08, 2009 04:19 PM Reply | Bookmark
Like | Top | Bottom

Hi!

I just tried to reinstall a newer Fedora version on my HTPC and without destroying what was on the RAID partition and I seem to have messed up...

When I partitioned I destroyed what was on the boot disk but kept the RAID 0 (yes, I know what that means) array untouched (AFAIK) but I can't seem to be able to remount it now that the OS is reinstalled.

I updated other things on that PC and it looks like one of the drives (which is part of the array) was not connected (the SATA connector was disconnected) when I first tried to remount the array so I don't know if anything ended up being corrupted.

Is there any way to check if the array is still OK, all my attempts have failed with errors such as

<<
EXT3-fs error (device md0): ext3_check_descriptors: Block bitmap for group 1920 not in group (block 32832)!
EXT3-fs: group descriptors corrupted!
>>

but I am not sure if that because they are truly corrupted or because I forgot to do something (this is the first time I was attempting to do that...).

Thank you in advance!

Nick

Topic URL: http://forums.ncix.com/forums/topic.php?id=1970741

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Alter3d Reality Mar 08, 2009 05:06 PM Reply | Bookmark
Like | Top | Bottom

Do a 'cat /proc/mdstat' and post the results here before touching anything else.

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Nicolas_R Mar 08, 2009 05:13 PM Reply | Bookmark
Like | Top | Bottom

Hi AR!

# cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 sdb1[0] sdc1[1]
976767872 blocks 64k chunks

unused devices: <none>

The array is composed of two WD5000AAKS 500GB hard drives...

Thank you!

Nick


This message was modified by the poster at 03 08, 2009 04:16 PM

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Alter3d Reality Mar 08, 2009 05:29 PM Reply | Bookmark
Like | Top | Bottom

OK, looks like the RAID array itself is OK, now check the filesystem with 'fsck /dev/md0'

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Nicolas_R Mar 08, 2009 05:40 PM Reply | Bookmark
Like | Top | Bottom

# fsck /dev/md0
fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
fsck.ext3: Group descriptors look bad... trying backup blocks...
Superblock has an invalid journal (inode 8).
Clear?

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Greg_K Mar 08, 2009 05:40 PM Reply | Bookmark
Like | Top | Bottom

Have you checked the disk for bad blocks before you formed the array?

Tip Posting | My Postings (598) | My Reviews (3) | View Source
Alter3d Reality Mar 08, 2009 05:54 PM Reply | Bookmark
Like | Top | Bottom


Say 'y' here. What's the next error, if any?

Did the system crash or lose power abruptly at some point? That's the usual reason that you get journal corruption...

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Nicolas_R Mar 08, 2009 05:59 PM Reply | Bookmark
Like | Top | Bottom

# fsck /dev/md0
fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
fsck.ext3: Group descriptors look bad... trying backup blocks...
Superblock has an invalid journal (inode 8).
Clear? yes

*** ext3 journal has been deleted - filesystem is now ext2 only ***

Block bitmap for group 1920 is not in group. (block 0)
Relocate?

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Nicolas_R Mar 08, 2009 06:01 PM Reply | Bookmark
Like | Top | Bottom



This was an existing array when the previous version of the OS was installed so no, I did not think I had to do it...

Thanks!

Nick

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Nicolas_R Mar 08, 2009 06:04 PM Reply | Bookmark
Like | Top | Bottom



One of the hard drive Sata cable ended up being disconnected but I believe it was not when the pc was ON...

I did however tried to remount the array when the hard drive was missing (before I noticed it was) so maybe something ended up being corrupted (even though having a single RAID 0 hard drive doesn't make sense)...

Thank you very much for your help!

Nick

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Alter3d Reality Mar 08, 2009 06:06 PM Reply | Bookmark
Like | Top | Bottom


Yikes.

OK, before we go any further, do you have a lot of spare disk space kicking around? We should take an image of each disk before messing with anything else.

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Nicolas_R Mar 08, 2009 06:31 PM Reply | Bookmark
Like | Top | Bottom



Ok, what does that mean?

Quote: (Alter3d Reality @ Mar 08 2009, 06:06 PM)

OK, before we go any further, do you have a lot of spare disk space kicking around? We should take an image of each disk before messing with anything else.


If you mean around 1 TB, no... I have been having health problem for the last few months and I had mostly stopped purchasing myself some new "toys" like bigger hard drives and things like that...

(I still have some tests to pass so that they can try to figure out what I have but my morale is better than it was a few months ago...)

AR, I knew the risks of building a RAID 0 array and apart from TV recordings and some development stuff (patches for my PVR which I would have preferred not to lose but if I lose them I'll probably code them better next time) I won't lose much so we could try to do it without having backups and if I lose them then so be it...

Thank you very much for your help!

Nick

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Alter3d Reality Mar 08, 2009 09:07 PM Reply | Bookmark
Like | Top | Bottom


It means that there's definitely something funky going on with the filesystem.

Quote: (Nicolas_R @ Mar 08 2009, 06:31 PM)

so we could try to do it without having backups and if I lose them then so be it...

Try the command 'e2fsck -p /dev/md0'. If that still doesn't fix the problem, you can try 'e2fsck -y /dev/md0'. The first one will try to do a 'safe' repair of the filesystem. The second will do a 'try the repair at all costs' operation. If -p doesn't work, there's a pretty good chance that -y will just toast stuff, but it's basically a last resort anyways.

If either of those work, I would strongly suggest trying to copy the important data off immediately onto some other media, then rebuilding the array. Something definitely messed up somewhere and it's safest to rebuild before committing more data to it.

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Tips: 225 Points tipped from 1 members
Nicolas_R Mar 09, 2009 05:09 PM Reply | Bookmark
Like | Top | Bottom

O.k. the array ended up being truly and utterly messed up...

I grepped the file were produced during the repair and I was able to salvage a few things...

When I try to re-create  the array it complains that the drives were part of an array, do I have to do anything or do I just accept using the drives anyway (will it cause any problem or is it just warning me because it thinks I'm trying to use drives from another array?).?

Thank you very much for your help AR!!

Have a nice day!

Nick

Tip Posting | My Postings (1710) | My Reviews (10) | View Source
Alter3d Reality Mar 09, 2009 05:15 PM Reply | Bookmark
Like | Top | Bottom


Sorry to hear. Hopefully the pieces you were able to recover were the important parts!

Quote: (Nicolas_R @ Mar 09 2009, 05:09 PM)

When I try to re-create  the array it complains that the drives were part of an array, do I have to do anything or do I just accept using the drives anyway (will it cause any problem or is it just warning me because it thinks I'm trying to use drives from another array?).?

Yeah, it's just warning you. Just accept and it should overwrite the 'flags' that are currently set with new ones.

Quote: (Nicolas_R @ Mar 09 2009, 05:09 PM)

Thank you very much for your help AR!!

np, and thanks for the tip.

Tip Posting | My Postings (11409) | My Reviews (11) | My Profile | View Source
Nicolas_R Mar 13, 2009 02:03 PM Reply | Bookmark
Like | Top | Bottom

Hi AR!



I got at least part of a file I wanted to keep (the important part)..

Quote: (Alter3d Reality @ Mar 09 2009, 05:15 PM)

Yeah, it's just warning you. Just accept and it should overwrite the 'flags' that are currently set with new ones.


Thank, it worked... I have another problem now but it it's probably some sort of dependency problem (MythTv doesn't seem to find some X header files even though all the dev(el) packages appear to be there... I think I'll try to reinstall it, it looks like something got messed up in the initial install...

Quote: (Alter3d Reality @ Mar 09 2009, 05:15 PM)

np, and thanks for the tip


No problem... Thank you very much for your help!!!

Have a nice day & weekend!

Nick

Tip Posting | My Postings (1710) | My Reviews (10) | View Source


Call Queue
Now Serving
Closed
Avg. Response Time
Closed
Request Call Back
(Web Orders Only)

Recent Experts
1. Saberon (14660)
2. Spork™ (13694)
3. DJZ (6923)
4. JohnyBoy (4213)
5. Rebecca_M (259)
All Time Experts
1. Mr. Friendly™ (51387)
2. The Wizard (39824)
3. death_hawk™ (35144)
4. Not An Expert (26343)
5. Lance W (25246)
 
Your Order Company Info Memberships Services Hotlinks
Order Status
RMAs (Merchandise returns)
F.A.Q.
Contact Us / Store Locator
Careers
Terms & Conditions
Privacy Policy
NCIX Rewards
Premier Partner Reseller Program
VIP Memberships
Advantage Membership
Affiliate Program
Super Shipping Saver Club
Express Coverage
Express RMA
Express Shipping Service
Express Exchange and Care Coverage
Gift Cards & Balance Checker
NCIX Newsletters
NCIX Forums
Folding @ Home Team
The Banner Vault
International Sites:  Canada
Get the best discount computers online for online computer shopping and discount PC computer components as well as notebook computers, laptops and Canada custom computers for the best deals on computers.
NCIX.com provides Canada the best priced computers in the country for computer components and computer parts and computer accessories with the best online computer store in Canada for your personal and business computer needs.
At NCIX you can build your own computer online as well as search for the cheapest and best video cards, computer processors and CPUs, motherboards computer memory RAM, ssd and hard drives with the fastest shipping in Canada and the US.
So for discount computers online NCIX provides the cheapest digital cameras, printers, motherboards, flash memory, PC speakers and computer electronics with the best Canadian computer and Canadian online computer shopping website in the world.

NCIX.com is powered by Intel® Xeon® Quad Core Processors
Copyright© 2014 NCIX.com/Netlink Computer Inc. All rights reserved. S / Server ID:74 20140801233148  187 ms