za ovaj kontroler bi trebo bit “cciss” modul u linuxu ogovoran
znaci kad pokrenes ubuntu otvoris treminal i logujes se ko root sa komandom:
sudo su -
onda pogledas dali je ucitan modul:
lsmod | grep cciss
ako ti izbaci nesto poput ovog:
lsmod |grep cciss
cciss 64456 11
onda je modul ucitan , otidji u /proc/driver/cciss :
cd /proc/driver/cciss
ls -al
tu bi trebao vidjeti nesto poput ovog:
/proc/driver/cciss# ls -al
total 0
dr-xr-xr-x 2 root root 0 2008-11-11 17:31 .
dr-xr-xr-x 3 root root 0 2008-11-11 17:31 …
-rw-r–r-- 1 root root 0 2008-11-11 17:32 cciss0
pogledas onda sadrzaj file “cciss0”:
cat cciss0
i dobit ces informacije o kontroleru , u mom slucaju to izgleda ovako:
cciss0: HP Smart Array P400 Controller
Board ID: 0x3234103c
Firmware Version: 4.12
IRQ: 1266
Logical drives: 2
Max sectors: 2048
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 24
Max # commands on controller since init: 40
Max SG entries since init: 31
Sequential access devices: 0
cciss/c0d0: 146.77GB RAID 1(1+0)
cciss/c0d1: 146.77GB RAID 1(1+0)
ovdje dole ti kaze da imam 2 array-a oba od 146.77GB i da su RAID1 i kaze ti ime device-a kojeg poslije nadjes u /dev/cciss/ :
/dev/cciss# ls -al
total 0
drwxr-xr-x 2 root root 280 2008-10-14 00:00 .
drwxr-xr-x 13 root root 4340 2008-11-07 01:58 …
brw-rw---- 1 root disk 104, 0 2008-10-14 00:00 c0d0
brw-rw---- 1 root disk 104, 1 2008-10-14 00:00 c0d0p1
brw-rw---- 1 root disk 104, 2 2008-10-14 00:00 c0d0p2
brw-rw---- 1 root disk 104, 3 2008-10-14 00:00 c0d0p3
brw-rw---- 1 root disk 104, 4 2008-10-14 00:00 c0d0p4
brw-rw---- 1 root disk 104, 5 2008-10-14 00:00 c0d0p5
brw-rw---- 1 root disk 104, 6 2008-10-14 00:00 c0d0p6
brw-rw---- 1 root disk 104, 7 2008-10-14 00:00 c0d0p7
brw-rw---- 1 root disk 104, 16 2008-10-14 00:00 c0d1
brw-rw---- 1 root disk 104, 17 2008-10-14 00:00 c0d1p1
brw-rw---- 1 root disk 104, 18 2008-10-14 00:00 c0d1p2
brw-rw---- 1 root disk 104, 19 2008-10-14 00:00 c0d1p3
kod mene to izgleda kao sto sam pastiro iznad , c0d1 je controller 0 , disk1 i ovo “p” oznacava particije znaci p1 , p2 ,p3
da bi vidio bolji pregled uradis slijedece:
fdisk -l /dev/cciss/c0d1 i dobit ces particije itd koje mozes poslije mountat u mom slucaju to izgleda ovako:
fdisk -l /dev/cciss/c0d1
Disk /dev/cciss/c0d1: 146.7 GB, 146778685440 bytes
255 heads, 32 sectors/track, 35132 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 12255 50000384 83 Linux
/dev/cciss/c0d1p2 12256 24510 50000400 83 Linux
/dev/cciss/c0d1p3 24511 24630 489600 83 Linux
voila …