LinuxQuestions.org
Visit Jeremy's Blog.
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
 
Search this Thread
Old 03-26-2005, 06:49 AM   #1
Astro_ortsa
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Question mounting existing mirror in new installation


Hi all,

I am new to this forum and this site.. Hope I do well.

Yesterday, I lost my boot drive on an old readhat 8 machine I have home. MY data was on a mirror on two seperate drive. Now I am trying to mount that mirror but I don't have any luck.

Here's some info about /dev/md0
mdadm --detail --scan

ARRAY /dev/md0 level=raid1 num-devices=2
UUID=45e17d10:10cb40b2:e3a34893:65826590
devices=/dev/hdc1,/dev/hdd1


cat /proc/mdstat

Personalities : [raid1]
md0 : active raid1 hdd1[1] hdc1[0]
9020352 blocks [2/2] [UU]

unused devices: <none>


When I try to mount /dev/md0 I got this:
mount /dev/md0 /mnt/data/

mount: /dev/md0: can't read superblock


And /var/log/messages show this

Mar 26 07:43:14 localhost kernel: FAT: Did not find valid FSINFO signature.
Mar 26 07:43:14 localhost kernel: Found signature1 0x00000000 signature2 0x00000000 (sector = 1)
Mar 26 07:43:14 localhost kernel: FAT: Filesystem panic (dev md0)
Mar 26 07:43:14 localhost kernel: invalid access to FAT (entry 0x0e94871b)
Mar 26 07:43:14 localhost kernel: File system has been set read-only


I have read howto's and groups and manpages for the last 6 hours and still does not have a clue what to do. I would love not to lose my data.

Since this seems to be a FAT system, maybe there a way to read it and I could rebuild the mirror after.

Any suggestions from linux gurus would be appreciated.

Regards,

Simon
 
Old 03-26-2005, 07:35 AM   #2
Astro_ortsa
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
More info

Here's more info on the two drives attached on /dev/md0

mdadm --examine /dev/hdc1

/dev/hdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 45e17d10:10cb40b2:e3a34893:65826590
Creation Time : Wed Apr 9 16:48:26 2003
Raid Level : raid1
Device Size : 9020352 (8.60 GiB 9.24 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Mar 25 09:32:48 2005
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : ca61086c - correct
Events : 0.62


Number Major Minor RaidDevice State
this 0 22 1 0 active sync /dev/hdc1
0 0 22 1 0 active sync /dev/hdc1
1 1 22 65 1 active sync /dev/hdd1
[root@localhost etc]# mdadm --examine /dev/hdd1
/dev/hdd1:
Magic : a92b4efc
Version : 00.90.00
UUID : 45e17d10:10cb40b2:e3a34893:65826590
Creation Time : Wed Apr 9 16:48:26 2003
Raid Level : raid1
Device Size : 9020352 (8.60 GiB 9.24 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Mar 25 09:32:48 2005
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : ca6108ae - correct
Events : 0.62


Number Major Minor RaidDevice State
this 1 22 65 1 active sync /dev/hdd1
0 0 22 1 0 active sync /dev/hdc1
1 1 22 65 1 active sync /dev/hdd1


mdadm --examine /dev/hdd1

/dev/hdd1:
Magic : a92b4efc
Version : 00.90.00
UUID : 45e17d10:10cb40b2:e3a34893:65826590
Creation Time : Wed Apr 9 16:48:26 2003
Raid Level : raid1
Device Size : 9020352 (8.60 GiB 9.24 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Mar 25 09:32:48 2005
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : ca6108ae - correct
Events : 0.62


Number Major Minor RaidDevice State
this 1 22 65 1 active sync /dev/hdd1
0 0 22 1 0 active sync /dev/hdc1
1 1 22 65 1 active sync /dev/hdd1
[root@localhost etc]# man mount
[root@localhost etc]# mdadm --examine /dev/hdc1
/dev/hdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 45e17d10:10cb40b2:e3a34893:65826590
Creation Time : Wed Apr 9 16:48:26 2003
Raid Level : raid1
Device Size : 9020352 (8.60 GiB 9.24 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Mar 25 09:32:48 2005
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : ca61086c - correct
Events : 0.62


Number Major Minor RaidDevice State
this 0 22 1 0 active sync /dev/hdc1
0 0 22 1 0 active sync /dev/hdc1
1 1 22 65 1 active sync /dev/hdd1


I also find this in /etc/

blkid.tab

<device DEVNO="0x1601" TIME="1111807319" UUID="0c850c81-d3e3-4b1b-a049-cf576a922563" SEC_TYPE="ext3" TYPE="ext2">/dev/hdc1</device>
<device DEVNO="0x1641" TIME="1111807319" UUID="0c850c81-d3e3-4b1b-a049-cf576a922563" SEC_TYPE="ext3" TYPE="ext2">/dev/hdd1</device>


rc.sysinit

echo "raidautorun /dev/md0" | nash --quiet


If I read correctly, the two member of md0 are type=ext2 but /var/log/message complains about FAT?

Again, I am in the dark here.... Any suggestions

Thanks,

Simon
 
Old 03-26-2005, 08:36 AM   #3
Astro_ortsa
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Talking Solved

OK, I think I was too tired to see the obvious, or was trying to find problem when there was none... I forgot to mount with"-t ext3". By not mounting with -t ext3, I was misleaded into weird problem solving, thinking that fedora C3 was different that redhat 8.

My data is back.

Simon
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 07:44 AM
mounting existing drive with data martli Suse/Novell 6 11-19-2005 07:48 PM
Mounting new HD space into existing mount points? GT_Onizuka Linux - Hardware 4 05-26-2004 05:15 AM
Mounting existing directory Mikhail_16 Linux - Newbie 2 11-17-2003 05:06 PM
mounting hd (fat) with existing files on it apax Linux - Newbie 2 11-05-2003 11:06 AM


All times are GMT -5. The time now is 06:47 PM.

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