摘要: 需求是这样的,一台debian10的服务器是480G系统盘(SSD Raid1),除了swap分区外,整个系统在统一根分区下,现在需要扩大空间,迁移到4TB的硬盘。 问题在于当初因为空间比较小,所以使用的是MBR分区(最大支持2.2TB硬盘),现在需要改用GPT分区。引导方式也从传统BIOS改为UE 阅读全文
posted @ 2025-09-04 12:08 羊望星空 阅读(25) 评论(0) 推荐(0)
摘要: lspci | grep -i nvidia 阅读全文
posted @ 2023-10-13 12:08 羊望星空 阅读(249) 评论(0) 推荐(0)
摘要: docker exec -it $(docker start container_name) cmd 阅读全文
posted @ 2023-02-17 17:31 羊望星空 阅读(33) 评论(0) 推荐(0)
摘要: 1 安装xfce4 sudo apt install xfce4 xfce4-goodies ssh安装什么都不会弹出。 2 安装tigervnc sudo apt install tigervnc-standalone-server 3 配置 创建&编辑 ~/.vnc/xstartup #!/bi 阅读全文
posted @ 2023-01-10 18:59 羊望星空 阅读(2925) 评论(0) 推荐(0)
摘要: 环境 debian 11.2.0,GPU 2080ti (1)禁用Nouveau 新建 /etc/modprobe.d/blacklist-nouveau.conf 添加内容 blacklist nouveau options nouveau modeset=0 生效 sudo update-ini 阅读全文
posted @ 2022-03-16 13:16 羊望星空 阅读(3793) 评论(0) 推荐(0)
摘要: 如果使用了to_datetime方法设置labels日期会自动倾斜。 双Y轴时,xtick设置rotation是不起作用的。 需要使用autofmt_xdate方法。 例子 fig X轴坐标为正且居中。 fig.autofmt_xdate(rotation=0,ha='center') 阅读全文
posted @ 2021-11-16 11:30 羊望星空 阅读(771) 评论(0) 推荐(0)
摘要: df -h 卡死,ls卡死,umount -f无效。 umount -l XXX fuser -m -v XXX fuser -m -v -i -k XXX 阅读全文
posted @ 2021-07-14 10:32 羊望星空 阅读(109) 评论(0) 推荐(0)
摘要: 1、创建磁盘镜像文件 dd if= /dev/zero of=/xxx/xxx.img bs=xxxM count=xxx 2、挂载到dev losetup /dev/loopx(自定义一个loop 如 loop1、loop2) /xxx/xxx.img (刚才那个文件) 3、格式化一下挂载的loo 阅读全文
posted @ 2021-06-24 12:35 羊望星空 阅读(891) 评论(0) 推荐(0)
摘要: docker system df -v 阅读全文
posted @ 2021-04-22 17:28 羊望星空 阅读(2125) 评论(0) 推荐(0)