LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-14-2010, 04:59 AM   #1
jakster66
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Access data on NTFS disk (Raid 5)


Hi there,

I am trying to access data that is on a Raid 5 array in Ubuntu... There are 4 installed disks (250gig disks) - 3 of which are setup as a Raid 5 array (the 4th is active but unused). These show up as one large drive (498gig).

I have had an issue with the drive where it is no longer allowing Windows to boot - I receive a disk read error on boot (so the OS does not load, obviously!) - what happened was basically I unplugged then replugged in one of the disks which affected the array... I physically reconnected everything as it was, I then had to 'reactivate' the disk in the Raid BIOS... at that point the array seemed OK, was the right size, etc (and was listed as "Optimal" in the Raid BIOS) however, the problem with the disk read error persists.

I have started the machine using Ubuntu v9.10 from a CD (non-destructive mode) and it shows a disk of the right size (ie: on the desktop and in Nautilus it says "498gig Filesystem" ). However, in Nautilus, the disk appears empty with no folders or files on it (even with hidden files shown).... If I view 'Information" for the disk it shows 67gig used space and 399gig free space (which is correct). Also, if I view the disk in Gparted, it shows a disk with about 67gig of used space and 399 free space on a 464gig disk (with 8gig unallocated).

One more thing.... when I try the command 'sudo dmraid -tay' it says that there is no raid disk (there are in fact, no drives plugged into IDE or SATA slots - all disk are plugged into the RAID controller card).

Anyway, at this stage, I just want to copy the data to a single hard disk if possible and move on.

Can anyone please advise on what I could try at this point. Hopefully, the data is not lost!

Thanks in advance for any help.

Cheers,
Jack.
 
Old 03-14-2010, 05:32 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
If the kernel recognized a raid partition, does it exist as a /dev/dm-0 (or /dev/dm-1, etc.) device. If so see if you can mount it.

Look through the boot messages and see what was printed when the raid was discovered. The dmraid command is for software raid arrays. It sounds like you are using hardware raid. Also look in /dev/mapper/.

You can use the "sudo file -s" command to examine devices. That will tell you if a filesystem is detected.
 
Old 03-14-2010, 10:28 AM   #3
jakster66
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for the response...

I think the disk exists as sda1 (as opposed to dm-X). As I mentioned, it mounts, but does not display any files or folders (although the disk info appears correct)...

I tried 'sudo file -s' but I'm not sure if I did it correctly.... (it just brought up usage instructions....??)

Anyway, I have checked the boot messages (using dmesg), and have pasted an extract below (just in case it helps!).

Thanks again for your assistance...


[ 3.462894] e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 3.557592] scsi[2]: scanning scsi channel 1 [virtual] for logical drives
[ 3.557818] scsi 2:1:0:0: Direct-Access MegaRAID LD 0 RAID5 474G 814B PQ: 0 ANSI: 2
[ 3.562015] sd 2:1:0:0: Attached scsi generic sg1 type 0
[ 3.564586] sd 2:1:0:0: [sda] 972652544 512-byte logical blocks: (497 GB/463 GiB)
[ 3.564620] sd 2:1:0:0: [sda] Write Protect is off
[ 3.564626] sd 2:1:0:0: [sda] Mode Sense: 00 00 00 00
[ 3.564648] sd 2:1:0:0: [sda] Asking for cache data failed
[ 3.564653] sd 2:1:0:0: [sda] Assuming drive cache: write through
[ 3.564852] sd 2:1:0:0: [sda] Asking for cache data failed
[ 3.564857] sd 2:1:0:0: [sda] Assuming drive cache: write through
[ 3.564864] sda: sda1
[ 3.566370] sd 2:1:0:0: [sda] Asking for cache data failed
[ 3.566377] sd 2:1:0:0: [sda] Assuming drive cache: write through
[ 3.566383] sd 2:1:0:0: [sda] Attached SCSI disk
[ 4.154621] xor: automatically using best checksumming function: pIII_sse
[ 4.172508] pIII_sse : 4553.000 MB/sec
[ 4.172512] xor: using function: pIII_sse (4553.000 MB/sec)
[ 4.175740] device-mapper: dm-raid45: initialized v0.2594b
[ 5.973074] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 6.005776] ISO 9660 Extensions: RRIP_1991A
[ 6.251316] aufs 2-standalone.tree-30-20090727
[ 6.488548] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 63.985098] udev: starting version 147
[ 66.749628] intel_rng: FWH not detected
 
  


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
Recovering Data from Remaining RAID 1 Disk nko Linux - Software 18 01-10-2016 09:43 PM
ubuntu 9.04 see my ntfs raid but i can't access it sealer2050 Linux - Newbie 1 09-06-2009 04:39 PM
Can't access ntfs raid drive jaygee02 Linux - Hardware 3 09-10-2006 10:02 PM
Help accessing data on NTFS raid array Qwindelzorf Linux - Hardware 2 01-15-2005 02:34 PM
Migration to Linux Software RAID while preserving existing ntfs data ceg4048 SUSE / openSUSE 0 11-27-2004 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:43 AM.

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