/disk/btrfs/filesystem
当前显示英文原文,切换到「中文」可查看译文。
filesystem
RouterOS directory reference for /disk/btrfs/filesystem.
disk/btrfs/filesystem
Conditions: !smips Syscap: storage Type: Directory
| Flag | Name | Description |
|---|---|---|
I | missing-devs | One or more devices of the file system are missing, so the file system is degraded. |
b | balancing | A balance operation is running on the file system. |
r | replacing | A device replace operation is running on the file system. |
s | scrubbing | A scrub operation is running on the file system. |
| Argument | Type | Description |
|---|---|---|
label | string | Label of the Btrfs file system, used to address the file system in the btrfs menus, for example btrfsdisk. |
default-subvolume | enum | Subvolume that is presented as the root folder of the file system in /file. <FS_ROOT> (default) is the root of the Btrfs file system itself. |
| Read-only Argument | Type | Description |
|---|---|---|
uuid | string | UUID of the Btrfs file system. |
total-devs | num | Number of devices in the file system. |
dev-ids | multi { array-id, devid: num } | Numeric device IDs of the devices in the file system; needed by replace-device when a device is missing. |
devs | multi { array-id, dev: enum } | Disk slots of the devices in the file system, for example nvme8,nvme9. |
spaces | multi { array-id, space: string } | Space allocation of the file system, per device and per storage profile (data, system, meta, global-reserve), for example data,raid1:1.07GB nvme8:1.07GB nvme9:1.07GB, used:1%. |
balance-status | string | Status of the balance operation, for example done, or an error message such as BTRFS_IOC_BALANCE_V2 failed: .... |
replace-status | string | Status of the replace or device removal operation, for example done, or an error message such as BTRFS_IOC_DEV_REPLACE failed: File exists or BTRFS_IOC_RM_DEV_V2 failed: Resource temporarily unavailable. |
scrub-status | string | Status of the scrub operation, for example done. |
write-errors | multi { snapshot: num } | Write error counters, one value per device in the file system. Reset with reset-counters. |
read-errors | multi { snapshot: num } | Read error counters, one value per device. |
flush-errors | multi { snapshot: num } | Flush error counters, one value per device. |
corruption-errors | multi { snapshot: num } | Data corruption error counters, one value per device. |
generation-errors | multi { snapshot: num } | Generation mismatch error counters, one value per device. |