Sunday Blog

人生是一场刻意练习

使用 MegaCli64 快速查看 RAID 和定位故障硬盘实践

Megacli64

DELL 通过MegaCLI提取RAID控制器日志 How to: Install LSI Command Line Tool LSI hardware RAID has a command line tool to manage RAID related commands and configuration. It is called MegaCLI. MegaCLI is available at broadcom doc downloads. Use the following to download MegaCLI: wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip Unzip the MegaCLI file: unzip 8-07-14_MegaCLI.zip cd Linux

Shell判断输入变量或者参数是否为空

Shell Judge Empty

判断变量为空 if [ ! -n "$word" ] ;then echo "you have not input a word" else echo "the word you input is $word" fi 直接判断 if [ ! "$word" ] ;then echo "you have not input a word" else echo "the word you input is $word" fi 使用test判断 if test -z "$word" ;then echo "you

Linux用户登录次数限制、开启连接超时、开启审计日志

Linux Login Limit

https://blog.csdn.net/qq_43164571/article/details/119234593?spm=1001.2014.3001.5502

LVM 逻辑卷管理配置

Lvm

前言 Logical Volume Manager (LVM),逻辑卷管理 LVM 是一个多才多艺的硬盘系统工具,无论在 Linux 或者其他类似的系统,都是非常的好用。传统分区使用固定大小分区,重新调

解决nf_conntrack: table full, dropping packet

Nf_conntrack Table Full Dropping Packet

系统连接数高的时候,机子出现掉包,查看日志发现报错,nf_conntrack: table full, dropping packet,解决办法就是调整参数 稳妥的临时处理办法: vi