Page 2 of 2

Re: Samba - Move directory between two discs

Posted: 26 Feb 2016, 11:25
by tukanos
Hello again robw,

could you also post your samba configuration - smb.conf and fstab? Are you by any chance using symlinks somwhere along the path?

Re: Samba - Move directory between two discs

Posted: 26 Feb 2016, 12:20
by robw
Ah tucanos, hello again too!
smb.conf.jpg
smb.conf.jpg (59.82 KiB) Viewed 5573 times
fstab.jpg
fstab.jpg (29.52 KiB) Viewed 5573 times
As you can see, the first dir to move in my pictures above is on "/home/daten/bilder" (ext3), he second is mounted as "/home/daten/backup" (ntfs).

But - I think - you are on the wrong path - since:
It's totally equal, whether I move from ext3-disc to ntfs-disc or vice versa, with or without symlinked directories or not -
I can try what I want (and I've tried a lot the last year in samba-configuration, fstab-configuration etc.!) moving a whole directory (equal with or without files in it) from one disc to another it does not do! If you stay within one disc (again: equal whether it's ext3 or ntfs) copying and moving files, whole folders and so on there isn't any problem!

Since I don't have two ext3-discs mounted, I'm sorry that can't prove moving between two ext3-discs. But I think - over samba it wold be the same prob.
And you can see: my TotalCommander solves all these probs with no complain in the same environment.

Thanks robw

Re: Samba - Move directory between two discs

Posted: 26 Feb 2016, 14:06
by Jan Rysavy
I assume the move works fine when you mount each disk as different share and move directories from one samba share to other?

In such case we know about this problem and have i on to-do list with lower priority (you are probably first Altap Salamander user how reported it).

Re: Samba - Move directory between two discs

Posted: 26 Feb 2016, 14:46
by tukanos
robw wrote:Ah tucanos, hello again too!
smb.conf.jpg
fstab.jpg
As you can see, the first dir to move in my pictures above is on "/home/daten/bilder" (ext3), he second is mounted as "/home/daten/backup" (ntfs).

But - I think - you are on the wrong path - since:
It's totally equal, whether I move from ext3-disc to ntfs-disc or vice versa, with or without symlinked directories or not -
I can try what I want (and I've tried a lot the last year in samba-configuration, fstab-configuration etc.!) moving a whole directory (equal with or without files in it) from one disc to another it does not do! If you stay within one disc (again: equal whether it's ext3 or ntfs) copying and moving files, whole folders and so on there isn't any problem!

Since I don't have two ext3-discs mounted, I'm sorry that can't prove moving between two ext3-discs. But I think - over samba it wold be the same prob.
And you can see: my TotalCommander solves all these probs with no complain in the same environment.

Thanks robw
Hi robw,
As you can see, the first dir to move in my pictures above is on "/home/daten/bilder" (ext3), he second is mounted as "/home/daten/backup" (ntfs).
I don't actually see the /home/daten/bilder (ext3) on the pictures but that does not matter. I think I got a picture of your setup.

You have two mounts /home/daten/bilder (ext3) and /home/daten/backup (NTFS) mounted under one samba share /home/daten. That should work just fine (I see the post from Jan now...so probably a bug then). (except the symlinks don't work at AS as we found out last time.)

On the side note: I wonder what happens to a symlink copied from ext3 to NTFS on samba using TC (I'm pretty sure it is not converted to a NTFS junction point which would be probably the best behaviour.

Re: Samba - Move directory between two discs

Posted: 26 Feb 2016, 14:58
by robw
Hello Jan,
yes, you're right!
Moving a disc-directory from one share to another works fine. If the disc-directory figures as a subdir on the same share, not.

Good to see, that you know the prob, unfortunately (for me) at a low prio. Since it's not really amusing to hold about five shares on three or four computers.
My Debian Jessie records nearly every day some movies from television via VideoDiskRecorder (VDR). Then I have to move their directories (including the movie itself, poster, info-text etc) to one of the attached discs. In the meantime there are three plus the backup = 4 because of big folder sizes. And that only works with TC, unfortunately not with AS.

Thanks robw