ceph mon Operation not permitted 问题解决

自己构建的 ceph 发现 mon 起不来,报错如下: Apr 03 11:14:30 debian systemd[1]: Started Ceph cluster monitor daemon. ░░ Subject: A start job for unit ceph-mon@debian.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit ceph-mon@debian.service has finished successfully. ░░ ░░ The job identifier is 6997. Apr 03 11:14:31 debian ceph-mon[374601]: 2026-04-03T11:14:31.084+0800 ffffaf907040 -1 load: jerasure load: lrc load dlopen(/usr/lib/ceph/erasure-code/libec_isa.so): /usr/lib/ceph/erasure-code/libec_isa.so: cannot make segment writable for relocation: Operation not permitted Apr 03 11:14:31 debian systemd[1]: ceph-mon@debian.service: Main process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ An ExecStart= process belonging to unit ceph-mon@debian.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. Apr 03 11:14:31 debian systemd[1]: ceph-mon@debian.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit ceph-mon@debian.service has entered the 'failed' state with result 'exit-code'. 临时解决方案 根据 claude-sonnet 4.6 的说法: ...

April 3, 2026 | 2 分钟 | 625 字 | Tianlun Song

整理了一个 AI 提示词库

大模型的能力越来越强,但是如何发挥大模型真正的实力? 这是我一直在思考的问题,在平常的使用过程中很容易发现,提示词的使用技巧对于生成结果的质量至关重要。多看看优秀的提示词,还能启发我们利用大模型的更多用法。 ...

September 7, 2025 | 1 分钟 | 369 字 | Tianlun Song

Lyra - AI Prompt Optimization Specialist

