我有一个 Seagate SCSI 磁盘,它安装在我的Kurwel 2500R采样器中,我通过计算机将文件发送到它。我在我的 Windows 机器上运行了这个系统,但我无法为 Ubuntu 12.04 正确配置它
SCSI 磁盘出现在 BIOS 和 Kurzweil 中,但我似乎无法让 Ubuntu 看到它。我使用 GParted 没有结果。SCSI 驱动器通过计算机中的 PCI 插槽连接。
lspci
SCSI 的输出是:
04:00.0 SCSI storage controller: Tekram Technology Co.,Ltd. TRM-S1040 (rev 01)
Run Code Online (Sandbox Code Playgroud)
更多信息:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 74.5G 0 disk
??sda1 8:1 0 72.5G 0 part /
??sda2 8:2 0 1K 0 part
??sda5 8:5 0 2G 0 part (in gparted this partition is unreadable)
??cryptswap1 …
Run Code Online (Sandbox Code Playgroud) 我刚刚为 Raspberry Pi ARM64 全新安装了 Ubuntu 21.10,以便尝试新版本。
执行 apt 升级并更新 iscsi 启动器名称后,我尝试运行
sudo iscsiadm --mode discovery --type sendtargets --portal 10.1.0.20
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误
iscsiadm: read error (-1/104), daemon died?
iscsiadm: Could not scan /sys/class/iscsi_transport.
libkmod: ERROR ../libkmod/libkmod-module.c:838 kmod_module_insert_module: could not
find module by name='iscsi_tcp'
iscsiadm: Could not insert module tcp. Kmod error -2
iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command.
iscsiadm: Could not perform SendTargets discovery: iSCSI driver not found. Please make sure it is …
Run Code Online (Sandbox Code Playgroud) 尝试启动 iscsitarget 服务时,我得到
致命:未找到模块 iscsi_trgt。
尝试使用来自http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs 的说明构建模块失败,构建日志中只有一行表示构建开始。与失败无关。
此问题涵盖计算机在挂起后可能立即唤醒的一个原因: 如何防止从挂起和/或休眠状态立即唤醒?
我好像有一个不同的。在 Ubuntu 11.04 - Natty Narwhal 上最近的安全补丁更新后,机器在挂起后立即唤醒。相关的日志行似乎是:
Oct 5 09:01:02 hardhat kernel: [585671.422973] PM: Syncing filesystems ... done.
Oct 5 09:01:02 hardhat kernel: [585671.475283] PM: Preparing system for mem sleep
Oct 5 09:01:02 hardhat kernel: [585671.475399] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct 5 09:01:02 hardhat kernel: [585671.490593] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct 5 09:01:02 hardhat kernel: [585671.510542] PM: Entering mem sleep
Oct 5 09:01:02 hardhat kernel: [585671.510558] Suspending console(s) …
Run Code Online (Sandbox Code Playgroud) 在 处找不到通过 iSCSI 连接的设备/dev/disk/by-path
。
它还iscsiadm
显示存在没有附加磁盘的设备:
sudo iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 2.0-873
Target: iqn.2000-08.com.datacore:win2012-2
Current Portal: 172.17.4.48:3260,1
Persistent Portal: 172.17.4.48:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:873f6f119c4
Iface IPaddress: 172.17.6.89
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 11
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
*********
Timeouts:
*********
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset …
Run Code Online (Sandbox Code Playgroud)