Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

ls: reading directory .: Input/output error, 0.8.2 #10

Open
joseluisbz opened this issue May 11, 2017 · 0 comments
Open

ls: reading directory .: Input/output error, 0.8.2 #10

joseluisbz opened this issue May 11, 2017 · 0 comments

Comments

@joseluisbz
Copy link

I have the problem with complete post.
https://unix.stackexchange.com/questions/364330/afp-client-afpfs-ng-ls-reading-directory-input-output-error-centos-7-ma

The installation process:


$ sudo yum install fuse fuse-devel readline-devel libgcrypt-devel gmp-devel
$ wget https://raw.githubusercontent.com/simonvetter/afpfs-ng/master/afpfs-ng-0.8.2.tar.gz
$ tar -xvf afpfs-ng-0.8.2.tar.gz  
$ cd afpfs-ng/
$ ./configure && make && sudo make install && sudo ldconfig

Testing with mount_afp and ls

# mount_afp afp://theUser:[email protected]/ADATAHD /media/AFP_ADATAHD
The afpfs daemon does not appear to be running for uid 0, let me start it for you
Mounting 192.168.0.14 from ADATAHD on /media/AFP_ADATAHD
Mounting of volume ADATAHD of server theUser MacBook succeeded.


# ls -al /media/AFP_ADATAHD/SoftwareDownloads/WIN/
ls: reading directory /media/AFP_ADATAHD/SoftwareDownloads/WIN/: Input/output error
total 213
drwx------ 28 root root     908 May 10 09:21 .
drwxr-xr-x  9 root root     262 May 10 09:20 ..
drwxr-xr-x  3 root root      58 Apr 24 17:15 7ULive
-rw-r--r--  1 root root 1735400 Apr 24 09:52 adksetup.exe
-rwx------  1 root root      94 May 10 09:21 .directory
-rwx------  1 root root   10244 May 10 09:20 .DS_Store

LISTING AFP DIRECTORY ON MACOS SIDE!


# ls -al /Volumes/ADATAHD/SoftwareDownloads/WIN/
total 8756680
drwx------  28 _unknown  _unknown         952 May 10 14:21 .
drwxr-xr-x   9 _unknown  _unknown         306 May 10 14:20 ..
-rwx------@  1 _unknown  _unknown       10244 May 10 14:20 .DS_Store
-rwx------   1 _unknown  _unknown          94 May 10 14:21 .directory
drwxr-xr-x   3 _unknown  _unknown         102 Apr 24 22:15 7ULive
-rwx------   1 _unknown  _unknown    20903280 Sep  2  2016 BCompare-4.1.8.21575.exe
-rw-r--r--@  1 _unknown  _unknown       28268 Mar 19 22:13 C9E72A428218A05F34C66182511C5C48EA015FD0.torrent
-rwx------@  1 _unknown  _unknown     9367104 Oct  2  2016 ConnectToWindowsFromMAC - RDC_2.1.1_ALL.dmg
drwxrwxrwx   3 _unknown  _unknown         102 Mar 29 07:32 Development
drwxrwxrwx   7 _unknown  _unknown         238 Apr 30 21:18 GRTMPVOL_ES_ISO
drwx------   8 _unknown  _unknown         272 Sep  3  2016 KMSpico 10.2.0 FINAL
drwxrwxrwx   4 _unknown  _unknown         136 Apr 25 19:09 Microsoft Office 2016 VL ProPlus Spanish (x86-x64) March 2016
drwxr-xr-x   7 _unknown  _unknown         238 Mar 20 17:10 Nitro 11.0.3.17
drwx------   8 _unknown  _unknown         272 Oct  5  2016 Nitro Pro 10.5.9.9 ES
drwx------  13 _unknown  _unknown         442 Mar 26 21:14 Office 2016
-rwx------@  1 _unknown  _unknown    53118336 Aug 31  2016 Open-Sankore_Windows_2.5.1.zip
-rwx------   1 _unknown  _unknown    11304960 Sep 10  2016 SmartView.msi
drwxr-xr-x   4 _unknown  _unknown         136 May  1 13:12 WIN XP SP3
-rw-r--r--   1 _unknown  _unknown  3170525184 Apr 30 00:20 WINVISTA SP2 32 Bit.www.auyanet.net.iso
drwx------  19 _unknown  _unknown         646 Mar 29 11:53 Windows 10 Enterprise
drwx------  21 _unknown  _unknown         714 Apr 24 00:04 Windows Programas
-rw-r--r--   1 _unknown  _unknown   569790128 Apr 30 21:47 Windows XP SP3 Original.rar
-rw-r--r--   1 _unknown  _unknown     1735400 Apr 24 14:52 adksetup.exe
-rw-r--r--   1 _unknown  _unknown          26 Apr 24 14:52 adksetup.exe:Zone.Identifier
-rwx------@  1 _unknown  _unknown    77404656 Sep  6  2016 gimp-2.8.18-setup.exe
-rwx------@  1 _unknown  _unknown   203084344 Oct  4  2016 jdk-8u101-windows-x64.exe
-rwx------@  1 _unknown  _unknown   230883184 Oct  4  2016 netbeans-8.2-windows.exe
-rw-r--r--@  1 _unknown  _unknown   135240048 Apr 24 00:25 serviio-1.8-win-setup.exe

