Welcome to blog.perlubantuan.com

The Journal Of A Linux Sysadmin

MDADM Cheat Sheet (2)

create a new array mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 or… mdadm -C /dev/md0 -l1 -n2 /dev/sd[ab]1 add array to the configuration file: mdadm --detail --scan >> /etc/mdadm.conf or on debian (sigh)… mdadm --detail --scan >> /etc/mdadm/mdadm.conf can only remove failed disks from an array, so fail a disk:…

How to enable write cache for 3ware Raid controller

You can check the current cache status and then enable or disable it using the 3ware command line utility tw_cli. First lets see how we can check the current status :[email protected] [~]# tw_cli info c0 Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy ------------------------------------------------------------------------------ u0    RAID-10   OK             -       -       64K     465.641   ON    …
1 2 3 25