Casey Bralla on 13 May 2013 17:16:40 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] More NAS not-fun


Are you my any chance running a wireless connection via the USB port? I tried that it it bogged down the Pi to the point of uselessness. Connecting via wired ethernet was OK, though.

 

 

 

On Monday 2013-05-13 7:54:18 PM Adam Zion wrote:

The brilliant plan to create a Raspberry Pi NAS isn't so brilliant after all. OK, I got the permissions issue sorted- for some reason which I am completely unable to fathom, permissions for files in the /media/drive1/adam directory were assigned to ilana instead. No clue why- adam owned the directory, etc. I sorted that by first deleting all accounts- linux and samba- then recreated my account 100% before adding my wife's.


Now, the problem could be more troublesome: copying files from /media/drive1 to /media/drive2, whether with rsync or simple cp -r, is killing the mount. The xcopy/cp job runs for 1 min. or so, and then dies, with broken pipe errors galore. After the xcopy/cp crashes, the mount it self is hosed- still mounted, but unusable (i/o error when you try to ls). I need to first umount and then mount -a to try again.

Here, FWIW, is the response when I run rsync manually (as opposd to as a cron job):

root@raspberrypi:~# sudo rsync -av --delete /media/drive1/adam /media/drive2/adam --timeout=10
sending incremental file list
adam/
deleting adam/.C82UYML.exe.MG854X
adam/C82UYML.exe
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/media/drive2/adam/adam/C82UYML.exe": Read-only file system (30)
rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.9]
rsync: recv_generator: mkdir "/media/drive2/adam/adam/Mobipocket Books/--9th/BBCN05 - Only Human (Gareth Roberts) (v1.1) (html)" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/media/drive2/adam/adam/Mobipocket Books/--9th/BBCN06 - The Stealers of Dreams (Steve Lyons) (v2.0) (html)" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/media/drive2/adam/adam/Mobipocket Books/--9th/The Feast of the Stone" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/media/drive2/adam/adam/Mobipocket Books/--BBC" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/media/drive2/adam/adam/Mobipocket Books/--Classic" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: connection unexpectedly closed (32 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]


--
Adam+Zion, MSIS, MCSE+I
Registered Linux User #471910
LinkedIn Profile: http://www.linkedin.com/in/azion1995



--

 

Casey Bralla

 

Chief Nerd in Residence

The NerdWorld Organisation

http://www.NerdWorld.org

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug