Andrew776

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Andrew776

  1. Hi, The Raspberry Pi is not the fastest thing around. My purpose was to 'slowly' sync the libraries. If a movie of, say, 2GB takes a week to sync then so what? I have one end where the target directory is a share on my Windows network and it's Ethernet connected while the other end is wifi connected and has the HDD on one of the USB ports. I have not really measured the relative speeds but transfer rates are at around 40kB per second (ADSL upload speed peaks atabout 344k where I live). hd-idle is described at http://blog.is-a-gee...ver-mit-hd-idle which is in German, but Google Chrome will translate this for you. Beware, the translation screws some of the commands up so you need to swap back and forth between the original German and the English translation. I attach the commands I used to get this working on my Pi. (No responsibility for accuracy accepted, I'm a noob to Linux.) Andrew hd-idle Commands.txt
  2. I set this up between 2 Raspberry Pi devices running Rasbpian and I now have around 200GB of movies synced between 2 locations. I live in the UK where residential ADSL speeds can be hopeless so I 'seeded' the remote on my own LAN before installing it at the remote location. Once installed at the remote end and after an initial rescan, which took a couple of days, it's all now running perfectly and syncing only changes to the files. To keep the remote host happy I added 'hd-idle' to spin down the HDD after 5 minutes and minimise power consumption. (I know, it's debatable whether this harms the HDD in the long run.). I also installed samba server at the remote end and my host is able to view the movies on the HDD from his Smart TV using its DLNA client. When either of us rips a new DVD it syncs with the 'other' end and is added to both libraries. Happy to share some more details if anyone is interested. Andrew
  3. Solved. Some digging around on the web revealed that it the issue was permissions, as I suspected. Thanks to: http://raspberrypihe...on-raspberry-pi The solution is to set permissions when mounting, not after mounting, using : sudo mount -t cifs -o user=<changeme>,password=<changeme>,rw,file_mode=0777,dir_mode=0777//<ip address>/<share> Many thanks to everyone who has helped steer me to get this resolved. Andrew
  4. Camaban, Yes, i did use sudo but got the message 'Permission denied'. I can change he permission (and owner) of the directory in /mnt but it reverts to root ownership and read-only as soon as I mount the Windows share.
  5. bobwood, I'll look into your suggestion of tuxpoldo. If everything runs as root that's a good start point, despite the risk. I'll post again if I have success. Thanks, Andrew
  6. Eddie, Yes, I'd thought of that but I'm running a number of other servers on that platform (PC backups, cloud sync, an SQL business application, ftps server) and it's only running on Intel Atom. It's the heart of the household IT network and I just thought this an ideal fit for the RPi. If I can't make it happen on the Pi then I'll try WHS and see how hot it gets. Many thanks.
  7. Chris, Told you I was a novice. I misunderstood your 3rd question. I am connecting to the share using an account that's on the Windows system. I am running the RPi as user 'pi' WHS is based on Windows Server 2003 and has a gui and feature set that looks like Windows 7 (feature set a bit reduced, understandably). It's a full member of the Windows family. Cheers, Andrew
  8. Chris H, - what permissions are set on the share in Windows? - r/w for Everyone - what permissions are set on the files in Windows? - r/w for Everyone - with which user account do you connect to the share? - pi (the default for a new install of Raspbian) (Windows share permissions are set to Everyone just for setup period, they will be locked down again once this issue is resolved)
  9. Hi, Linux novice here. I have a home network, mainly Windows. I want to share my movies library with a family member around 100 miles away. He wants to do the same with me, so we will have an identical library at each location. As more movies are ripped to a library they will sync across both libraries. Bittorrent Sync on Raspberry Pi looks ideal, I've made a start but hit a barrier. I have 2 ADSL lines at home so I've tested this across the LAN and also over the internet. Everything seems to work correctly if each library is on a drive on its RPi (USB stick). But, at both ends we have our libraries on Windows machines (for example mine's WHS 2011). Within the Windows world these shares can be read and written to. Also, I use my library with an RPi OpenElec XBMC without any issues and the share can be read and written to. I'm running Raspbian on the RPi i want to use, I have btsync running on startup and I've mounted the Windows share (as root) at /mnt/Movies. I have edited fstab to automount the share on startup. If I 'cd' to Movies and then request 'ls' I can read the contents of the library, but not write to it. I've tried to change ownership to user 'pi' and to change permissions to '777' but receive 'permission denied' messages for both requests. Trying to use the btsync web gui tells me I do not have permission to write to the share, so that's consistent. I get the feeling I'm lost in the 'permissions' area. Can anyone help please? Many thanks, Andrew