ceph ( pgs inconsistent) pgs不一致 異常狀態處理方式
問題描述:
在某些情況下,osd出現異常,導致pgs出現不一致狀態
# ceph health detail
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
pg 6.89 is active+clean+inconsistent, acting [12,1,10]
1 scrub errors
可以看到,pg 6.89處於不一致狀態
解決方式:
#ceph pg repair 6.89
instructing pg 6.89 on osd.12 to repair
#ceph health detail
知道狀態恢復為ok
相關推薦
ceph ( pgs inconsistent) pgs不一致 異常狀態處理方式
問題描述:在某些情況下,osd出現異常,導致pgs出現不一致狀態# ceph health detailHEALTH_ERR 1 pgs inconsistent; 1 scrub errorspg 6
前後端分離(跨域)sessionid不一致Safari瀏覽器解決方案(不能保持會話或者不能儲存cookie)
對於前後端分離的專案或者單點登入的系統後臺需要做session會話校驗或者cookie跨域儲存,Safari瀏覽器可能會遇到無法儲存cookie的時候,解決方案如下:PC端Safari瀏覽器需要設定 偏好設定-> Safari -> 阻止Cookie ->
獨門絕技解決 ESXI6.0 時間(時區)顯示不一致
esxi 自動 腳本 時區 設置 ssh 命令 近日由於設置ESXI計劃任務,無意間發現了esxi服務器客服端時間和系統顯示時間不一致的情況,導致了(我為了一致,通過SSH用命令修改了ESXI系統時間)虛擬機時間也不一致,最終導致虛擬服務器系統時間出錯。相差大約八小時,可以通過客戶端顯示的時間CST,
Android開發 人民幣符號(¥)顯示不一致的問題
不小心踩了個坑,發現這個人民幣符號在不同機器上顯示不一致,有的顯示一橫,有的顯示兩橫。百度查了一下,找到好很多解決辦法,改字型,用圖片等等。最後發現原來用的是全形的“¥”的原因,全形的“¥”會受系統的影
C++建立類物件時(無參)後不加括號與加括號的區別
https://blog.csdn.net/Windgs_YF/article/details/80927058 https://blog.csdn.net/u012750259/article/details/44832769 1、在棧中例項化物件 A a;//例項化物件,會呼叫c
spring 事務處理中,同一個類中:A方法(無事務)調B方法(有事務),事務不生效問題
public class MyEntry implements IBaseService{ public String A(String jsonStr) throws Exception{ UserInfo user = null; UserDetail userDetail = nul
ASP.NET如何禁止直接通過Url訪問某個型別的檔案(非許可權),不定時補充
Note:此處不是許可權設定問題,此處不是許可權設定問題,此處不是許可權設定問題!只是出於資料或者網路安全,禁止掃描工具直接掃描到某些包含敏感資訊的檔案,尤其比如日誌、配置等 預設ASP.NET已經考慮到了一些安全問題,比如.config字尾的配置檔案,比如.cs的原始碼檔案,比如.log的日誌
VMware (centos6.5_x64)獲取不到 IPV4 地址
一、問題描述: 網路斷開之後重新連網(或電腦睡眠)之後,SecureCRT連線不上虛擬機器,在 centos的圖形介面中,右鍵,open in terminal,用 ifconfig命令檢視IP地址,發現只有IPV6地址,並沒有IPV4地址,如果是剛開機,用 dhclient
“東信杯”廣西大學第一屆程式設計競賽(同步賽) B 不吉利的數 【規律 逆元 排列組合】
傳送門:https://ac.nowcoder.com/acm/contest/283/B 題目描述 在 數學中,某個 序列的子序列是從最初序列通過去除某些元素但不破壞餘下元素的相對位置(在前或在後)而形成的新序列。
“東信杯”廣西大學第一屆程式設計競賽(同步賽)B 不吉利的數(組合數+逆元)
https://ac.nowcoder.com/acm/contest/283/B 簡單組合數學: 選出一共有多少個重複的 ,不同的 #include<bits/stdc++.h> using namespace std; typedef long l
【Linux】---vmware虛擬網路配置(NAT模式)及不能ping通主機和百度
nat模式配置 nat模式配置,虛擬機器可以訪問百度 首先本機閘道器不能喝VMNET8一個閘道器 本機的IP及閘道器 VMnet8的設定 虛擬機器編輯器設定,需要和VMnet8在同一個閘道器下 虛擬機器的設定 此
SharePoint的網站設定(site settings)看不到Site collection administration
我的賬戶有full control和design許可權,但是在site settings還是看不到Site collection administration,於是我切換到administrator賬戶去登陸,然後就能看到了。所以是許可權的問題,即使有full
python+numpy建立“真正準確的”一維陣列: (1,)而不是(n, )
numpy好像沒有直接的方法建立一維陣列 import numpy as np number = np.array((1,10)) print(number.shape) number = np.zeros(10) print(number.shape) 可以看到這裡並不能生
為什麼樣本方差裡面要除以(n-1)而不是n?
前段日子重新整理了一下這個問題的解答,跟大家分享一下,如果有什麼錯誤的話希望大家能夠提出來,我會及時改正的,話不多說進入正題: 首先,我們來看一下樣本方差的計算公式:
Mysql取唯一值(類似隨機數);不使用迴圈在Mysql做更新操作
1. Mysql取唯一值(類似隨機數)# 這裡生成的ebook_line_no 為永遠不重複值 SELECT (substr(UNIX_TIMESTAMP(now()), 6) + 10000) as ebook_line_no FROM dual;2. 不使用迴
關於HP(包括COMPAQ)筆記本不能重灌系統的問題
大多數人在這種時候會選擇送去維修站檢修。其實維修站的技術支援人員不過是更改了一項BIOS設定。現在舉例項一個:朋友買了一臺COMPAQ,發現系統使用過程中會出現藍屏,疑是中了病毒,遂決定重灌系統(這年
迴歸分析中的引數估計為何是最小二乘法(least squares),不是最小一乘法(least absolute deviations)
如題,面試被問到了。今天網上找了些資料,整理了一下。 迴歸分析就是找到一條最合適的擬合線來逼近所有的觀測點。如何衡量擬合的好壞程度呢,直接地,就是看擬合值與觀測值之間的距離了。在這種情況下,我們直接用擬合值與觀測值差的絕對值就可以衡量誤差(如公式1),為什麼要用差的平方呢(
Android M(6.0)掃描不到藍芽裝置的處理辦法
描述:在Android6.0手機上掃描不到藍芽裝置(如Nexus6),並會丟擲一個異常: java.lang.SecurityException: Need ACCESS_COARSE_LOCA
電子工程師的出路在哪裡?幹了兩年電子工程師(硬體開發),不知道以後方向在哪裡,挺迷茫!
電子工程師們,你還在座位上埋頭苦幹,跟與一堆資料跟程式打交道嗎? 這樣下去不行,現在生活想過得有滋有味,靠工資不如靠收入,做技術是吃腦力飯,壓力大,頭髮大把大把掉,工資永遠那個數,跳來跳去無法突破自我。 什麼是電子工程師?電子工程師指從事各類電子裝置和資訊系統研究、教
解決程式編碼格式正確,cmd命令列(DOS視窗)輸出不正確的問題
有朋友程式編碼格式正確,在別人機子上可以正確跑,但是自己機子上cmd命令列亂碼。如圖: 這是因為cmd命令列(DOS視窗)內碼表編碼格式不是utf-8,我們可以通過命令列輸入執行 chcp 65001命令,解決這個問題。 這個命令的意思就是讓命令列視窗以