Testing with Samba


$ sudo mkdir /media/SMB_ADATAHD
$ sudo mount.cifs //192.168.0.14/ADATAHD /media/SMB_ADATAHD -o username=theUser,password=thePassword,domain=BZ,rw


# ls -al /media/SMB_ADATAHD/SoftwareDownloads/WIN/
total 4378504
drwx------ 29 nobody nobody          0 May 10 23:58 .
drwxr-xr-x  9 nobody nobody          0 May 10 14:20 ..
drwxr-xr-x  3 nobody nobody          0 Apr 24 22:15 7ULive
-rw-r--r--  1 nobody nobody    1735400 Apr 24 14:52 adksetup.exe
-rw-r--r--  1 nobody nobody         26 Apr 24 14:52 adksetup.exe:Zone.Identifier
-rwx------  1 nobody nobody   20903280 Sep  2  2016 BCompare-4.1.8.21575.exe
-rw-r--r--  1 nobody nobody      28268 Mar 19 22:13 C9E72A428218A05F34C66182511C5C48EA015FD0.torrent
-rwx------  1 nobody nobody    9367104 Oct  2  2016 ConnectToWindowsFromMAC - RDC_2.1.1_ALL.dmg
drwxrwxrwx  3 nobody nobody          0 Mar 29 07:32 Development
-rwx------  1 nobody nobody         94 May 10 14:21 .directory
-rwx------  1 nobody nobody      10244 May 10 14:20 .DS_Store
-rwx------  1 nobody nobody   77404656 Sep  6  2016 gimp-2.8.18-setup.exe
drwxrwxrwx  7 nobody nobody          0 Apr 30 21:18 GRTMPVOL_ES_ISO
-rwx------  1 nobody nobody  203084344 Oct  4  2016 jdk-8u101-windows-x64.exe
drwx------  8 nobody nobody          0 Sep  3  2016 KMSpico 10.2.0 FINAL
drwxrwxrwx  4 nobody nobody          0 Apr 25 19:09 Microsoft Office 2016 VL ProPlus Spanish (x86-x64) March 2016
-rwx------  1 nobody nobody  230883184 Oct  4  2016 netbeans-8.2-windows.exe
drwxr-xr-x  7 nobody nobody          0 Mar 20 17:10 Nitro 11.0.3.17
drwx------  8 nobody nobody          0 Oct  5  2016 Nitro Pro 10.5.9.9 ES
drwx------ 13 nobody nobody          0 Mar 26 21:14 Office 2016
-rwx------  1 nobody nobody   53118336 Aug 31  2016 Open-Sankore_Windows_2.5.1.zip
-rw-r--r--  1 nobody nobody  135240048 Apr 24 00:25 serviio-1.8-win-setup.exe
-rwx------  1 nobody nobody   11304960 Sep 10  2016 SmartView.msi
-rw-r--r--  1 nobody nobody     165754 May 11 07:43 testdisk.log
drwx------ 19 nobody nobody          0 Mar 29 11:53 Windows 10 Enterprise
drwx------ 21 nobody nobody          0 Apr 24 00:04 Windows Programas
-rw-r--r--  1 nobody nobody  569790128 Apr 30 21:47 Windows XP SP3 Original.rar
-rw-r--r--  1 nobody nobody 3170525184 Apr 30 00:20 WINVISTA SP2 32 Bit.www.auyanet.net.iso
drwxr-xr-x  4 nobody nobody          0 May  1 13:12 WIN XP SP3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant