HFS+ unable to access random files after a while
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Unknown
|
Unknown
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I have a dual boot OSX+Ubuntu on a Macbook.
The drive is a SSD.
I use a partition to share files between both.
The partition is HFS+ Non journalized Case sensitive.
It has been some weeks (months?) now that accessing some files fails.
It's only some files, not others. I see no obvious reason why these ones and not others.
Usually unmounting and remounting may give access back, but not always.
After a while again some files start to be unaccessible. Not especially the same files as earlier.
Checking the filesystem either on OSX or Ubuntu sometimes gives errors, but not always.
The type of error I get is like:
$ ls -l .
total 0
drwxr-xr-x 1 me me 14 Jun 20 13:09 originals
$ ls foo/
ls: reading directory foo/: Invalid argument
$ touch foo/bar
touch: setting times of ‘foo/bar’: Invalid argument
Or in nautilus, I get errors like
Sorry, could not display all the contents of “foo”: Error when getting information for file '/media/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-29-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: GNOME
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Sun Jun 22 14:16:35 2014
InstallationDate: Installed on 2014-06-17 (5 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
MachineType: Apple Inc. MacBook2,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.
dmi.board.
dmi.board.name: Mac-F4208CA9
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBook2,1
dmi.product.
dmi.sys.vendor: Apple Inc.
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: GNOME
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-06-17 (5 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
MachineType: Apple Inc. MacBook2,1
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: trusty
Uname: Linux 3.13.0-29-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
WifiSyslog:
_MarkForUpload: True
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.
dmi.board.
dmi.board.name: Mac-F4208CA9
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBook2,1
dmi.product.
dmi.sys.vendor: Apple Inc.
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-06-17 (5 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
MachineType: Apple Inc. MacBook2,1
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.127.2
Tags: trusty
Uname: Linux 3.13.0-29-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.
dmi.board.
dmi.board.name: Mac-F4208CA9
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBook2,1
dmi.product.
dmi.sys.vendor: Apple Inc.
some other times I can list the parent directory and some files appear with no attributes, like this:
$ ll /media/ share/foo/ abc/ share/foo/ abc/maps: Invalid argument share/foo/ abc/rewire. jpg: Invalid argument
ls: cannot access /media/
ls: cannot access /media/
d????????? ? ? ? ? ? maps
-????????? ? ? ? ? ? rewire.jpg