Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
topics:linux-disconnect-sata-device [2017/12/19 17:56]
orzfly created
topics:linux-disconnect-sata-device [2017/12/19 18:01] (current)
orzfly ↷ Page name changed from topics:linux-eject-sata-drive to topics:linux-disconnect-sata-device
Line 1: Line 1:
-====== Eject SATA drives in Linux ======+====== Disconnect/Eject SATA devices in Linux ======
  
-===== Eject =====+===== Disconnect =====
   - Identify the device <code>root@misaka:~# lsblk -S /dev/sdd   - Identify the device <code>root@misaka:~# lsblk -S /dev/sdd
 NAME HCTL       TYPE VENDOR   MODEL             REV TRAN NAME HCTL       TYPE VENDOR   MODEL             REV TRAN
Line 12: Line 12:
 lsblk: /dev/sdd: not a block device</code> lsblk: /dev/sdd: not a block device</code>
  
-===== Insert =====+===== Reconnect =====
   - Locate the device bus <code>root@misaka:~# grep . /sys/class/scsi_host/host*/proc_name   - Locate the device bus <code>root@misaka:~# grep . /sys/class/scsi_host/host*/proc_name
 /sys/class/scsi_host/host0/proc_name:ahci /sys/class/scsi_host/host0/proc_name:ahci
Line 48: Line 48:
   * https://unix.stackexchange.com/questions/43413/how-can-i-safely-remove-a-sata-disk-from-a-running-system/278068#278068   * https://unix.stackexchange.com/questions/43413/how-can-i-safely-remove-a-sata-disk-from-a-running-system/278068#278068
  
-{{tag>udev}}+{{tag>linux eject hotplug sata}}