LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-24-2009, 11:34 AM   #1
betlor5
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Problems with raid and hard drives.


Hi,

Unfortunate my nas died some time ago. Therefore I tried to restore the Date on it. It had 2x466 gb sata hard drives. I think that just the controlling chip is broken. Therefore I tried to mount it to my pc, where i tried to store the data to my external 931gb hard drive. unfortunately i ran into a bunch of problems. Currently I am using Knoppix, for rescuing my date.

My first problem is:
If I enter fdisk -l it only displays my ide harddrive, which i am using for my main operating system and one of the sata hard drives. It even does not display the external usb hard drive:

Code:
root@Microknoppix:/home/knoppix# fdisk -l

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc44ec44e

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        6527    52428096    7  HPFS/NTFS
/dev/hda2            6528       24320   142922272+   f  W95 Ext'd (LBA)
/dev/hda5            6528       24320   142922241    7  HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4ff14ff0

   Device Boot      Start         End      Blocks   Id  System
Why isn't the sda and sdc displayed? What does it mean?

My second Problem isthat that under "my documents" it displays 3 hard drives and the external hard drive.
I am allowed to access the external drive but not the three other ones: sda7, sda8, sda9.
it displays:
Code:
The name org.freedesktop.Hal was not provided by any .service files
Hwinfo --short displays:
Code:
root@Microknoppix:/home/knoppix# hwinfo --short
cpu:                                                            
                       AMD Athlon(tm) 64 X2 Dual Core Processor 4400+, 2211 MHz
                       AMD Athlon(tm) 64 X2 Dual Core Processor 4400+, 2211 MHz
keyboard:
  /dev/input/event3    AT Translated Set 2 keyboard
mouse:
  /dev/input/mice      Macintosh mouse button emulation
  /dev/input/mice      ImExPS/2 Logitech Explorer Mouse
graphics card:
                       ATI R580 [Radeon X1900 XT] (Secondary)
                       ATI R580 [Radeon X1900 XT] (Primary)
sound:
                       Creative SB0400 Audigy2 Value
                       nVidia CK804 AC'97 Audio Controller
storage:
                       Floppy disk controller
                       Silicon Image SiI 3512 SATARaid Controller
                       nVidia CK804 Serial ATA Controller
                       nVidia CK804 Serial ATA Controller
                       nVidia CK804 IDE
                       IDE interface
network:
  eth0                 nVidia CK804 Ethernet Controller
network interface:
  eth0                 Ethernet network interface
  lo                   Loopback network interface
disk:
  /dev/cloop0          Disk
  /dev/sdb             ST3500620AS
  /dev/sda             ST3500620AS
  /dev/hda             ST3200822A
partition:
  /dev/sda1            Partition
  /dev/sda2            Partition
  /dev/sda5            Partition
  /dev/sda6            Partition
  /dev/sda7            Partition
  /dev/sda8            Partition
  /dev/sda9            Partition
  /dev/hda1            Partition
  /dev/hda2            Partition
  /dev/hda5            Partition
cdrom:
  /dev/hdd             HL-DT-STDVD-ROM GDR8164B
  /dev/hdc             HL-DT-ST DVDRAM GSA-H10A
usb controller:
                       nVidia CK804 USB Controller
                       nVidia CK804 USB Controller
bios:
                       BIOS
bridge:
                       AMD K8 [Athlon64/Opteron] Miscellaneous Control
                       AMD K8 [Athlon64/Opteron] DRAM Controller
                       AMD K8 [Athlon64/Opteron] Address Map
                       AMD K8 [Athlon64/Opteron] HyperTransport Technology Configuration
                       nVidia CK804 PCIE Bridge
                       nVidia CK804 PCIE Bridge
                       nVidia CK804 PCIE Bridge
                       nVidia CK804 PCIE Bridge
                       nVidia CK804 PCI Bridge
                       nVidia CK804 ISA Bridge
hub:
                       Linux 2.6.28.4 ohci_hcd OHCI Host Controller
                       Linux 2.6.28.4 ehci_hcd EHCI Host Controller
memory:
                       Main Memory
firewire controller:
                       Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller
unknown:
                       FPU
                       DMA controller
                       PIC
                       Timer
                       Keyboard controller
  /dev/lp0             Parallel controller
                       PS/2 Controller
                       nVidia CK804 SMBus
                       nVidia CK804 Memory Controller
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
                       Unclassified device
  /dev/ttyS0           16550A
  /dev/ttyS1           16550A
which should give you all information about my pc, you need.
What is the meaning of this and how can i acces my sata hard drive?

