LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 05-26-2006, 04:42 PM   #16
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46

Now for some confusion.

The filesystem type reported by fdisk, qtparted, etc. may not be correct. These utilities do not actually inspect the filesystem, but merely access and report a number that ranges from 0 to FF, corresponding to the different filesystem types.

You can start fdisk and select “l” to get a listing of the different filesystem types/names. For that matter, you can change a reported filesystem type to any of the options without altering the actual filesystem.

For example, when you manually set up a software raid, you have to change the filesystem type of the partitions from (presumably) “linux” (type 83) to “linux raid autodetect” (type fd). Otherwise, the OS will not identify it correctly on boot.

**********

So how do you figure out what an “unknown” filesytem is using simple tools? The first thing you should do is to run pvscan to pick up any LVM physical volumes that might be involved. You might be looking at an LVM physical volume and not a simple partition holding a standard filesystem.

If it wasn’t an LVM physical volume, then you can start trying to identify the filesystem type. Since the list of likely filesystems is fairly short, you can just ask the various fsck tests to have a look and see if one recognizes it. For example, if you think it’s ext3, then let e2fsck look at it and see what it reports.

And, of course, when you figure out which one it is, you need to alter the reported filesystem type to match what it really is.
 
Old 05-28-2006, 08:24 AM   #17
tsnake
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Heh... I didn't see this moved to page two of replies... oops.
Anyway.... after all that time spent on the phone with 3ware and fixing the raid, now another disk is showing as degraded. I'll deal with it Tuesday I guess. Grr.

Saddly, fdisk -l DID show the raid as linux two days ago, after the repair, but now it's not loading the raid at all. I asked the person who originally set it up and yep, it's ext3.

Things I tried:
# pvscan
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sda1: read failed after 0 of 4096 at 0: Input/output error

Looks like it knows SOMETHING is there... but is freaking out somehow.

And:
# e2fsck -n /dev/sda1
e2fsck 1.38 (30-Jun-2005)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?

If you knew me IRL, you'd see how the bad luck just makes sense for me.
thanks....
C-
 
  


Reply

Tags
fedora, hardware, mounting, raid5


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
Is it possible to convert from using hardware RAID to software RAID? kindredstar Linux - Hardware 2 12-19-2005 09:13 AM
Dell "CERC" Raid-5 w/CENT OS. Is this true hardware RAID or just an expensive card? fireman949 Linux - Hardware 2 06-24-2005 05:44 PM
Hardware RAID PCI Card (Hardware?) MasterC Linux - Hardware 1 03-01-2003 01:19 AM
Software RAID vs Hardware RAID system Linux - General 3 12-25-2001 08:11 PM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration