DEV Community

Cover image for Mdadm - quick command reference
Julian
Julian

Posted on

3 1

Mdadm - quick command reference

# show sync status
cat /sys/block/md0/md/sync_action

# show sync progress
cat /proc/mdstat

# show details
mdadm --detail /dev/md0

# mark faulty
mdadm /dev/md0 -f /dev/sdc1

# remove drive
mdadm /dev/md0 -r /dev/sdc1

# readd drive
mdadm /dev/md0 -a /dev/sdc1
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay