Raid driver для linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Inofficial Patches for AMD RAID linux kernel modules (rcraid.ko)

License

martinkarlweber/rcraid-patches

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Inofficial Patches for AMD RAID linux kernel modules (rcraid.ko)

This is a third-party patch, it is not from AMD. AMD does not take any responsibility for this patch. Read also the contents of the file LICENSE for permissions and liability.

These patches bundle several fixes to the rcraid kernel module source code in order to make it compile under newer kernel versions than those officially supported in 2017 by AMD. It has been tested with Ubuntu 18.04, 18.10 and 19.04, but should run on other Linux flavors as well.

For a complete description of fixes, see file CHANGELOG.md.

Applying the patches is done by hand and cumbersome. A more convenient way may be to use the rcraid-dkms package from Thomas Karl Pietrowski (@thopiekar). If you still want to use this package, follow these instructions:

First download the AMD Linux RAID driver from the official AMD Raid driver page. (You need to accept the license.) Go to your download folder and unzip the downloaded file,

Download the file rcraid.patch from this repository and put it in the same folder you saved the above zip file in. Then issue

 patching file driver_sdk/install patching file driver_sdk/src/Makefile patching file driver_sdk/src/common_shell patching file driver_sdk/src/install_rh patching file driver_sdk/src/install_suse patching file driver_sdk/src/rc_init.c patching file driver_sdk/src/rc_mem_ops.c patching file driver_sdk/src/rc_msg.c patching file driver_sdk/src/uninstall_rh patching file driver_sdk/src/uninstall_suse patching file driver_sdk/uninstall 

Congratulations! You are done with patching.

Quick install instructions for Ubuntu 18.04

Читайте также:  Файлы всех пользователей linux хранятся

Download the latest Ubuntu 18.04 image, install it on a USB stick and boot it in UEFI mode (turn of CSM module in BIOS). After booting, download the official AMD RAID driver. Open a shell and follow these instructions:

 cd Downloads/ unzip raid_linux_driver_8_01_00_039_public.zip sudo apt install git git clone https://github.com/martinkarlweber/rcraid-patches.git mv rcraid-patches/rcraid.patch . rm -rf rcraid-patches/ patch -p1 < rcraid.patch cd driver_sdk/ sudo apt install build-essential sudo /bin/bash ./install sudo rmmod ahci libahci sudo modprobe rcraid dmesg | less 

If everything goes well, you will see an output similar to

 rcraid: loading out-of-tree module taints kernel. rcraid: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint rcraid: module verification failed: signature and/or required key missing - tainting kernel scsi host0: AMD, Inc. AMD-RAID scsi 0:0:0:0: Direct-Access AMD-RAID Array 01 8.1 PQ: 0 ANSI: 5 scsi 0:0:24:0: Processor AMD-RAID Configuration V1.2 PQ: 0 ANSI: 5 scsi 0:1:0:0: CD-ROM HL-DT-ST DVDRAM GH22NS50 TN03 PQ: 0 ANSI: 0 sd 0:0:0:0: Attached scsi generic sg1 type 0 sd 0:0:0:0: [sdb] 3905925120 512-byte logical blocks: (2.00 TB/1.82 TiB) sd 0:0:0:0: [sdb] Write Protect is off sd 0:0:0:0: [sdb] Mode Sense: 00 06 00 00 sd 0:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA scsi 0:0:24:0: Attached scsi generic sg2 type 3 sr 0:1:0:0: [sr0] scsi-1 drive cdrom: Uniform CD-ROM driver Revision: 3.20 sr 0:1:0:0: Attached scsi CD-ROM sr0 sr 0:1:0:0: Attached scsi generic sg3 type 5 sdb: sdb1 sdb2 sdb3 sd 0:0:0:0: [sdb] Attached SCSI disk 

About

Inofficial Patches for AMD RAID linux kernel modules (rcraid.ko)

Источник

Подсунуть драйвера raid при установке

