Create and Manage Drives
An encrypted drive is a virtual disk whose contents are encrypted with a key held by you, not by the server. A drive is not a folder in the Vault. The Vault stores individual encrypted files that you upload and download one at a time; a drive is a block device that a virtual machine mounts as an ordinary filesystem and writes to directly. Drives are the only thing that carries your data from one VM session to the next.
Why data lives on drives rather than in the VM
A virtual machine resets on every restart. tiCrypt VMs boot from a clean image, so nothing written to the guest operating system survives a shutdown. That is a deliberate defence against persistent malware, but it means a machine on its own has nowhere to keep your work. A drive is the piece that persists.
Software needs a filesystem, not a file store. Analysis tools open, seek, and append to files using ordinary system calls. They cannot work against a store that requires an explicit upload-and-download step. Mounting a drive gives applications a normal filesystem while the contents stay encrypted at rest, so no tool needs to be aware of tiCrypt at all.
The format is a permanent decision. A drive's format determines which machines can mount it: NTFS for Windows, and EXT4, BTRFS, XFS, or ZFS for Linux. You cannot reformat a drive to move it between operating systems, and NTFS drive names cannot be changed after creation because Windows BitLocker ties the encryption to the device and its name. Choose the format and the name for the machine you intend to run, not the one you are running today.
The first attached drive is special. The first drive attached to a configuration is the home drive, and it carries the VM's user database. Accounts, roles, and permissions travel with it, so moving a home drive to another configuration brings its users along. See VM Roles and Permissions.
Where drives appear inside the VM
Drives are mounted under /drives/. The first drive attached to a configuration is mounted at
/drives/drive1 and is the home drive. Every drive also carries a symlink named after the drive
itself, so a drive named lab-data is reachable at /drives/lab-data.
Numbers are assigned as drives are attached, and detaching a drive does not renumber the ones that remain. Both paths are stable, so either works in a script; prefer the name in anything you write down or share, because it says which drive you meant.
Drives can be attached to and detached from a VM while it is running. That is a different operation from editing the configuration, which requires the VM to be stopped.
This is the path that matters for any script you write. A job that writes its output anywhere
outside /drives/ writes to the guest filesystem, which is discarded when the machine stops. Batch
jobs are the common case: worker VMs are destroyed when the job ends, so results left outside
/drives/ are gone before you read them.
The mount is performed by the VM Controller at boot rather than through /etc/fstab, which is why
a drive appears without any entry in the image. The slot a drive is assigned is also shown under
Extra Drives when you create the VM.
Before you begin
- You have the Create drives and View drive keys permissions.
- You know which operating system will mount the drive, because the format cannot be changed later.
- Your team has storage quota remaining. Drive capacity is drawn from the team allocation.
Create a New Drive
Method One
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Drives section on the top left panel.
- Click the Create new drive in the top right corner.
- In the prompt, enter the drive name and capacity in GB or TB.
- Select the drive format from:
EXT4 (Linux)
BTRFS (Linux)
XFS (Linux)
ZFS (Linux)
NTFS (Windows). - Add an optional owner, team, optional project, and realm.
- Click Create.
Method Two
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, select the virtual machine to create a new drive in.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Drives section in the left panel.
- Click Attach drive(s) icon in the top panel.
- In the prompt, select Create a new drive.
- In the prompt, enter the drive name and capacity in GB or TB.
- Select the drive format from:
EXT4 (Linux)
BTRFS (Linux)
XFS (Linux)
ZFS (Linux)
NTFS (Windows). - Add an optional owner, team, optional project, and realm.
- Click Create.
- Your drive capacity depends on your allocated team resources.
- Your drive format determines what kind of VM the drive can be attached to.
- Click the Advanced options button to set the permission management status and the Cache & IO strategy for the drive.
Attach an Existing Drive to an Existing VM
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, select the virtual machine to attach the drives to.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Drives section in the left panel.
- Click Attach drive(s) icon in the top panel.
- In the prompt, select Add a new drive.
- Next, select the drive and the drive type.
- Optionally, tick the box Add drive(s) to the VM configuration and share drive(s) with co-owners.
- Click Attach and mount.
- A read-write drive can only be attached to a single VM. A read-only drive can be attached to multiple VMs.
- To automatically share the newly created or attached drive with the VM co-owners, tick Add drive(s) to the VM configuration and share drive(s) with co-owners box.
Remount an Existing Drive in an Existing VM
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, select the virtual machine to remount the drive into.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Drives section in the left panel.
- Select the drive(s) to remount.
- Click the Remount drive(s) icon in the top panel.
Mount All Existing Drives in an Existing VM
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, select the virtual machine to mount all drives into.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Drives section in the left panel.
- Click Mount all Drives icon in the top panel.
Detach a Drive from an Existing VM
- Go to the Virtual Machines icon in the top left taskbar.
- Click the Virtual Machines section on the top left panel.
- In the left panel, select the virtual machine to detach the drive from.
- Click the VM Settings and Details option in the bottom center.
- In the new window, select the Drives section in the left panel.
- From the list, select the drive you want to detach.
- Click the Open Full Menu button by the selected drive in the left panel list.
- Select Detach drive(s).
- In the prompt, click Yes to proceed.
Detaching a drive revokes user access and stops applications running from the drive.