ubuntuusers.de

Raid 0 mit nvidia

Status: Ungelöst | Ubuntu-Version: Ubuntu 8.04 (Hardy Heron)
Antworten |

reinis_v

Anmeldungsdatum:
8. September 2008

Beiträge: Zähle...

Wohnort: Braugasse 5, 92712 Pirk

Hallo, habe die Frage in news.redhat.com gestellt da es scheint leider gestorben zu sein, poste ich es hier. Ich hoffe englisch ist nicht ein großes Problem, falls schon - werde ich es später übersetzen:

I am running RAID 0 on nVIDIA nForce 570-SLI with

dmraid version: 1.0.0.rc14 (2006.11.08) dmraid library version: 1.0.0.rc14 (2006.11.08)

1
2
3
$dmraid -r
/dev/sdb: nvidia, "nvidia_bafjcfea", stripe, ok, 488397166 sectors, data@ 0
/dev/sda: nvidia, "nvidia_bafjcfea", stripe, ok, 488397166 sectors, data@ 0

After successful configuration I decided to wipe my old IDE-HDD and attached it to system wrongly assuming it will be "mapped" to /dev/sdc.

Since old HDD has equal size and partition structure, stupid as I am I didnt noticed that after attaching it - mappings have changed! Old HDD became sda and two RAID HDDs became sdb and sdc respectively.

Long story short - I deleted with fdisk all partitions from sdc. And realized that I have made terrible(?) mistake only after mkfs failed to format my wiped sdc with "drive is in use" error. It was then I realized what happened.

Now, raid works as if nothing have happened and I am wondering how relevant is local partitioning information of two RAID HDDs? Or to rephraze it - is my RAID still working?

I would be grateful for any hint!

Bellow fdisk infos:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
$ fdisk /dev/mapper/nvidia_bafjcfea
Disk /dev/mapper/nvidia_bafjcfea: 500.1 GB, 500118585344 bytes
255 heads, 63 sectors/track, 60802 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xce33ce33

                      Device Boot      Start         End      Blocks Id  System
/dev/mapper/nvidia_bafjcfea1   *           1        2611    20972826 7  HPFS/NTFS
/dev/mapper/nvidia_bafjcfea2            2612        2636      200812+ 83  Linux
/dev/mapper/nvidia_bafjcfea3            2637        8862    50010345 5  Extended
/dev/mapper/nvidia_bafjcfea4            8863       60802   417208050 7  HPFS/NTFS
/dev/mapper/nvidia_bafjcfea5            2637        3158     4192933+ 82  Linux swap / Solaris
/dev/mapper/nvidia_bafjcfea6            3159        5769    20972826 83  Linux
/dev/mapper/nvidia_bafjcfea7            5770        8862    24844491 83  Linux

$ fdisk /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1bf41bf3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30401   244196001   83  Linux

$ fdisk /dev/sdb
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xce33ce33

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2611    20972826    7  HPFS/NTFS
/dev/sdb2            2612        2636      200812+  83  Linux
/dev/sdb3            2637        8862    50010345    5  Extended
/dev/sdb4            8863       60802   417208050    7  HPFS/NTFS

$ fdisk /dev/sdc
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007c16d

   Device Boot      Start         End      Blocks   Id  System

danke im voraus und MfG

reinis

Antworten |