My third problem is:
if i try to mount my working hard drive i get:
Code:
root@Microknoppix:/home/knoppix# mount /dev/hda1 /mnt/hda1 -t ntfs
NTFS signature is missing.
Failed to mount '/dev/hda1': Invalid Argument.
The device '/dev/hda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
Why does that happen and what can i do to mount other hard drive?

And finally my fourth problem:
If i enter cfdisk /dev/sda i get the following message:
Code:
                      FATAL ERROR: Cannot read disk drive
                          Press any key to exit cfdisk
cfdisk /dev/sdb
Code:
                        cfdisk (util-linux-ng 2.13.1.1)

                              Disk Drive: /dev/sdb
                       Size: 500107862016 bytes, 500.1 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 60801

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
                            Pri/Log   Free Space                      500105,25











     [  Help  ]  [  New   ]  [ Print  ]  [  Quit  ]  [ Units  ]
     [ Write  ]

                               Print help screen
cfdisk /dev/hda

Code:
                        cfdisk (util-linux-ng 2.13.1.1)

                              Disk Drive: /dev/hda
                       Size: 200049647616 bytes, 200.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 24321

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1        Boot        Primary   NTFS                             53686,41
    hda5                    Logical   NTFS             [I]            146352,41
                            Pri/Log   Free Space                           8,23









     [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
     [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                 Toggle bootable flag of the current partition
I hope this does not mean that my data on my sata drives is lost. If so is there a possibility to restore it?
Currently I am using KNOPPIX_V6.0.1CD-2009-02-08-DE.

I am thankful for any help.
betlor5
 
Old 08-24-2009, 11:59 AM   #2
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Rep: Reputation: 18
Your syntax for mounting is wrong. http://ss64.com/bash/mount.html
mount -t ntfs source destination
Some older systems may not support ntfs mounting. You may need to get a separate program installed to do the mounting, I forget the name of it but I had to use it a few weeks back for a windows partition on linux.
 
Old 08-24-2009, 02:36 PM   #3
strick1226
Member
 
Registered: Feb 2005
Distribution: CentOS, Fedora, OS X, SLES, Ubuntu
Posts: 273

Rep: Reputation: 51
You should be able to access your NTFS partitions in read-only mode, as Knoppix usually mounts them read-only by default.

It doesn't look like the NAS stored the data on your two 466 GB hard drives in a recognizable format...

You might need to repair/replace the NAS with an exact match, make- and model-wise, in order to access the data.
Worst case scenario: when your NAS "died", as you put it, it might have corrupted the drives installed in the device.
 
Old 08-24-2009, 03:22 PM   #4
betlor5
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi

I still wonder why does knoppix display
Code:
root@Microknoppix:/home/knoppix# mount -t ntfs /dev/hda1 /mnt/hda1
NTFS signature is missing.
Failed to mount '/dev/hda1': Invalid Argument.
The device '/dev/hda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
After trying to update my system with http://www.linux-ntfs.org/doku.php?id=ntfs-3g i got the following error(after using "api-get update"):
Code:
root@Microknoppix:/home/knoppix# apt-get install kernel-headers-`uname -r` fuse-source module-assistant
Reading Packet list... Done
Establishing connection tree       
Read Status-Information... Done
E: Couldn't find Paket kernel-headers-2.6.28.4
You said:
Quote:
You might need to repair/replace the NAS with an exact match, make- and model-wise, in order to access the data.
Worst case scenario: when your NAS "died", as you put it, it might have corrupted the drives installed in the device.
I wonder, because Linux is able to find the array information(I do not try to offend you with this):

Code:
root@Microknoppix:/home/knoppix# mdadm --examine --scan
ARRAY /dev/md0 level=linear num-devices=2 UUID=163218f3:299b9ccc:3c666c38:60539313
Also I remember that a command(sorry i forgot which one) I used returned that the sda hard drive is formated in ext3.

I still hope that it is possible to mount the raid with knoppix, because it is not possible to get an identical nas.
betlor5
 
  


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
Advice needed with external hard drives and RAID mguiddy Linux - General 2 09-23-2007 09:32 PM
adding new hard drives to raid on poweredge fedora_user Linux - Software 8 05-11-2007 11:48 AM
RAID, hard drives, etc mrmike Linux - Newbie 0 10-09-2004 04:08 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
Dual Boot with RAID and Two Hard Drives MoePhish Linux - Hardware 16 04-13-2003 02:22 AM


All times are GMT -5. The time now is 04:33 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