> ## Documentation Index
> Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# File storage

File storage is a high-performance, persistent storage solution for bare metal servers on the Latitude.sh platform. It provides scalable storage that ensures data is retained across reboots, making it ideal for workloads requiring long-term data management and flexibility.

File storage is optimized for fast access and seamless integration, offering a reliable way to manage data-intensive applications.

<Warning>
  File storage is in private preview. [Request access](https://www.latitude.sh/dashboard/storage).
</Warning>

### Creating a filesystem

<Steps>
  <Step title="Create a filesystem">
    Log in to the Latitude.sh dashboard and navigate to **Storage** > **File
    storage** in the sidebar. Click **Create filesystem**, specify the name of
    your filesystem and click **Create**.
  </Step>
</Steps>

<img src="https://mintcdn.com/latitudesh/jTa6J8Hv5F4W4vnJ/images/product/24.Docs25Q4.Filesystem.png?fit=max&auto=format&n=jTa6J8Hv5F4W4vnJ&q=85&s=3044878290f1e179f1ac5fb08c83d8b9" alt="File storage management page" width="1656" height="866" data-path="images/product/24.Docs25Q4.Filesystem.png" />

### Attaching storage to a server

<Steps>
  <Step title="Connect filesystem to server">
    From the Latitude.sh [dashboard](https://www.latitude.sh/dashboard), navigate to **Bare metal** and go to **Storage**. Click **Connect to bare metal** and copy the code shown.

    Log in through SSH to the server you want to attach the filesystem to and paste the code you just copied. When prompted, enter the directory where you want to mount the filesystem.
  </Step>
</Steps>

<img src="https://mintcdn.com/latitudesh/jTa6J8Hv5F4W4vnJ/images/product/25.Docs25Q4.FStoVolume.png?fit=max&auto=format&n=jTa6J8Hv5F4W4vnJ&q=85&s=4c82f8a95c9203bed8e395a64e2bcf1a" alt="Attaching filesystem to volume" width="2940" height="1450" data-path="images/product/25.Docs25Q4.FStoVolume.png" />

<Info>
  By default, only `root` and `storage-users` can write to the filesystem. If
  needed, you can give others write access by using ` sudo usermod -aG
      storage-users [username]`
</Info>

### Pricing

Storage is priced based on provisioned capacity. Find more information on the pricing page.