Доброго! Была такая тема, но сабж в ней так и не раскрыт. имею Intel R1304GL4DS9, для него скачаны Intel® Embedded Server RAID Technology 2 RAID Driver для Linux нужно поднять CentOS 7. как подсунуть драйвера?

Никак, там модули (драйверы), собранные Red Hat 7, 7.1, 7.2, 7.3 и под Suse Linux Enterprise Server 12 и его обновления.

Исходников модуля (драйвера) что бы собрать его под другое ядро (другого дистрибутива) нет.

Поэтому ставь CentOS на RAID программный RAID собранные средствами mdadm.

ну нет. Только что установил на зеркале, без mdadm и никаких проблем. Единственное сервер был посвежее и производитель SuperMicro. полагаю, дело чисто в дровах

На supermicro такой же RAID?

чипсет там другой возможно, но рейд такой же, ну в смысле там тоже зеркало

Я не про зеркало / не зеркало, я про RAID контроллер.

Это неполноценный аппаратный RAID, так что ставь систему на RAID посредством mdadm.

Всё равно даже если ты создашь RAID в оболочке самого RAID контроллера ты увидишь RAID массивы в системе используя mdadm.

систему на RAID посредством mdadm

тут не совсем понял. Я понял что сначала ставим на один винт CentOS, потом устанавливаем mdadm и создаем RAID. нет?

Можно сразу создать массив и на него ставить.

Во время установки создай RAID массив и ставь на него.

подсобите с настройками BIOS, а то установщик не видит диски, только флешку с которой идет установка. «the Redhat recommendation for such things is to disable RAID mode in the controller BIOS and set it to AHCI mode» но в «Intel® Embedded Server RAID Technology II (Intel® ESRT2) uses Ctrl+E to enter the RAID BIOS console.» нет такой фичи как выбрать AHCI mode а в BIOS сервера стоит: AHCI capable SATA Controller=[AHCI] SAS/SATA Capable Controller=Intel(R) ESRT2 (LSI)

Читайте также:  Openvpn kali linux установка

Хз, читай документацию к плате, грузись в установщик CentOS или какой-нибудь Linux LiveCD и смотри увидел ли он диски подключенные к контроллеру или нет.

Может эта настройка в «Advanced options» в BIOS (UEFI).

указанные настройки как раз в эдванседе и находятся

Источник

Установка драйвера Adaptec RAID 6805 в Ubuntu 12.04

После долгих исканий в интернете, как установить драйвер для Adaptec RAID 6805 в Ubuntu 12.04 нашел выход вот здесь:

Заходим на страницу: http://www.adaptec.com/en-us/support/files/

Где, Filename: aacraid_linux_min_drivers.tgz
Password: LETTER (Все большие буквы)

Принимаем все условия и скачиваем архив.

После того как скачали, распаковываем архив:

#tar xzf aacraid_linux_min_drivers.tgz -rw-r--r-- 1 root root 13166206 сент. 3 20:37 aacraid_linux_min_drivers.tgz drwxr-xr-x 2 root root 4096 окт. 30 14:03 adaptec drwxrwxrwx 2 root root 4096 авг. 9 2013 Asianux 4.0 -older drwxrwxrwx 4 root root 4096 сент. 3 02:10 Debian drwxrwxrwx 18 root root 4096 сент. 3 01:48 RHEL CentOS drwxrwxrwx 5 root root 4096 авг. 27 23:18 Ubuntu Server drwxrwxrwx 4 root root 4096 авг. 27 02:58 Xen

Смотрим, какая версия Ubuntu стоит на сервере:

#lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise

Заходим в папку для нашей версии:

#cd Ubuntu\ Server/Ubuntu\ 12.04\ LTS/Ubuntu\ 12.04.2\ thru\ 12.04.5\ LTS/

Читаем readme файл, там все написано (Перекидывать установочный файл на флешку как написано далее не обязательно, устанавливайте его с локального диска):

