Comments (16)
Reopening for potentially better support in the future.
from orbstack.
Experimental CLI-only support for this has been added in v0.10.0. To use it, create or edit ~/.orbstack/vmconfig.json
:
{
"data_dir": "/Volumes/.../orbstack-data"
}
Then restart OrbStack fully:
orb shutdown && orb
Let me know if you run into any issues.
from orbstack.
It's not officially supported, but you should be able to delete the data directory at ~/.orbstack/data
and symlink it to an external disk. Data will be initialized on the external disk next time it starts. The only requirement is that your disk must be formatted as APFS.
from orbstack.
Experimental CLI-only support for this has been added in v0.10.0. To use it, create or edit
~/.orbstack/vmconfig.json
:{ "data_dir": "/Volumes/.../orbstack-data" }Then restart OrbStack fully:
orb shutdown && orb
Let me know if you run into any issues.
It's not working for me. I use following commands to move OrbStack data into storage folder.
cd ~/.orbstack tar cf - data | tar -C /Volumes/Storage/OrbStack -xvf -Then edit
~/.orbstack/vmconfig.json
, add line:"data_dir": "/Volumes/Storage/OrbStack" or "data_dir": "/Volumes/Storage/OrbStack/data"
Error:
ensure VM: timed out waiting for VM to start
Please attach logs (~/.orbstack/log/vmgr.log
). Make sure you keep the JSON valid.
from orbstack.
Are any of the files in the .orbstack folder written to disk a lot like the logs? Maybe I should be moving the whole directory instead to the external drive.
My external drive follows the same directory arrangement as the internal drive.
Also, the file is 8tb, how am I supposed to move it to the external drive? My internal drive is 256gb and my external is
1tb.
@kdrag0n is this the right command?
ln -s /Volumes/drivename/Users/username/.orbstack ~/.orbstack
Or should I just move the data folder?
ln -s /Volumes/drivename/Users/username/.orbstack/data ~/.orbstack/data
from orbstack.
The latter is fine. I wouldn't recommend linking the entire .orbstack
directory.
from orbstack.
The latter is fine. I wouldn't recommend linking the entire
.orbstack
directory.
How do I move the data folder since it's 8tb, after 1 minute I filled up 96gb on my external drive. It is formatted to apfs. I know it is a sparse file but the os is moving it like a normal file if I use the mv command. If I use the gui it just throws me a no space error.
from orbstack.
@kdrag0n any update on this?
from orbstack.
macOS cp
doesn't support sparse files so you have to use tar instead:
cd ~/.orbstack
tar cf - data | tar -C /Volumes/drivename/Users/username/.orbstack -xvf -
from orbstack.
@kdrag0n so this is a copy command yeah? After that I can delete the old file as per normal and make a symlink ?
from orbstack.
Yes, as long as you make sure all your paths are correct.
from orbstack.
Experimental CLI-only support for this has been added in v0.10.0. To use it, create or edit
~/.orbstack/vmconfig.json
:{ "data_dir": "/Volumes/.../orbstack-data" }Then restart OrbStack fully:
orb shutdown && orb
Let me know if you run into any issues.
It's not working for me. I use following commands to move OrbStack data into storage folder.
cd ~/.orbstack
tar cf - data | tar -C /Volumes/Storage/OrbStack -xvf -
Then edit ~/.orbstack/vmconfig.json
, add line:
"data_dir": "/Volumes/Storage/OrbStack"
or
"data_dir": "/Volumes/Storage/OrbStack/data"
Error:
ensure VM: timed out waiting for VM to start
from orbstack.
Please attach logs (
~/.orbstack/log/vmgr.log
). Make sure you keep the JSON valid.
Yes! My fault! It's invalid JSON. I lost a comma.
Otherwise in this case, logs file in ~/.orbstack/log/vmgr.log
is empty.
from orbstack.
This solution temporary works. But after opening the settings tab in orbstack, the settings are reset without the entry "data_dir".
from orbstack.
Full support added for the next version, including GUI.
Please keep in mind that in the event of a sudden disconnection or power loss, external drives may cause irreparable data corruption if they don't implement durability-related commands (barrier, flush) correctly. Use them at your own risk.
from orbstack.
Released in v0.13.0.
from orbstack.
Related Issues (20)
- High cpu usage on scylladb on idle HOT 3
- Failed to do setup
- Ubuntu 24.04 (Noble Numbat) VM image HOT 1
- Symlinks to OrbStack's docker CLI tools are not created on restart HOT 1
- Failed to get D-Bus connection: No such file or directory HOT 2
- nixos locale issue
- Add OrbStack to PATH in non-interactive shell
- Orbstack Crash Report
- Changing WiFi network makes the services stuck HOT 3
- Unable to work with device-mapper in linux machine
- SSL Communication Between Containers
- .local domains very unreliable HOT 6
- Not Start After Crash HOT 5
- DNS fails intermittently in containers and docker linux vm HOT 2
- Unable to access AdGuard Home container via orb.local
- Different domains to different ports on the same container for ssl support
- MacOS: operation not permitted during creating linux machine HOT 2
- Repeatedly asked for allowing access for docker-credential-osxkeychain
- docker-compose.override.yml not being applied HOT 3
- Right Info Panel display working dir HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbstack.