Skip to main content

16 docs tagged with "storage"

View all tags

Btrfs

Btrfs is a stable, copy-on-write file system with features like bitrot protection, subvolumes, and snapshots. It is available in RouterOS v7.18beta2+ with the Storage package and supports RAID configurations, subvolume management, and snapshot transfers.

Btrfs RAID

This page provides step-by-step instructions for setting up a Btrfs RAID1 array using two disks in MikroTik RouterOS, covering disk preparation, formatting, adding devices, balancing data, and ensuring consistent RAID profiles.

Btrfs subvolumes and snapshots

This page guides users through creating Btrfs subvolumes and snapshots on MikroTik RouterOS, explaining how to organize data, format disks, set up subvolumes like Documents and Photos, and create snapshots for efficient backups without duplicating data.

Disks

This page documents disk management in MikroTik RouterOS, covering storage device detection, formatting, swap space, and S.M.A.R.T. monitoring. It explains how to add external drives, manage mount points, format disks with various filesystems, and use RAID features. It also emphasizes safely ejecting disks to prevent data loss.

Encrypted storage (dm-crypt)

Encrypted storage (dm-crypt) enables transparent disk encryption using `dm_crypt` for block devices, with properties like slot name, encryption key, and backend drive. Examples show creating encrypted file systems on USB or RAID1 arrays with formatting instructions.

Files

The File menu in MikroTik RouterOS allows managing user space files, including creating/editing/deleting files and directories, viewing package details for .npk files, and storing critical files in the 'flash' directory to persist after reboot. It supports file size up to 60KB and provides warnings about RAM disk behavior, write-back caching, and compressed file storage.

iSCSI

iSCSI enables IP-based storage access with RouterOS supporting both target and initiator modes, featuring properties like iSCSI address, IQN identifiers, and configurable ports for both client and server roles.

NFS

NFS enables network directory sharing in RouterOS using NFS v4, requiring the Storage package. It uses port 2049 and includes configuration properties like nfs-address, nfs-share, and nfs-sharing. Example configurations show enabling NFS on a host device and mounting an NFS share from a Linux client.

NVMe over TCP

NVMe over TCP enables network-attached NVMe storage access for both initiators and targets, with configurable IP addresses, ports, passwords, and host-based access control. Examples demonstrate mounting a disk from a RouterOS client to a server, including Linux client setup steps.

Partitions

RouterOS allows repartitioning NAND flash on compatible devices to enable multiple OS installations with automatic fallback, ensuring system reliability during upgrades. The feature supports up to 8 partitions, requires minimum storage sizes, and includes commands for managing active partitions, cloning configurations, and restoring backups.

RAID

RAID technology in RouterOS enables data storage across multiple drives with improved performance and protection, supporting RAID levels 0,1,4,5,6, linear, and nested configurations. The page details properties like RAID type, chunk size, device count, and configuration examples for setting up RAID6.

Ramdisk

RAMdisk enables using RAM as a block device for storage, supporting RAID configurations and requiring the Storage package. It is cleared on reboot or power loss, with a configurable size via ramdisk-size property.

S.M.A.R.T. info

RouterOS now supports S.M.A.R.T. monitoring for attached storage devices, allowing users to retrieve diagnostic attributes like drive health and error rates via the `/disk smart-info` CLI command.

Setting a hot spare disk

This page explains how to configure a hot spare disk for a RAID array in RouterOS, enabling automatic rebuild on disk failure by assigning a spare disk to the RAID setup.

Storage

This page documents RouterOS storage features including disk encryption, RAID configurations, Btrfs/XFS filesystems, network protocols like iSCSI and NFS, media sharing via DLNA, file synchronization with rsync, and ROSE package enhancements for enterprise-level storage management across multiple platforms.

Tmpfs

Tmpfs enables using RAM as a filesystem, with configurable maximum size but cleared on reboot or power loss.