<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>RAID on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/raid/</link><description>Recent content in RAID on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Mon, 06 Oct 2025 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/raid/atom.xml" rel="self" type="application/rss+xml"/><item><title>Performance Test of ext4, xfs, zfs, and btrfs under RAID6</title><link>https://www.chenshaowen.com/en/blog/ext4-xfs-zfs-btrfs-performance-test-in-raid6.html</link><pubDate>Mon, 06 Oct 2025 00:00:00 +0000</pubDate><atom:modified>Mon, 06 Oct 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/ext4-xfs-zfs-btrfs-performance-test-in-raid6.html</guid><description>1. Single Disk 1.1 Creating the File System Wipe the disk 1 wipefs -a /dev/nvme0n1 Format the disk 1 mkfs.xfs /dev/nvme0n1 Mount the disk 1 2 mkdir -p /mnt/nvme0n1-test mount /dev/nvme0n1 /mnt/nvme0n1-test 1.2 Performance Test 4k random write 1 2 3 4 echo 3 &amp;gt; /proc/sys/vm/drop_caches fio --name=4k_randwrite --rw=randwrite --bs=4k --ioengine=libaio --direct=1 \ --numjobs=8 --iodepth=32 --size=20G --time_based --runtime=120 --group_reporting \ --allow_mounted_write=1 --filename=/mnt/nvme0n1-test/fio-4k-randwrite.</description><dc:creator>微信公众号</dc:creator><category>Filesystem</category><category>ext4</category><category>xfs</category><category>zfs</category><category>btrfs</category><category>RAID</category><category>Storage</category><category>Performance Testing</category><category>Operations</category></item><item><title>ZFS Operations Under RAID</title><link>https://www.chenshaowen.com/en/blog/raid-zfs-operations.html</link><pubDate>Sun, 05 Oct 2025 00:00:00 +0000</pubDate><atom:modified>Sun, 05 Oct 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/raid-zfs-operations.html</guid><description>ZFS does not support online shrinking; this post focuses on operational tasks such as creating pools, replacing disks, and expanding capacity.
1. ZFS vdev Types mirror: mirroring, multiple disks hold copies of each other, equivalent to RAID 1 raidz3: triple parity, tolerates 3 disk failures raidz2: double parity, tolerates 2 disk failures, equivalent to RAID 6 raidz1: single parity, tolerates 1 disk failure, equivalent to RAID 5 striped: striping, no redundancy, equivalent to RAID 0 They can also be combined:</description><dc:creator>微信公众号</dc:creator><category>Filesystem</category><category>zfs</category><category>RAID</category><category>Storage</category><category>Operations</category></item><item><title>XFS Operations Under RAID</title><link>https://www.chenshaowen.com/en/blog/raid-xfs-operations.html</link><pubDate>Sat, 04 Oct 2025 00:00:00 +0000</pubDate><atom:modified>Sat, 04 Oct 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/raid-xfs-operations.html</guid><description>The xfs filesystem does not support shrinking. This post is mainly about disk replacement and expansion under RAID 10.
1. RAID States and Disk States In mdadm, the RAID states are:
clean, normal degraded, still readable and writable, but with reduced fault tolerance reshaping, reorganization in progress, appears during expansion and shrinking resyncing, data synchronization in progress recovering, data recovery in progress, accompanied by degradation as a disk is rebuilt failed In mdadm, the disk states are:</description><dc:creator>微信公众号</dc:creator><category>File System</category><category>xfs</category><category>RAID</category><category>mdadm</category><category>Storage</category><category>Operations</category></item><item><title>Btrfs Operations Under RAID</title><link>https://www.chenshaowen.com/en/blog/raid-btrfs-operations.html</link><pubDate>Fri, 03 Oct 2025 00:00:00 +0000</pubDate><atom:modified>Fri, 03 Oct 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/raid-btrfs-operations.html</guid><description>Btrfs supports online expansion, shrinking, disk replacement, and RAID mode conversion; this post covers creating a filesystem under RAID 0/RAID 1/RAID 10/RAID 6 topologies, adding disks, replacing disks, shrinking, and common operational tasks.
1. Btrfs Profiles single: single copy, no redundancy, works with one disk or can aggregate multiple disks.</description><dc:creator>微信公众号</dc:creator><category>Filesystem</category><category>btrfs</category><category>RAID</category><category>Storage</category><category>Operations</category></item><item><title>XFS Performance Testing Under Various RAID Levels</title><link>https://www.chenshaowen.com/en/blog/xfs-performance-test-in-various-raid.html</link><pubDate>Thu, 02 Oct 2025 00:00:00 +0000</pubDate><atom:modified>Thu, 02 Oct 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/xfs-performance-test-in-various-raid.html</guid><description>1. Disk Baseline Testing 1.1 4k Random Write 1 2 3 4 5 6 7 8 9 10 11 12 13 14 fio \ --name=4k_randwrite \ --rw=randwrite \ --bs=4k \ --ioengine=libaio \ --direct=1 \ --numjobs=8 \ --iodepth=32 \ --size=20G \ --time_based \ --runtime=120 \ --group_reporting \ --allow_mounted_write=1 \ --filename=/data1/fio-4k-randwrite.dat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 Starting 8 processes 4k_randwrite: Laying out IO file (1 file / 20480MiB) Jobs: 8 (f=8): [w(8)][100.</description><dc:creator>微信公众号</dc:creator><category>Filesystem</category><category>xfs</category><category>RAID</category><category>mdadm</category><category>Storage</category><category>Performance Testing</category></item></channel></rss>