Moving files or directories between Shares?

So here’s what I’m trying to accomplish:

SHARE1
-Dir1
-Dir2

SHARE2

I want to MOVE Dir2 to Share2.

Currently, the only way I see how to do this is via a copy/move command via either Finder on Mac or File Explorer under Windows – and moving the data through the Mac or PC.

This is incredibly time consuming and resource-intensive.

It would be much better if we could simply remap the pointer from SHARE1 to SHARE2, without generating any network traffic at all.

Is this possible?

Do you use DroboApps?
If so, use DrobBear to ssh into the Drobo and move everything via Linux commands.

Burl

Could you write a simple how-to for this? Some of us do not know how to ssh and move things around at the command line.

Once you install Dropbear…

Google PuTTy, which is an SSH client and just type in your DroboFS IP.

Once you have the IP, its root/root for the password/login info.

Then its all about using basic commands.

So for example

ls = Current Directory
ls – help @ prompt
cp = copy command here is an example I just did after logging in
cp – help @ prompt

Its a quick and dirty one but gives you some idea, I recommend you use the help commands to assist you further.

login as: root <== default
root@(YOUR DROBO IP) password: <== default is root

ls

Shares System lost+found swapfile

cd Shares/

ls

DIR1 DIR2 DroboApps Main

cd DIR1

ls

testfile

cd …

cd DIR2

ls

cd …

ls

DIR1 DIR2 DroboApps Main

pwd

/mnt/DroboFS/Shares

cp -R DIR1/* DIR2

ls

DIR1 DIR2 DroboApps Main

cd DIR2

ls

testfile

pwd

/mnt/DroboFS/Shares/DIR2

cd …

if you are on a Mac, you have ssh built in. Open a Terminal, type “ssh ip.of.your.drobo”, then follow the instructions above.

Just a note to these directions… cp will make a copy of everything from one share to the other and then you will need to use the ‘rm’ command to delete the files in the old share once your sure the files are safely where you want them.

There is also a ‘mv’ command (to replace the ‘cp’ command) which will move the file pointers in the FAT and is almost instant.

If your not familiar with these commands, I strongly urge you to read up on them before you attempt this!

Burl

If you are on Windows I can suggest you look at WinSCP too. It should let you SSH into your Drobo, but you can move and copy files using a windows-explorer like interface… just be very careful you only touch the files in the /mnt/DroboFS/Shares/ subdirectories… you don’t want to accidently mess with any config files.

Oh yeah good point, he did say he wanted to MOVE them not COPY them didn’t he? opps, thenn yeah mv will be much better.