On Wed, 2015-05-06 at 19:33 +0200, Luc Pionchon wrote: > On 6 May 2015 at 18:44, Viacheslav Dubeyko <slava@xxxxxxxxxxx> wrote: > > On Wed, 2015-05-06 at 11:41 +0200, Luc Pionchon wrote: > >> Hi, > >> > >> my system randomly fails to access (random) files on a HFS+ partition. > >> > >> Could anybody help me to identify the issue? > >> > >> > >> I have a HFS+ partition shared between Linux and OSX. > >> I created it with OSX Disk Utility as HFS+, Case sensitive, Not Journaled. > >> > > > > Does this partition live on HDD or SSD? > > It's a SSD > Yes, I suppose that the reason of your issue is SSD drive itself. You have very different HFS+ error messages. It looks like that you have I/O errors after trying to generate the read/write requests. I assume that your syslog contains such error messages too. And I think that it is the primary reason of the issue. My last SSD drive worked well one year only. Now I can read from partitions on device but any write operations fail. So, sometimes a SSD drive can behave itself in very tricky way. > > > Are you sure that your SSD is alive (if partition lives on SSD)? > > I do not know what means "alive". How can I check? > > The whole system is on this SSD, in a MacBook 2.1: > / and /home as ext4, linux swap, OSX partition, EFI partition, > and the faulty partition. > Usually, S.M.A.R.T should provide information about SSD drive's health. You can use smartmontools (for example, smartctl utility). But, frankly speaking, I think that it needs to treat a file system behavior in wise way for understanding a drive healthiness very frequently. If a file system emits error messages in a really crazy way then the most probable reason of an issue can be a drive itself. > > > > If you'll move partition on another device the issue will be > > reproducible? > > How can I move a partition? > You can use different specialized tools. I think you can use Gparted, dd, rsync or cpio utilities under Linux. I think you can find the description of using with tools for moving a partition in the Internet. > Would it help if I create a partition of the same type on a USB drive, > and see if I get similar errors? > > I just have another SSD, is it ok? > Or should I try to get a USB HDD? > It is possible to use any valid device. But HDD sounds as more reliable way for me. But, finally, it's up to you. Thanks, Vyacheslav Dubeyko. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html