"use client" import { Card, CardContent, CardHeader, CardTitle } from "./ui/card" import { Progress } from "./ui/progress" import { Badge } from "./ui/badge" import { ResponsiveContainer, BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip } from "recharts" import { HardDrive, Database, Archive, AlertTriangle, CheckCircle, Activity } from "lucide-react" const storageData = [ { name: "Used", value: 1250, color: "#3b82f6" }, // Blue { name: "Available", value: 750, color: "#10b981" }, // Green ] const diskPerformance = [ { disk: "sda", read: 45, write: 32, iops: 1250 }, { disk: "sdb", read: 67, write: 28, iops: 980 }, { disk: "sdc", read: 23, write: 45, iops: 1100 }, { disk: "nvme0n1", read: 156, write: 89, iops: 3400 }, ] export function StorageMetrics() { return (
1.25 TB used • 750 GB available
71.2% of allocated space
Last backup: 2h ago
Average operations/sec