> [ ... ] I tried to use eSATA and ext4 first, but observed > silent data corruption and irrecoverable kernel hangs -- > apparently, SATA is not really designed for external use.
SATA works for external use, eSATA works well, but what really matters is the chipset of the adapter card. In my experience JMicron is not so good, Marvell a bit better, best is to use a recent motherboard chipset with a SATA-eSATA internal cable and bracket. >> As written that question is meaningless: despite the current >> mania for "threads"/"threadlets" a filesystem driver is a >> library, not a set of processes (all those '[btrfs-*]' >> threadlets are somewhat misguided ways to do background >> stuff). > But these threadlets, misguided as the are, do exist, don't > they? But that does not change the fact that it is a library and work is initiated by user requests which are not per-subvolume, but in effect per-volume. > I understand that qgroups is very much work in progress, but > (correct me if I'm wrong) right now it's the only way to > estimate real usage of subvolume and its snapshots. It is a way to do so and not a very good way. There is no obviously good way to define "real usage" in the presence of hard-links and reflinking, and qgroups use just one way to define it. A similar problem happens with processes in the presence of shared pages, multiple mapped shared libraries etc. > For instance, if I have dozen 1TB subvolumes each having ~50 > snapshots and suddenly run out of space on a 24TB volume, how > do I find the culprit without qgroups? It is not clear what "culprit" means here. The problem is that both hard-links and ref-linking create really significant ambiguities as to used space. Plus the same problem would happen with directories instead of subvolumes and hard-links instead of reflinked snapshots. > [ ... ] The chip is ASM1142, not Intel/AMD sadly but quite > popular nevertheless. ASMedia USB3 chipsets are fairly reliable at the least the card ones on the system side. The ones on the disk side I don't know much about. I have seen some ASMedia one that also seem OK. For the disks I use a Seagate and a WDC external box from which I have removed the original disk, as I have noticed that Seagate and WDC for obvious reasons tend to test and use the more reliable chipsets. I have also got an external USB3 dock with a recent ASMedia chipset that also seems good, but I haven't used it much. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html