Re: No I/O errors reported after SATA link hard reset

2017-08-27 Thread Gionatan Danti
Il 26-08-2017 22:58 sonofa...@openmailbox.org ha scritto: Hello guys, this is a very interesting thread but I will join it tomorrow! I have read a similar discussion for SSDs some time ago. That took place here [1]. Corruption of such devices can lead to complete data loss and not just

Re: No I/O errors reported after SATA link hard reset

2017-08-17 Thread Gionatan Danti
Il 17-08-2017 16:46 Tejun Heo ha scritto: Upper layer can request to avoid retrying on errors but it won't help too much. It doesn't have much to do with specific commands. A power event can take place without any command in flight and lose the buffered data. Unless upper layer is tracking

Re: No I/O errors reported after SATA link hard reset

2017-08-17 Thread Gionatan Danti
Hi Bernd, Il 17-08-2017 15:18 Bernd Schubert ha scritto: So for Gionatan the root cause was an instable power supply, but in my case there wasn't any power loss, there were just failed sata commands. I tried many times to replicate the error by briefly disconnecting/reconnecting the SATA

Re: No I/O errors reported after SATA link hard reset

2017-08-17 Thread Gionatan Danti
Hi Tejun, Il 17-08-2017 14:48 Tejun Heo ha scritto: Recovered errors aren't reported as IO errors and at least from link state proper there's no way for the driver to tell apart link glitches and buffer-erasing power issues. Ok, so *this* is the root cause of the problem: libata not

No I/O errors reported after SATA link hard reset

2017-08-16 Thread Gionatan Danti
Hi list, some time ago, I had a filesystem corruption on a simple, two disks RAID1 MD array. On the affected machine, /var/log/messages shown some "failed command: WRITE FPDMA QUEUED" entries, but *no* action (ie: kick off disk) was taken by MDRAID. I tracked down the problem to an instable

Re: Limit max concurrent sessions

2015-09-27 Thread Gionatan Danti
Il 23-09-2015 17:18 Emmanuel Florac ha scritto: Use XFS. XFS won't let you mount it several time on different machines without various "force" options. Alternatively, use a cluster-aware FS like ocfs2. Ocfs2 is quite easy to set up. Thank you for the suggestion. Unfortunately, due to specific

Re: Limit max concurrent sessions

2015-09-23 Thread Gionatan Danti
Hi all, anyone with some ideas / infos ? Thanks. On 06/05/15 17:36, Gionatan Danti wrote: Hi all, I would like to understand if, and how to, limit the maximum number of simultaneous connections to a specific LUN, both with the old iSCSI stack (tgtadmin and friends) and the new one (targetcli