Migrate from Windows to Linux

i now have a dual-boot windows 10/linux mint cinnamon machine.

i see there is a linux CLI setup for odrive, and i mostly understand how that works.

i see there was a question about using the same local odrive folder for both windows and linux here:

but my question is this… if i install the linux CLI odrive and run it in my linux system… will it attempt to download everything from the remote server(s)? that would be bad. i already have those files on a data drive, and i do not want/need them on this machine twice.

what i kinda want is for the linux odrive to pick up where the windows odrive left off. but the topic linked above suggests that is a very, very bad idea. :confused:

can anyone (hi, tony! :slight_smile: ) recommend a smoother way to migrate the odrive synch?
i guess, for now, i can just boot into windows to run the odrive synch there, and leave it off the linux. until such time as i “never” need windows again.

in my scenario, i have my Work/3D subdirectories synched to the cloud and my laptop, and they contain a LOT of blender files. i was just going to load and save those files (and create new ones) in the same directories.
maybe i need an entirely new strategy :confused:

Hi @BLR ,

Odrive won’t downloading anything by default. Everything starts as placeholder files until you decide otherwise.

If you are migrating from Windows to Linux, where you are not going to use Windows to sync anymore and just use Linux, this will actually be okay. When you setup a mount in Linux it performs an initial scan and merge, where it will compare local and remote sides in the mount relationship and determine if there are any changes to upload or download. The merge is additive for both sides, so nothing is deleted.

The issues can arise if you are continuing to actively sync the same drive with multiple sync engine instances.

gotcha, thanks so much, tony!! :slight_smile:

1 Like

heyas, tony!

you know how paranoid i am about messing stuff up :wink:

so let me know if this is correct:

1: i should turn off/uninstall odrive from windows 10

2: i should install/turn on odrive in linux mint

3: the linux odrive can still read the windows ntfs “work” directory and keep synching it (…?)

4: if/when i put odrive on my linux laptop, it will download (when i tell it to) the “work” directory onto its own ext4 drive.

…and everything will be perfectly fine? ;D

Hi @BLR ,

  1. Yes
  2. Yes. When you setup the Linux client, you will create a mount mapping. When you do this you can create a mapping that is the same as the mapping that was used in Windows. Typically this means mapping the root of your remote odrive to the odrive folder.
  3. Yes, as long as your distro can read and write to the NTFS volume.
  4. Is this a different computer than the Linux Mint one mentioned? If so, then yes, you would create a mount mapping on the Linux laptop where the remote will be the root of your odrive and the local will be a new, empty folder.

You can take a look at the docs here for more info:

1 Like