我已经从 Windows 转到 Linux,并且我有一台 QNAP TR-004,它设置为 RAID5,在 Windows 上可以通过 USB-C 访问,没有任何问题。它最初是在 Windows 下设置的。
我想使用 Ubuntu 访问这些文件,但我不知道如何安装驱动器。我相信它很可能被格式化为 NTFS。当我可以访问 Windows 机器时,我会确认。
提供我所掌握的所有信息。
我正在运行 Ubuntu 22.04 LTS。
当我插入电源时,我可以看到该设备(设备 13)。
ndavie@Ubuntu21:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 007: ID 0bda:5634 Realtek Semiconductor Corp. Laptop Camera
Bus 003 Device 002: ID 32ac:0002 Framework HDMI Expansion Card
Bus 003 Device 005: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 013: ID 1c04:0013 QNAP System Inc. TR-004
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
新设备显示为 /dev/sda
ls /dev/sd*
/dev/sda
使用 lsblk 时我没有看到任何分区,但数据大约有 6TB
sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
<snip>
sda 8:0 0 5.5T 0 disk
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 931G 0 part /var/snap/firefox/common/host-hunspell
/
文件没有给我任何信息(也尝试了 sda0、sda1、sda2 [没有这样的文件])
sudo file -sL /dev/sda
/dev/sda: DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system"; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors
通过 dmsg 我发现这是最后一条记录
[275771.742873] usb 2-1: new SuperSpeed USB device number 13 using xhci_hcd
[275771.768301] usb 2-1: New USB device found, idVendor=1c04, idProduct=0013, bcdDevice=61.11
[275771.768305] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[275771.768306] usb 2-1: Product: TR-004
[275771.768307] usb 2-1: Manufacturer: QNAP Systems, Inc.
[275771.768307] usb 2-1: SerialNumber: 51323036493039303338
[275771.769038] usb-storage 2-1:1.0: USB Mass Storage device detected
[275771.769163] scsi host0: usb-storage 2-1:1.0
[275772.783388] scsi 0:0:0:0: Direct-Access QNAP TR-004 DISK00 6111 PQ: 0 ANSI: 6
[275772.783593] sd 0:0:0:0: Attached scsi generic sg0 type 0
[275772.783849] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[275772.783992] sd 0:0:0:0: [sda] 11720785920 512-byte logical blocks: (6.00 TB/5.46 TiB)
[275772.783993] sd 0:0:0:0: [sda] 4096-byte physical blocks
[275772.784280] sd 0:0:0:0: [sda] Write Protect is off
[275772.784281] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
[275772.784691] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[275772.826971] sd 0:0:0:0: [sda] Attached SCSI disk
只是为了好玩,我尝试使用 /dev/sda、sda1、sda2 进行挂载 - 但没有成功
sudo mount -t auto /dev/sda /mnt/qnap
mount: /mnt/qnap: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
sudo mount -t auto /dev/sda2 /mnt/qnap
mount: /mnt/qnap: special device /dev/sda2 does not exist.