Highpoint RocketRAID 3540 Betriebsanweisung Seite 53

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 81
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 52
Linux Driver Support
6-6
kernel using Open Source package for RocketRAID 3540 controller.
To ensure the module has been loaded successfully, you can check the driver status
by typing in the command “cat /proc/scsi/hptiop/x”, where x is the filename you
found under /proc/scsi/hptiop/. You should see the driver banner and a list of
attached drives. You can now access the drives as a SCSI device (the first device is /
dev/sda, then /dev/sdb, etc.).
Example: You have configured a RAID 0 array using 2 disks. It will be registered to
system as device /dev/sda. You can use “fdisk /dev/sda” to create a partition on it,
which will be /dev/sda1, and use “mkfs /dev/sda1” to setup a file system on the
partition. Then you can mount /dev/sda1 to somewhere to access it.
Step 3 Configure System to Automatically Load the Driver
Most likely, you will not want to type in “insmod hptiop.o” each time you boot up the
system. Therefore you must install the module and tell the system about it. To install
the module, type in the following commands (first change directory to where the
proper hptiop.ko locates):
# cp hptiop.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi.
# depmod
Then you should inform the system load the module when system boots up with the
following command:
# echo “modprobe hptiop” > /etc/init.d/hptdriver
# chmod 755 /etc/init.d/hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc3.d/S01hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc4.d/S01hptdriver
# ln –sf /etc/init.d/hptdriver /etc/rc.d/rc5.d/S01hptdriver
Step 4 Configure System to Mount Volumes when Startup
Now you can inform the system to automatically mount the array by modifying the file
/etc/fstab. E.g. you can add the following line to tell the system to mount /dev/sda1 to
location /mnt/raid after startup:
/dev/sda1 /mnt/raid ext3 defaults 0 0
Seitenansicht 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 80 81

Kommentare zu diesen Handbüchern

Keine Kommentare