How to make SATA hot plug work? #4

Open
opened 2024-03-02 17:51:59 +01:00 by Benjamin_Loison · 1 comment

It is not mounted automatically, according to df -h.

It is neither listed in fdisk -l.

I do not notice a different number of entries in /sys/class/scsi_host/ after unplugging the SATA data cable.

Note that I notice that the connected HDD is rotating.

BIOS:

image

image

Why Hot Plug disabled by default? For security?

I switched to Enabled for all slots.

It is not mounted automatically, according to `df -h`. It is neither listed in `fdisk -l`. I do not notice a different number of entries in `/sys/class/scsi_host/` after unplugging the SATA data cable. Note that I notice that the connected HDD is rotating. BIOS: ![image](/attachments/400ebe36-e7b4-45df-92b3-e3bf8a1d70c9) ![image](/attachments/5ca3139c-d7f0-4512-8471-ff2ccbab0152) Why `Hot Plug` disabled by default? For security? I switched to `Enabled` for all slots.
5.9 MiB
5.3 MiB
Author
Owner

After hot plugging:

sudo fdisk -l
Disk /dev/sda: 5,46 TiB, 6001175126016 bytes, 11721045168 sectors
Disk model: TOSHIBA HDWD260 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

nautilus and df -h do not show anything more.

umount works as expected.

After hot plugging: ```bash sudo fdisk -l ``` ``` Disk /dev/sda: 5,46 TiB, 6001175126016 bytes, 11721045168 sectors Disk model: TOSHIBA HDWD260 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes ``` `nautilus` and `df -h` do not show anything more. `umount` works as expected.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#4
No description provided.