Page 1 of 1
freefilesync issues
Posted: Mon Dec 29, 2014 11:38 am
by stabil133
Hello everyone. This might be a dumb questions but i'm still learning.
I have mounted my hda server as a hdd on my external ubuntu using smb credential in fstab. Everything works fine I can add or delete files no problem. But when it comes to freefilesync or any other like tools i get this bunch of errors...
Cannot write modification time of '/media/HDD/ubuntu_rsync/Pictures/'. Error Code 1: Operation not permitted (utimes)
I have checked the chown and chmod which is the server username and 775.
Please point me to the right direction. Thanks
Re: freefilesync issues
Posted: Mon Dec 29, 2014 12:23 pm
by bigfoot65
The files/directories should be owned by your first admin user:users. Have you checked the Free File Sync web site for help?
I use this app on Windows and write to my HDA with no problems. The problem you describe is likely a software issue or how you have the share mounted.
Re: freefilesync issues
Posted: Mon Dec 29, 2014 1:04 pm
by stabil133
Yes I checked file ownership on the server side and they are correct. Checking freefilesync website now. I mounted hda to my ubuntu using fstab like this //10.0.0.11/back_ups /media/HDD cifs credentials=/home/username/.smbcredentials,file$
So now i can see my hda as a regular media I can create and delete files. I'll post back when I find something in FFS website
Re: freefilesync issues
Posted: Mon Dec 29, 2014 2:54 pm
by stabil133
I'm giving up, I just can't find anything relative to my issue. If anybody got it working sync files via freefilesync in ubuntu 12.04 please post a suggestion.
Thanks
Re: freefilesync issues
Posted: Mon Dec 29, 2014 4:58 pm
by bigfoot65
The problem may be the way you have the share mounted in Ubuntu. Check out this
thread and this
one.
Re: freefilesync issues
Posted: Mon Dec 29, 2014 6:27 pm
by stabil133
Thanks a lot for the links you provided. I've tried that too. The only thing that bothers me is that when i'm mounting hda to my ubuntu in fstab i'm using hda credentials. Should I use my ubuntu credentials instead or it suppose to be like that?
Thanks.
Re: freefilesync issues
Posted: Mon Dec 29, 2014 7:04 pm
by bigfoot65
I believe it has to be the HDA credentials or it will not have full access to the drive.
EDIT: This is the line I use for mounting HDA shares in /etc/fstab of a Debian machine:
//IP_Address/Music /media/samba/Music cifs credentials=/root/.smbcredentials,rw,_netdev,uid=1000,gid=1001,iocharset=utf8,mode=0777,dir_mode=0777 0 0
Obviously the IP_Address would be the IP address of the HDA. You can have the credentials file in any directory as long as you specify it correctly here.
Re: freefilesync issues
Posted: Tue Dec 30, 2014 4:47 pm
by stabil133
Thanks.
I tried that too. Funny thing is when i lunch rsync in terminal it copies files to hda no problem. But when it comes to grsync graphical rsync it fails. Probably I ran rsync with sudo, then I suspect that would be a permission issue which I also cheked and they are all correct. I'll try to dig more into that and see if I can come up with something.
Also I've search a forum for freeing up the space on my drive1 and couldn't find any that can help me. About a week ago I started get this messages on my ubuntu "running out of space". Checked the disk analyzer, nothing useful. I have greyhole installed for storage pooling. My root hard drive is not in pool and /var/hda/files/drives/drive1 in the pool. Thing is I only have 100 of photos max on my server and it says total space is 229.1 GB and 11.7 GB of free space, how could it be? Please point me to the right direction.
Thanks again bigfoot.
Re: freefilesync issues
Posted: Tue Dec 30, 2014 8:07 pm
by bigfoot65
There must be more than just 100 photos on the drive. I would recommend you browse that drive to see what else might be taking up space.
Also execute this as root user and post results:
This will show all the partitions and how much free space remains.