godlie
Goto Top

3ware Raid Controller Debian

Hallo,

irgendwie bin ich gerade verwirrt, sollte eig. nicht ein Hardware Raid Controller 3Ware 9650 dem System gegenüber die Units wiedergeben und nicht die einzelnen Festplatten?
Denn interessanterweise kann ich /dev/sda1 und /dev/sdb1 ansprechen.

Hier mal der Auszug vom tw_cli:
//vroot> /c0 show

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-1    OK             -       -       -       931.312   RiW    ON
u1    RAID-1    OK             -       -       -       465.651   Ri     OFF

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u1     465.76 GB   976773168     6QG2M7HG
p1     OK               u1     698.63 GB   1465149168    5QD4T2P1
p2     OK               u0     931.51 GB   1953525168    9VP4W80X
p3     OK               u0     931.51 GB   1953525168    9VP4VA38

Wie man sehen kann 4 Festplatten aus denen 2 Units gemacht wurden.
Was jetzt aber verwirrend hinzukommt ist folgendes:
vroot:/# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x20189493.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.  


The number of cylinders for this disk is set to 121575.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sda: 999.9 GB, 999989182464 bytes
255 heads, 63 sectors/track, 121575 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x20189493

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q

vroot:/# fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 499.9 GB, 499989348352 bytes
255 heads, 63 sectors/track, 60786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00007c26

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       59572   478512058+  83  Linux
/dev/sdb2           59573       60786     9751455    5  Extended
/dev/sdb5           59573       60786     9751423+  82  Linux swap / Solaris

Command (m for help): q

vroot:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
vroot:/#

Also laut fdsik ist auf /dev/sda nix drauf aber das System bindet die sda1 ein, was aber eig. nicht stimmt da ich das System ja
auf der /dev/sdb habe.

Seh ich da was nicht oder wo kommt der dreher her?

Dank und Gruß

Content-Key: 160390

Url: https://administrator.de/contentid/160390

Printed on: April 18, 2024 at 20:04 o'clock

Member: adminst
adminst Feb 08, 2011 at 19:31:20 (UTC)
Goto Top
1. Was ist es für ein Typ
2. Ist die aktuelle Firmware drauf
3. Wieviele Platten sind am Controller und was für Arrays sind gebildet
4. Debian Version + Kernel ?
adminst
Member: Phalanx82
Phalanx82 Feb 09, 2011 at 14:29:09 (UTC)
Goto Top
Zitat von @adminst:
3. Wieviele Platten sind am Controller und was für Arrays sind gebildet

Ähh..

> //vroot> /c0 show
> 
> Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
> ------------------------------------------------------------------------------
> u0    RAID-1    OK             -       -       -       931.312   RiW    ON
> u1    RAID-1    OK             -       -       -       465.651   Ri     OFF
> 
> Port   Status           Unit   Size        Blocks        Serial
> ---------------------------------------------------------------
> p0     OK               u1     465.76 GB   976773168     6QG2M7HG
> p1     OK               u1     698.63 GB   1465149168    5QD4T2P1
> p2     OK               u0     931.51 GB   1953525168    9VP4W80X
> p3     OK               u0     931.51 GB   1953525168    9VP4VA38
> 


Zitat von @adminst:
1. Was ist es für ein Typ

Zitat von @godlie:
irgendwie bin ich gerade verwirrt, sollte eig. nicht ein Hardware Raid Controller 3Ware 9650 dem System gegenüber die Units


Frage: Kannst Du lesen?

Controller steht da und Plattenanzahl sowie Arrays ebenfalls.

Was mich eher interessiert ist, warum macht man aus einer 500GB Platte und ner 750GB Platte
ein Raid1? Würde da eher 2 gleiche Platten für her nehmen...


Mfg.
Member: godlie
godlie Feb 09, 2011 at 14:44:35 (UTC)
Goto Top
Das mit den 2 unterschiedlichen Platten war nur mal ein Test, ist schon eine 2te gleich große drinne, brauchte mal nen Satz Daten ... face-smile

Linux vroot 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010 x86_64 GNU/Linux

Gleich vorweg nein es wurde an der Configuration nichts verändert, weder neue firmware noch neuer Kernel.

Also was ich jetzt herausgefunden habe ist folgendes:
Das mir das System nicht jede Platte präsentiert, also passt das schon mir wird nur u0, u1 als sda, sdb präsentiert.