Installing Ubuntu 12.04.2 or 12.04.3 or 12.04.4 or 12.04.5 LTS Server 32-bit and 64-bit on Adaptec RAID Controllers NOTE: The in-box aacraid driver V.1.2.1.28900 supports Series 2, 3, 5, 6, 7 and 8 controllers. The 1.2.1.40700 driver offers better performance. In order to upgrade, perform the full OS installation, reboot, and then follow these steps. These steps will also ensure that the new driver sticks when online updates are performed. 1. Copy "aacraid_1.2.1.40700-1_all.deb" to a USB stick. 2. Ensure that you have a connection to the Internet. 3. Install these packages: # sudo apt-get install build-essential # sudo apt-get install dkms 4. Insert the USB stick. Use # sudo fdisk -l to locate the USB device. Assuming that it is at /dev/sdb1: # sudo mount /dev/sdb1 /mnt # cd /mnt # sudo dpkg -i aacraid_1.2.1.40700-1_all.deb # sudo dkms add -m aacraid -v 1.2.1.40700 # sudo dkms build -m aacraid -v 1.2.1.40700 # sudo dkms install -m aacraid -v 1.2.1.40700 # cd / # sudo umount /mnt 5. Check the status to ensure that the module is installed: # dkms status 6. Reboot the system. 7. Perform online updates if desired. # sudo apt-get update # sudo apt-get upgrade # sudo apt-get dist-upgrade 8. Reboot the system.

После перезагрузки сервера диск с рейдмассивом появился в системе.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

AMD RAIDXpert driver as DKMS package

thopiekar/rcraid-dkms

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Читайте также:  Linux disable turbo boost

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Fix compile for `5.15.6-200.fc35.x86_64`

Git stats

Files

Failed to load latest commit information.

README.md

AMD RAIDXpert driver as DKMS package

Many AMD mainboards for the AM4 socket based on the following chipsets come with RAID support:

But this RAID mode, which needs to be set in the BIOS, requires a specific driver for each OS. There is a driver for Windows, but for Linux AMD provides either a binary blob or the sources. When following the instructions, you will need to recompile the driver and install the kernel module on each kernel update and/or upgrade. Since we are in the 21 century and we have software like DKMS, we don't need to do this manually, but let it happen automatically.

Therefore we try here to keep the code alive for many kernel versions as possible and deliver it within a PPA for Ubuntu as a DKMS package.

sudo add-apt-repository ppa:thopiekar/rcraid sudo apt-get update sudo apt-get install rcraid-dkms
  • Boot Linux in AHCI mode.
  • Append modprobe.blacklist=ahci to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
  • Run sudo update-grub
  • Restart
  • Switch to RAID mode
  • Boot your Linux installation from a RAID disk
git clone https://github.com/thopiekar/rcraid-dkms.git
  • This will compile sources and install package for current running kernel. If you need to make package for different kernel then you can use KVERS option. After installing edit /etc/mkinitcpio.conf and add

Note: If you just planning on switching to rcraid, my advice is: don't. Support from AMD for Promontory raid on Linux is pretty much non-existent. You will be way better off sticking with mdadm, zfs or lvm.

If you REALLY want this to dual-boot Linux/Win, also don't. Setting up virtualization with KVM with GPU Passtrough today is really simple, and you will not need to boot Windows directly on your hardware ever again.

Sidenote: If you decide to use rcraid regardless you might want to also install RAIDXpert. Web interface isn't working properly on Manjaro, but rcadm is more or less is.

Sidenote 2: If you ever decide to switch from rcraid to something else, you may find it useful to know that deleting arrays only removes metadata. Partitions are still there, and can be recovered with gdisk, gpart etc. I found out that offset for partitions is 1069056 sectors (512B). So if you have partition starting at usual 2048 it will be at 1071104 after array deletion.

  • To AMD to hand out the driver as source code at least. (Some history: Just think about Intel Poulsbo..)
    • https://www.amd.com/en/support/chipsets/amd-socket-am4/x370 - section Linux
    • https://github.com/martinkarlweber/rcraid-patches

    Источник

Оцените статью
Adblock
detector