Hi, I run ubuntu server 24.04.1 LTS on my little Lenovo Thinkcentre M93p. It is used mainly for running ZoneMinder with 3 cameras. It runs perfectly well. However the internal 500 MByte SSD is small for storing camera captures so I decided to attach a 4TB WD purple through USB. The HD is put in a nice AXAGON box and connected to the USB 3 port on the server.
It connects seemingly nicely. However, something is not OK. The lsblk commands recognizes the new drive as sdb:
kapetan@serveronevallo:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 463,8G 0 part
└─ubuntu--vg-ubuntu--lv 252:0 0 463,8G 0 lvm /
sdb 8:16 0 0B 0 disk
But if I run fdisk -l, it won't see it.
And fdisk /dev/sdb gives a error message:
Welcome to fdisk (util-linux 2.39.3).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sdb: Invalid argument
What can be the problem?
By the way, dmesg seems to give the correct log:
[ 3221.340255] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 3221.340522] sd 5:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 3221.398803] sd 5:0:0:0: [sdb] Write Protect is off
[ 3221.398820] sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 3221.399045] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3221.399244] sd 5:0:0:0: [sdb] Preferred minimum I/O size 512 bytes
[ 3221.399257] sd 5:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[ 3221.399568] sd 5:0:0:0: [sdb] Attached SCSI disk
Bookmarks