摘要: 当前系统ubuntu 22.04 当使用git-lfs 克隆一个项目的时候,会遇到执行 ls 就会非常卡。 进程见 git-lfs 有大占用,io 写入进程也见 git-lfs. 随之寻找解决方法。 见 https://github.com/git-lfs/git-lfs/issues/5310 中 阅读全文
posted @ 2024-03-22 08:52 lvusyy 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 完整报错 apt-get remove dracut Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'dracut' is not in 阅读全文
posted @ 2023-02-17 05:06 lvusyy 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 具体报错信息 status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue funct 阅读全文
posted @ 2023-02-15 23:04 lvusyy 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 查看本机dokcer ip ip a s |grep inet inet 172.20.0.1/16 brd 172.20.255.255 scope global br-6fcdfc299f7a inet6 fe80::42:35ff:fe09:c91d/64 scope link inet 17 阅读全文
posted @ 2022-11-06 11:58 lvusyy 阅读(1781) 评论(0) 推荐(0) 编辑
摘要: 方法1: #转换格式 sudo openssl x509 -outform der -in ~/Downloads/mitmproxy-ca-cert.pem -out mitmproxy-ca.crt sudo cp mitmproxy-ca-cert /usr/share/ca-certific 阅读全文
posted @ 2022-10-30 03:36 lvusyy 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 详细请参考 https://docs.oracle.com/cd/E19253-01/819-5461/gazuf/index.html zpool import zpool import -f -m poolName 阅读全文
posted @ 2022-09-30 16:57 lvusyy 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 报错大概如下; X.Org X Server 1.20.13 X Protocol Version 11, Revision 0 Build Operating System: linux Ubuntu Current Operating System: Linux research-1 5.4.0 阅读全文
posted @ 2022-07-29 04:01 lvusyy 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: 1. 思路 利用 systemd-timesyncd 服务实现 2. 实现 修改配置文件,重启服务 nano /etc/systemd/timesyncd.conf [Time] NTP=10.1.89.1 重启服务 systemctl restart systemd-timesyncd 3. 检查 阅读全文
posted @ 2022-03-01 16:52 lvusyy 阅读(2449) 评论(0) 推荐(0) 编辑
摘要: -M is for mouse events. List of Keys Collected from this source file C-<key> Hold Control + Key M-<key> Hold Meta + Key F1 F1 F2 F2 F3 F3 F4 F4 F5 F5 阅读全文
posted @ 2021-05-20 18:37 lvusyy 阅读(206) 评论(0) 推荐(0) 编辑
摘要: RSYNC 同步完成后删除源文件 Delete source after successful transfer using rsync The syntax is: rsync --remove-source-files -options /path/to/src/ /path/to/dest r 阅读全文
posted @ 2021-05-03 08:58 lvusyy 阅读(2708) 评论(0) 推荐(0) 编辑
摘要: root@h3c-i-43:~# apt update Get:1 http://10.1.89.230:89/ubuntu bionic InRelease [242 kB] Get:2 http://10.1.89.230:89/ubuntu bionic-updates InRelease [ 阅读全文
posted @ 2021-04-13 03:09 lvusyy 阅读(386) 评论(0) 推荐(0) 编辑
摘要: timedatectl set-timezone Asia/Shanghai sudo apt-get install ntpdate sudo ntpdate ntp1.aliyun.com sudo hwclock -w #将系统时钟写入硬件时钟 sudo timedatectl set-ntp 阅读全文
posted @ 2021-03-03 23:14 lvusyy 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 替换国内debian源 --可选 echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster main non-fr 阅读全文
posted @ 2021-02-13 19:34 lvusyy 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: ceph从新启动后lvm消失问题 从新启动ceph集群后 有几台机器lvm莫名消失了. 集群就炸了啊,赶紧 nodown noout norecover 一套标记走起来. vgscan pvscan 都搜不到,对应osd也起不来 [root@ceph-62 ~]# lsblk NAME MAJ:MI 阅读全文
posted @ 2021-01-23 07:06 lvusyy 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 1. 查看/var/log/install目录时间 ls -ld /var/log/installer 2. 查看分区表创建时间 sudo dumpe2fs /dev/map/ubuntu-vg--root | grep 'Filesystem created:' 阅读全文
posted @ 2021-01-06 04:52 lvusyy 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: 1. 使用bandersnatch 1. 要求pip3 自行依照系统安装 2. 安装 pip3 install bandersnatch 3. 初始化配置文件 bandersnatch mirror 4.修改配置文件 cat /etc/bandersnatch.conf|grep -v "^;"|g 阅读全文
posted @ 2020-12-19 17:32 lvusyy 阅读(2230) 评论(0) 推荐(0) 编辑
摘要: pg 不一致报错处理 1 scrub errors; Possible data damage: 1 pg inconsistent HEALTH_ERR 1 scrub errors; Possible data damage: 1 pg inconsistent OSD_SCRUB_ERRORS 阅读全文
posted @ 2020-09-05 10:33 lvusyy 阅读(2472) 评论(0) 推荐(0) 编辑
摘要: snmpwalk命令 1、snmpwalk -c public -v 1 -m ALL 10.0.1.52 .1.3.6.1.2.1.25.1 得到取得windows端的系统进程用户数等 2、snmpwalk -c public -v 1 -m ALL 10.0.1.52 .1.3.6.1.2.1. 阅读全文
posted @ 2020-08-17 22:41 lvusyy 阅读(403) 评论(0) 推荐(0) 编辑
摘要: ceph-fuse 确保挂载点是空的 需要配置文件 内核挂载 注意内核匹配 fuse 挂载 ceph-fuse /data 卸载 fusermount -uz /data/ 遇到夯主情况的卸载方法 ps -elf|grep ceph-fuse|awk '{print $4}' |xargs -i k 阅读全文
posted @ 2020-06-11 02:58 lvusyy 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 5.0的安装参考官方文档或我之前的记录 Ubuntu18.04+psq+nginx https://www.zabbix.com/download?zabbix=5.0&os_distribution=ubuntu&os_version=18.04_bionic&db=postgresql&ws=n 阅读全文
posted @ 2020-05-24 03:49 lvusyy 阅读(1180) 评论(0) 推荐(0) 编辑