BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] best way to automount removable SATA drives
- Subject: [Discuss] best way to automount removable SATA drives
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Sun, 3 Jul 2016 11:36:03 -0400
- In-reply-to: <a97e5f24-3bc6-6b8c-c2d5-c995a96e7af5@gmail.com>
- References: <a97e5f24-3bc6-6b8c-c2d5-c995a96e7af5@gmail.com>
Hot plug SATA isn't intended for frequent swapping. It's there for servers that need to occasionally swap out failed devices without full shutdowns. If you intend to swap drives frequently then use USB or eSATA. These were designed with frequent swapping in mind. udev will have something to say about USB drives. It may have something to say about eSATA drives if the eSATA controller is capable of informing the kernel of changes. My N40L's controller is not so I have to tell the kernel to scan the SCSI interfaces when I swap drives: for host in /sys/class/scsi_host/*; do echo "- - -" >/sys/class/scsi_host/`basename ${host}`/scan done and to detach an eSATA device (where the device is "sdf" in this example): echo "1" >/sys/block/sdf/device/delete But for SATA drives? Just leave them plugged in with their spindown times set to something reasonable so that they aren't spinning unless they're in use (hdparm). Maybe have the backup drive mounted and unmounted explicitly by the backup system. -- Rich P.
- Follow-Ups:
- [Discuss] best way to automount removable SATA drives
- From: gaf.linux at gmail.com (Jerry Feldman)
- [Discuss] best way to automount removable SATA drives
- References:
- [Discuss] best way to automount removable SATA drives
- From: gaf.linux at gmail.com (Jerry Feldman)
- [Discuss] best way to automount removable SATA drives
- Prev by Date: [Discuss] best way to automount removable SATA drives
- Next by Date: [Discuss] Are passwords even long enough?
- Previous by thread: [Discuss] best way to automount removable SATA drives
- Next by thread: [Discuss] best way to automount removable SATA drives
- Index(es):