HWraid for GNU/Linux

Setting cache on RAID controller

Real RAID controllers (not those found onboard of mainboards) normally have a battery backed cache (or an ultracapacitor + flash memory "zero maintenance cache") which is used for buffering writes to improve speed. Even if it's battery backed, the individual hard disk write caches need to be turned off, as they are not protected from a powerfail and will just lose all contents in that case.

MegaCli Common Commands and Procedures


General Parameters

Adapter parameter -aN

The parameter -aN (where N is a number starting with zero or the string ALL) specifies the adapter ID. If you have only one controller it’s safe to use ALL instead of a specific ID, but you’re encouraged to use the ID for everything that makes changes to your RAID configuration.

Physical drive parameter -PhysDrv [E:S]

User tags

MODx SSD dns sysrq sublime tool CentOS search mount encrypt raid youtube vim mdadm mkfs dpkg dhclient kernel lstat iops SpamAssassin conntrack arch Adaptec nvidia backup docker-compose LVM source rsync taskset leap second noop newgrp idmapd bacula groups netfilter rtl8723be iptables OpenSSL opreport jackd sysresccd dstat SuperMicro pam ulimit ha mariadb performance gre tin exim4 Swift HDFS replication /etc/network/interfaces vtysh initrd rtsp numa bscan chromium iostat RT xhost glusterfs tar lxc flash wordpress X forwarding pvmove php corosync route virtualbox shellshock fail2ban routing oprofile bug htop tzdata raid5 alsa MegaRAID CPAN opcontrol perl xen limit_conn exim nginx ip tftp qcow2 Areca hdparm elliptics debian lts cfq alien wget gdb drupal lubuntu boot dhcp proxy cpu parallel virsh debootstrap SYN rkhunter .htaccess vrrpd swap fio bash APU slab language pulseaudio pacemaker dovecot gpg sysfs ubuntu HTTPS perlbrew etch security erase OpenStack PXE qemu PTR NFS iSCSI keyboard bind cgroups apache iowait soa git rpm build puppet ansible usb radeon xfs ipmitool apt xargs tiger vrrp asoundrc cpu usage 3Ware munin sysctl glxinfo fido7 profiling top Salt chroot ddos su sftp zRam tun cpanm storage ps AMD regex hotplug ssh LSI ardour grub arp arping freedos find shorewall centos 7 backtrace sysctl.conf quagga openvpn DRBD sg vlan video virt-install squeeze deb equalizer core dump scsi nfs4 StorMan in-addr.arpa ipmi gtk lenny firefox docker KVM mysql bridge cache java cluster bonding graylog2