AI 提示优化专家 - Lyra, 一个很好的提示词。 TL;DR You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into precision-crafted prompts that unlock Al's full potential across all platforms. ## THE 4-D METHODOLOGY ### 1. DECONSTRUCT - Extract core intent, key entities, and context - Identify output requirements and constraints - Map what's provided vs. what's missing ### 2. DIAGNOSE - Audit for clarity gaps and ambiguity - Check specificity and completeness - Assess structure and complexity needs ### 3. DEVELOP - Select optimal techniques based on request type: - **Creative** → Multi-perspective + tone emphasis - **Technical** → Constraint-based + precision focus - **Educational** → Few-shot examples + clear structure - **Complex** → Chain-of-thought + systematic frameworks - Assign appropriate Al role/expertise - Enhance context and implement logical structure ### 4. DELIVER - Construct optimized prompt - Format based on complexity - Provide implementation guidance ## OPTIMIZATION TECHNIQUES **Foundation:** Role assignment, context layering, output specs, task decomposition **Advanced:** Chain-of-thought, few-shot learning, multi-perspective analysis, constraint optimization **Platform Notes:** - **ChatGPT/GPT-4:** Structured sections, conversation starters - **Claude:** Longer context, reasoning frameworks - **Gemini:** Creative tasks, comparative analysis - **Others:** Apply universal best practices ## OPERATING MODES **DETAIL MODE:** - Gather context with smart defaults - Ask 2-3 targeted clarifying questions - Provide comprehensive optimization **BASIC MODE:** - Quick fix primary issues - Apply core techniques only - Deliver ready-to-use prompt ## RESPONSE FORMATS **Simple Requests:** --- **Your Optimized Prompt:** [Improved prompt] **What Changed:** [Key improvements] --- **Complex Requests:** --- **Your Optimized Prompt:** [Improved prompt] **Key Improvements:** • [Primary changes and benefits] **Techniques Applied:** [Brief mention] **Pro Tip:** [Usage guidance] --- ## WELCOME MESSAGE (REQUIRED) When activated, display EXACTLY: "Hello! I'm Lyra, your Al prompt optimizer. I transform vague requests into precise, effective prompts that deliver better results. **What I need to know:** - **Target AI:** ChatGPT, Claude, Gemini, or Other - **Prompt Style:** DETAIL (I'll ask clarifying questions first) or BASIC (quick optimization) **Examples:** - "DETAIL using ChatGPT - Write me a marketing email" - "BASIC using Claude - Help with my resume" Just share your rough prompt and I'll handle the optimization!" ## PROCESSING FLOW 1. Auto-detect complexity: - Simple tasks → BASIC mode - Complex/professional → DETAIL mode 2. Inform user with override option 3. Execute chosen mode protocol (see below) 4. Deliver optimized prompt **Memory Note:** Do not save any information from optimization sessions to memory. References https://gist.github.com/xthezealot/c873effd9e74225ef3fcfbb9c3a341da

July 20, 2025 | 1 分钟 | 416 字 | Tianlun Song

智能理财计算器更新了,一站对比各家理财收益率,避免踩坑!

一直非常困扰各家理财平台的算法不一致,实际收益和标称差异大,很难各平台之间决策。于是做了这样一个简单的工具,可以在一个地方直观的对比各家理财产品,根据收益率、收益、预期收益等快速决策。 ...

July 5, 2025 | 1 分钟 | 184 字 | Tianlun Song

超级玛丽、魂斗罗等经典小游戏聚合站 | PlayUnb

在线小游戏网站,界面简洁清爽无广告,各种 GBA/NES/HTML/UNITY 游戏 打开即玩超级玛丽、魂斗罗等经典游戏 收录 173+ 游戏 入口:https://playunb.com/

June 14, 2025 | 1 分钟 | 68 字 | Tianlun Song

个人业余开发项目清单

后续更新在这里:https://songtianlun.github.io/ 名称 简介 链接 备注 PlanAssistant For people who like to record their lives. Git SINCE 2019 Android BJ-PFD2 个人财务管理方案及监控看板 Git 介绍文章 入口 SINCE 2022 go MinePin 个人地理位置收藏夹 Git SINCE 2022 go 全球艺术天气 生成全球城市天气艺术图像,15w+城市,5k+AIArt 介绍文章 入口 SINCE 2025 ruby LiquedGlass 液态玻璃风格图像生成和模拟 介绍文章 入口 SINCE 2025 NextJS mirrorGit 将 GitHub 仓库镜像到 Gitea 的 Shell 脚本 Git SINCE 2025 Shell Selfhost Hub 自托管服务和工具目录 Git 入口 SINCE 2025 NextJS FinanceCalculator 快速选出收益最高的理财产品 介绍文章 入口 SINCE 2025 NextJS PlayUnb 小游戏站,打开即玩超级玛丽、魂斗罗等经典游戏 入口 Git SINCE 2025 JS 后续更新在这里:https://songtianlun.github.io/ ...

June 14, 2025 | 1 分钟 | 288 字 | Tianlun Song

快速选出收益最高的理财产品 | finance-calculator

每次对比各种理财产品的时候,都会遇到一些问题: 一是都很难有一个统一的指标来比对; 二是各家算法不一致,很容易被各平台标记的收益率“欺骗”。 期望在一个地方能够快速看到各种看中理财产品的年化利率,快速计算收益情况,辅助决策。 ...

June 14, 2025 | 1 分钟 | 266 字 | Tianlun Song

苹果液态玻璃风格图像生成和模拟器 | LiquedGlass.icu

一个 LiquedGlass 风格图像生成器; 一个 LiquedGlass 风格模拟器。 快速生成 Apple 液态玻璃风格图像。快速体验液态玻璃设计风格。 入口:https://liquidglass.icu/ ...

June 14, 2025 | 1 分钟 | 78 字 | Tianlun Song

Plausible 缺失 location 信息的研究

Plausible 调试方案 $ cd hosting $ docker compose exec plausible bin/plausible remote $ kubectl -n plausible exec -it statefulsets/app -- bin/plausible remote iex> headers = fn {:trace, _pid, :call, {_mod, _fun, [%Plug.Conn{req_headers: headers}]}} -> inspect(headers) end iex> mod_fun_args = {PlausibleWeb.RemoteIP, :get, 1} iex> how_many_times = 5 iex> :recon_trace.calls(mod_fun_args, how_many_times, formatter: headers) # Request it 最后把 nginx-ingress 运行模式改为 hostPort 解决。 ...

April 21, 2025 | 1 分钟 | 75 字 | Tianlun Song

k8s 使用 OpenEBS 存储

TL;DR helm repo add openebs https://openebs.github.io/openebs helm repo update # 以默认值安装 helm install openebs --namespace openebs openebs/openebs --create-namespace # 禁用副本存储类型、lvm 本地存储、zfs本地存储,仅保留本地路径存储 helm install openebs --namespace openebs openebs/openebs --set engines.replicated.mayastor.enabled=false --set engines.local.lvm.enabled=false --set engines.local.zfs.enabled=fa lse --create-namespace E0311 06:22:00.794754 111105 round_tripper.go:63] CancelRequest not implemented by *kube.RetryingRoundTripper NAME: openebs LAST DEPLOYED: Tue Mar 11 06:21:28 2025 NAMESPACE: openebs STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: Successfully installed OpenEBS. Check the status by running: kubectl get pods -n openebs The default values will install both Local PV and Replicated PV. However, the Replicated PV will require additional configuration to be fuctional. The Local PV offers non-replicated local storage using 3 different storage backends i.e Hostpath, LVM and ZFS, while the Replicated PV provides one replicated highly-available storage backend i.e Mayastor. For more information, - view the online documentation at https://openebs.io/docs - connect with an active community on our Kubernetes slack channel. - Sign up to Kubernetes slack: https://slack.k8s.io - #openebs channel: https://kubernetes.slack.com/messages/openebs 实际使用需充分阅读官方文档。 ...

March 14, 2025 | 2 分钟 | 739 字 | Tianlun Song