66 articles
Knowledge Base
Storage
66 articles in the Storage category · page 1 of 3.
- Deploy Rook-Ceph on Kubernetes for cluster storage Install Rook-Ceph on Kubernetes so your pods get replicated block volumes and shared file volumes from the disks in your own nodes. You deploy the operator, build a three-node Ceph cluster, and prove a volume works.
- When to use NVMe vs SATA SSD on cloud VMs Decide between NVMe and SATA SSD on cloud VMs by matching the disk tier to how the workload issues I/O. You will confirm the choice with the queue depth and wait times the kernel reports.
- Cloudflare R2 for WordPress media vs S3 and B2 Choose Cloudflare R2, Amazon S3 or Backblaze B2 for WordPress media by egress cost and custom-domain setup, then migrate the library and verify it.
- Put large binary files under Git LFS without wrecking your repository Learn how to keep large binary files such as videos and design assets in Git LFS without bloating your repository. This guide explains how the clean and smudge filters swap each file for a small pointer file, how to set tracking patterns in .gitattributes, and how to move files already in history with git lfs migrate import. It also covers CI clones with GIT_LFS_SKIP_SMUDGE, file locking and storage quotas.
- SSD TRIM on Linux: fstrim.timer versus the discard mount option Learn how to enable SSD TRIM on Linux with fstrim.timer, and how to check with lsblk --discard that your discards still reach the drive through LUKS, LVM, mdraid and virtio. You will also see why the continuous discard mount option is rarely the right default.
- Benchmarking block storage with fio: real IOPS, throughput and tail latency How to benchmark block storage with fio on Linux — choosing the right job file for random IOPS, sequential throughput or fsync latency, bypassing the page cache with direct=1, preconditioning SSDs, and reading clat percentiles correctly.
- Mount S3 object storage with rclone mount as a systemd service Run rclone mount as a proper systemd service against an S3-compatible bucket: pick the right VFS cache mode, tune the cache flags, and write a unit that starts, stops, and unmounts cleanly.
- Replace a failed disk in an mdadm RAID array and survive the rebuild The runbook for a dead disk in a Linux mdadm array: read /proc/mdstat correctly, match the failed member to a serial number before you pull anything, clone the partition table, add the replacement, tune the resync, and reinstall the bootloader.
- Deploy VictoriaMetrics single-node as long-term storage for Prometheus remote_write Install victoria-metrics-prod as a systemd unit, size -retentionPeriod and disk from your real sample rate, wire Prometheus remote_write with queue_config you can justify, and query the result from Grafana and vmui.
- Monitor NVMe SSD wear and health with nvme-cli before a drive goes read-only How to read the NVMe SMART/health log with nvme-cli, interpret percentage_used, available_spare, media_errors and critical_warning, check Data Units Written against the rated TBW, and alert on wear thresholds so drives get replaced on schedule.
- Export block storage over iSCSI on Linux with targetcli and open-iscsi Build an iSCSI target on Linux with targetcli, connect it from an open-iscsi initiator, make the mount survive reboot, and lock the LUN down with CHAP and an initiator ACL.
- Monitor disk health with smartctl: the S.M.A.R.T. attributes that actually predict failure Which S.M.A.R.T. attributes correlate with disk failure, how to read them with smartctl on SATA, SAS and NVMe, how to run short and long self-tests, and how to configure smartd to send email when a drive degrades.
- Choose and tune the Linux I/O scheduler: none, mq-deadline, bfq and kyber How to pick a Linux I/O scheduler for NVMe, SATA SSD and spinning disks, read and set it through /sys/block, and make the choice persist with a udev rule instead of the ignored elevator= kernel parameter.
- Set up a Linux software RAID1 mirror with mdadm and replace a failed disk Build an mdadm RAID1 mirror on Linux, make it assemble at every boot, monitor it by email, and replace a failed RAID disk — with the exact commands and the output you should see.
- Consistent Backups with LVM Snapshots How to freeze a logical volume with lvcreate --snapshot, mount it read-only, back it up with rsync or tar, size the copy-on-write area correctly, and remove the snapshot — plus why a snapshot is not a backup.
- Deploying OpenEBS Mayastor with NVMe-oF on AlmaLinux 9 + k3s Install OpenEBS Mayastor on a three-node k3s cluster running AlmaLinux 9 — DiskPool layout on raw NVMe, NVMe over TCP transport, replicated StorageClass, and the verification path that catches a bad pool before it eats a workload.
- NFSv4 ACLs and permissions: making fine-grained access work end to end Configure NFSv4 ACLs on Linux, understand how POSIX mode bits and v4 ACEs interact, and avoid the "nobody:nogroup" trap that breaks ownership across the wire.
- CephFS: deploying a shared POSIX filesystem on a Ceph cluster Deploy CephFS on an existing Ceph cluster — MDS placement, data and metadata pools, kernel vs FUSE clients, quotas, and the operational tradeoffs of multi-active MDS.
- Deploying restic rest-server as a backup target on AlmaLinux 9 (production-ready) Stand up a hardened restic rest-server on AlmaLinux 9 — append-only mode, htpasswd auth, nginx + Let's Encrypt, systemd unit, retention pruning cron.
- SeaweedFS install: a Haystack-style blob store for billions of small files Install SeaweedFS — master, volume, and filer roles — for high-throughput small-file workloads where the metadata explosion of POSIX filesystems is the bottleneck.
- Installing an NFSv4 server on Ubuntu 24.04 for shared application storage Stand up an NFSv4-only server on Ubuntu 24.04 with idmapd, sec=sys, no NFSv3 baggage, and the export semantics that match what modern Linux clients actually negotiate.
- Deploying BeeGFS for HPC-style workloads on AlmaLinux 9 — management + metadata + storage + client Stand up a BeeGFS cluster on AlmaLinux 9 — management node, metadata node, two storage nodes, kernel client. Tuned for parallel-IO HPC workloads.
- Growing a Linux LVM volume without downtime A managed Linux VM is running out of disk space. Here is how to grow the underlying volume and the filesystem on top of it without an outage.
- Investigating disk I/O contention on a cloud VM A cloud VM is suddenly slow, CPU looks fine, and the application is blaming the database. Here is how to confirm whether disk I/O contention is the actual cause.