LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problems with raid and hard drives. (https://www.linuxquestions.org/questions/linux-hardware-18/problems-with-raid-and-hard-drives-749903/)

betlor5 08-24-2009 11:34 AM

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

Myiagros 08-24-2009 11:59 AM

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.

strick1226 08-24-2009 02:36 PM

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.

betlor5 08-24-2009 03:22 PM

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


All times are GMT -5. The time now is 07:52 PM.