storage-infrastructure
Use when the user asks about SAN, NAS, iSCSI, Fibre Channel, NVMe-oF, Ceph, MinIO, ZFS, RAID levels, block vs file vs object storage, SSD endurance, thin…
от j4flmao★ 47 звёзд на GitHub
Установить storage-infrastructure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Storage Infrastructure
Purpose
Design, deploy, and operate storage infrastructure for block, file, and object workloads. Cover SAN/NAS, NVMe-oF, Ceph, MinIO, CSI drivers, storage performance, and backup integration.
Agent Protocol
Trigger
Exact user phrases: "storage", "SAN", "NAS", "NVMe", "Ceph", "MinIO", "CSI", "PersistentVolume", "iSCSI", "Fibre Channel", "RAID", "ZFS", "software-defined storage", "object storage", "block storage", "file storage", "IOPS", "throughput", "latency", "fio", "iostat".
Input Context
- Workload: block (database / VM), file (NFS / SMB), or object (S3 / blob).
- Scale: number of nodes, total capacity, IOPS target.
- Connectivity: ethernet (iSCSI/NVMe-oF TCP), InfiniBand, or Fibre Channel.
- Budget: pure flash, hybrid, or HDD.
- Filesystem: XFS, ext4, ZFS, Btrfs, or CephFS.
Output Artifact
Storage architecture summary: protocol, media, RAID level, redundancy model, performance target, provisioning strategy.
Response Format
Protocol: {NVMe-oF | FC | iSCSI | NFS | SMB | S3}
Media: {NVMe | SAS SSD | SATA SSD | HDD | hybrid}
Redundancy: {RAID10 | RAID6+hot | Ceph EC | Ceph replica 3x}
Target: {IOPS ~X, throughput ~Y, latency ~Z}
No preamble. No postamble. No explanations.
Completion Criteria
- Protocol selected and justified.
- Media type and quantity specified.
- RAID or erasure coding scheme defined.
- Redundancy model with failure domain mapping.
- Performance target with benchmark results from
fio. - CSI driver configured for Kubernetes with StorageClass.
- Monitoring: capacity, performance, wear, errors.
Max Response Length
400 lines.
Quick Start
Identify workload type (DB = block NVMe-oF, app = NFS, backup = object S3) → size capacity+IOPS → select media+RAID → configure SAN/NAS or SDS (Ceph/MinIO) → provision in K8s with CSI driver → benchmark with fio → set up monitoring.
Decision Tree: Storage Protocol
| Protocol | Latency | Throughput | Use Case |
|---|---|---|---|
| NVMe-oF (TCP/RoCE/FC) | <10µs | 10+ GB/s per device | High-performance DB, VM storage |
| Fibre Channel (32/64G) | <5µs | 6.4 GB/s per link | Legacy SAN, most predictable |
| iSCSI | 100-500µs | 1-10 Gbps | Mid-range, cost-effective block |
| NFSv4 | 200-1000µs | 1-10 Gbps | File shares, home dirs, K8s PVC |
| SMB3 | 200-2000µs | 1-10 Gbps | Windows workloads, file shares |
| S3 | 5-50ms | Variable | Object storage, backup, data lake |
Protocol Selection Decision
Workload type?
├── Block (database, VM) → Latency sensitive?
│ ├── Yes (< 10µs) → NVMe-oF (RoCE or FC)
│ ├── Medium (< 500µs) → iSCSI on dedicated network
│ └── No (> 1ms) → NFS with RBD backend
├── File (NFS, SMB, home dirs) → Multi-platform access?
│ ├── Yes → NFSv4 (Linux/Unix) or SMB3 (Windows)
│ └── No → CephFS or NFSv4
└── Object (S3, backup, data lake) → S3-compatible?
├── Yes → MinIO (self-hosted) or cloud S3
└── No → Ceph RGW (S3 + Swift)
Core Workflow
Step 1: Media Selection
NVMe (U.2 / E1.S / E3.S):
Optane 905p/5800X: <10µs latency, 2.5M IOPS, endurance leader
Samsung PM9A3: 1M IOPS read, 2.5 GB/s write, 1 DWPD
Kioxia CD8P: 1M IOPS, 6.4 GB/s sequential, 1 DWPD
Solidigm D7-P5510: 1M IOPS, 7GB/s seq read, 1 DWPD
Kioxia CM7: 2.5M IOPS, 14 GB/s sequential, 3 DWPD
SAS SSD:
Samsung PM1653: 400K IOPS, 2.5 DWPD
Seagate Nytro 5050: 350K IOPS, 1 DWPD
SATA SSD:
Samsung 870 EVO: 98K IOPS read, 560 MB/s seq
Crucial MX500: 95K IOPS read, 560 MB/s
HDD:
Seagate Exos X22: 22 TB, 270 MB/s seq, 140 IOPS random
WD Gold: 22 TB, 255 MB/s seq, 130 IOPS random
Toshiba MG10: 22 TB, 260 MB/s seq, 180 IOPS random
Step 2: RAID Configuration
RAID levels:
RAID0: Striping, no redundancy — ephemeral scratch only
RAID1: Mirroring — boot drives, small DB logs (50% overhead)
RAID5: Striping + 1 parity — archive, read-heavy; NOT for writes
RAID6: Striping + 2 parity — large capacity, good for HDD
RAID10: Stripe of mirrors — DB, VMs, general purpose (best)
RAID50: RAID5 across stripes — vSAN, some legacy storage
RAID60: RAID6 across stripes — large archive (2+ parity per stripe)
# RAID10 with NVMe over JBOD
# 24 x 3.84TB NVMe → 12 mirror pairs → ~46 TB usable, 1M+ IOPS
# RAID6 with HDD over DAS
# 60 x 22TB HDD → 5 + 1 spare per shelf → 10 shelves → ~1 PB usable
Step 3: Filesystem Selection
XFS: Default RHEL/Debian, excellent parallel performance
Best for large files, good for NVMe with reflink/dedupe
mkfs.xfs -m reflink=1 -m crc=1 -d agcount=16 /dev/sda
ext4: Universal compatibility, good for boot and small deployments
mkfs.ext4 -O ^has_journal (disable journal = skip write-ahead for scratch)
mkfs.ext4 -O encrypt (native encryption)
ZFS: Checksumming, snapshots, compression, deduplication
Best for NFS/SMB, backup targe
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/ceph.md
- references/san-nas-iscsi.md
- references/snapshots.md
- references/storage-infrastructure-advanced.md
- references/storage-infrastructure-fundamentals.md
- references/storage-performance.md
- references/zfs-raid.md
FAQ
Что делает скилл storage-infrastructure?
Use when the user asks about SAN, NAS, iSCSI, Fibre Channel, NVMe-oF, Ceph, MinIO, ZFS, RAID levels, block vs file vs object storage, SSD endurance, thin provisioning, or fio benchmarks. Produces storage architecture and benchmarking plans. Not for Longhorn on Kubernetes (use longhorn) or backup policy (use backup-dr).
Как установить скилл storage-infrastructure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл storage-infrastructure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…