电脑SATA接口接了两块磁盘组了RAID 0,但是驱动的关系没办法访问。
系统是安装在M.2接口的SSD上的。(SATA接口是RAID模式,M.2 接口是AHCI模式)
我在这里看到了相关驱动,但是按照说明装完也还是找不到磁盘。
https://github.com/dougrathbone/rcraid-dkms-proxmox
Installation
- Build driver for current kernel version
- download src
- run
./install## 我只执行了这个步骤 - complete changes to switch away from AHCI mode before rebooting
* Switching to RAID mode:
* Boot Linux in AHCI mode.
* Append `modprobe.blacklist=ahci` to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub ##有两个存储控制器,禁用ahci我想我电脑是没办法启动了
* Run `sudo update-grub`
* Restart
* Switch to RAID mode
* Boot your Linux installation from a RAID disk
============================这是执行install脚本的输出结果
oasis@oasis-PC:~/桌面/rcraid-dkms-proxmox-master$ sudo ./install
./install: 24: source: not found
./install: 149: [: !=: unexpected operator
ln: 无法创建符号链接'src/rcblob.i686': 文件已存在
Make kernel for 5.4.0-21-generic
make: 进入目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
make: 离开目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
make: 进入目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
------------------------------------------------------------
- building for kernel 5.4.0-21-generic
------------------------------------------------------------
make -C /lib/modules/5.4.0-21-generic/build M=/home/oasis/桌面/rcraid-dkms-proxmox-master/src modules
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-21-generic”
ln -sf `basename /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcblob.x86_64.o .o` /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcblob.x86_64.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_init.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_msg.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_mem_ops.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_event.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_config.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/vers.o
LD [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.mod.o
LD [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.ko
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-21-generic”
make: 离开目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
I: The initramfs will attempt to resume from /dev/nvme1n1p4
I: (UUID=60625281-8ebf-47ab-a1a9-fdea15707850)
I: Set the RESUME variable to override this.
Make kernel for 5.4.0-23-generic
make: 进入目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
make: 离开目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
make: 进入目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
------------------------------------------------------------
- building for kernel 5.4.0-23-generic
------------------------------------------------------------
make -C /lib/modules/5.4.0-23-generic/build M=/home/oasis/桌面/rcraid-dkms-proxmox-master/src modules
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-23-generic”
ln -sf `basename /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcblob.x86_64.o .o` /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcblob.x86_64.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_init.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_msg.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_mem_ops.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_event.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rc_config.o
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/vers.o
LD [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.mod.o
LD [M] /home/oasis/桌面/rcraid-dkms-proxmox-master/src/rcraid.ko
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-23-generic”
make: 离开目录“/home/oasis/桌面/rcraid-dkms-proxmox-master/src”
I: The initramfs will attempt to resume from /dev/nvme1n1p4
I: (UUID=60625281-8ebf-47ab-a1a9-fdea15707850)
I: Set the RESUME variable to override this.