#!/bin/bash

# Path: scripts/azure.sh

echo "Checking disks..."
lsblk | grep nvme

sudo mkfs.xfs -f /dev/nvme0n1

sudo mkdir -p /mnt/nvme

sudo mount /dev/nvme0n1 /mnt/nvme

sudo chown -R $USER:$USER /mnt/nvme

echo "NVMe mounted at /mnt/nvme"

df -h /mnt/nvme

# rclone sync -P --transfers=16 hetzner-box:models/Qwen3-30B-A3B-Instruct-2507 /mnt/nvme/Qwen3-30B-A3B-Instruct-2507

# rclone sync -P --transfers=16 /mnt/nvme/Qwen3-70B-Instruct-2024-12-04 hetzner-box:models/Qwen3-70B-Instruct-2024-12-04