国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

minio報錯:Unable to use the drive /data: invalid argument

這篇具有很好參考價值的文章主要介紹了minio報錯:Unable to use the drive /data: invalid argument。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

docker 安裝 minio (時間點:2022-09-07) 拉取得最新版本 latest 顯示創(chuàng)建于5天前。
Unable to use the drive /data: invalid argument
Error: Read failed. Insufficient number of drives online
Waiting for a minimum of 0 drives to come online
minio報錯:Unable to use the drive /data: invalid argument,minio,開發(fā)語言,go,數據庫,緩存,docker
我用這個命令:

docker run -d -p 9000:9000 -p 9001:9001 --name=minio --restart=always --privileged=true -e "MINIO_ROOT_USER=admin" -e "MINIO_ROOT_PASSWORD=12345678" -v /usr/local/dev/dockerdata/minio/data:/data -v /usr/local/dev/dockerdata/minio/config:/root/.minio  minio/minio server /data --console-address ":9001" --address ":9000"

然后 docker logs id 試了n次,一直是下邊的錯誤。查閱了各種文檔和博客。都沒有看到相同的這個錯誤。有相似的集群部署,但我是單機 沒有參考價值。

Unable to use the drive /data: invalid argument

API: SYSTEM()
Time: 06:47:38 UTC 09/07/2022
Error: Read failed. Insufficient number of drives online (*errors.errorString)
       6: internal/logger/logger.go:259:logger.LogIf()
       5: cmd/prepare-storage.go:242:cmd.connectLoadInitFormats()
       4: cmd/prepare-storage.go:302:cmd.waitForFormatErasure()
       3: cmd/erasure-server-pool.go:66:cmd.newErasureServerPools()
       2: cmd/server-main.go:700:cmd.newObjectLayer()
       1: cmd/server-main.go:534:cmd.serverMain()
Waiting for a minimum of 0 drives to come online (elapsed 13s)

Unable to use the drive /data: invalid argument

API: SYSTEM()
Time: 06:47:38 UTC 09/07/2022
Error: Read failed. Insufficient number of drives online (*errors.errorString)
       6: internal/logger/logger.go:259:logger.LogIf()
       5: cmd/prepare-storage.go:242:cmd.connectLoadInitFormats()
       4: cmd/prepare-storage.go:302:cmd.waitForFormatErasure()
       3: cmd/erasure-server-pool.go:66:cmd.newErasureServerPools()
       2: cmd/server-main.go:700:cmd.newObjectLayer()
       1: cmd/server-main.go:534:cmd.serverMain()
Waiting for a minimum of 0 drives to come online (elapsed 13s)

期間用官網的《官網doc漢化鏈接》簡單命令試了一下docker run -p 9000:9000 minio/minio server /data 可以啟動成功。但是無法訪問提供的API和console的網頁。

最后懷疑鏡像問題。于是決定找個舊點的鏡像試試,在參考了這篇老哥的文章這里
里的舊版本。然后用他的命令(掛載目錄改為自己的),終于成功了!

sudo docker pull minio/minio:RELEASE.2021-04-18T19-26-29Z
sudo docker run \
        -d \
        --name minio \
        --restart=always \
        -p 9000:9000 \
        -p 9001:9001 \
        -e "MINIO_ROOT_USER=minioroot" \
        -e "MINIO_ROOT_PASSWORD=minioroot" \
        -v /usr/local/dev/dockerdata/minio/data:/data \
        -v /usr/local/dev/dockerdata/minio/config:/root/.minio \ 
        minio/minio:RELEASE.2022-02-12T00-51-25Z server /data --console-address ":9001"
ac94f49b84127160d59974654b77988eafa8362f96dc3cb96de315884c424ec0
hanpeng@hanpeng data % docker logs ac94f
API: http://172.17.0.3:9000  http://127.0.0.1:9000 

Console: http://172.17.0.3:9001 http://127.0.0.1:9001 

Documentation: https://docs.min.io

 You are running an older version of MinIO released 6 months ago 
 Update: 
Run `mc admin update` 

minio報錯:Unable to use the drive /data: invalid argument,minio,開發(fā)語言,go,數據庫,緩存,docker
本來是一個非常簡單的任務,現在搞了我一天。為了確認自己的沒錯,連新建的掛載目錄都chmod 777了,有點懷疑是不是鏡像的問題,但是疑車無據,官方也不應該把不完善的鏡像發(fā)上去吧。可是又覺的自己原先的命令沒問題。誰知道原因,麻煩評論告知我一下。文章來源地址http://www.zghlxwxcb.cn/news/detail-561197.html

到了這里,關于minio報錯:Unable to use the drive /data: invalid argument的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!

本文來自互聯(lián)網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如若轉載,請注明出處: 如若內容造成侵權/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經查實,立即刪除!

領支付寶紅包贊助服務器費用

相關文章

  • The operation couldn’t be completed. Unable to launch com.xxx because it has an invalid code signatu

    通過Xcode跑app到真機上出現錯誤 手機彈窗提示:“需要互聯(lián)網連接以驗證是否信任開發(fā)者“xxx”。此App在驗證前將不可用” Xcode提示: The operation couldn’t be completed. Unable to launch com.xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by th

    2024年02月12日
    瀏覽(27)
  • 關于picgo圖床報錯“unable to verify the first certificate“

    關于picgo圖床報錯“unable to verify the first certificate“

    關于picgo圖床報錯\\\"unable to verify the first certificate\\\" 編程上的疑難雜癥(一) 問題:本人picgo加github圖床上傳出現以下問題 \\\"message\\\": \\\"unable to verify the first certificate\\\"(無法驗證第一證書) 問題分析: 圖床是github圖床,工具是picgo,為了可以順利訪問github用到steam++(Watt Toolkit)加速

    2024年02月11日
    瀏覽(191)
  • Python安裝demjson模塊報錯:error in demjson setup command: use_2to3 is invalid

    Python安裝demjson模塊報錯:error in demjson setup command: use_2to3 is invalid

    本來是項目中使用?demjson 包的 JSON 功能,但是安裝的時候報錯了。 A new release of pip available: 22.3.1 - 23.0.1 這個原因是說 pip 包的版本太低了,需要升級到?23.0.1。 使用 DOS 命令,進入到項目的目錄下執(zhí)行以下命令: 此時再安裝 demjson 包還是報錯: 報錯如下:? 重點是這樣一句

    2023年04月27日
    瀏覽(24)
  • sqlmap報錯[CRITICAL] unable to connect to the target URL. sqlmap is going to retry the request(s)

    sqlmap報錯[CRITICAL] unable to connect to the target URL. sqlmap is going to retry the request(s)

    如圖,用讀文件的方式跑sqlmap時,明明站點是通的,卻提示不可達,后來發(fā)現目標站點是HTTPS的,sqlmap默認是用http協(xié)議 解決方案: 添加代理,讓sqlmap走burp的代理,添加ssl 具體命令: 問題解決。

    2024年02月12日
    瀏覽(22)
  • 【Git】解決fatal: unable to access..Failure when receiving data from the peer或者OpenSSL SSL_read: Connect

    今天拉取倉庫的代碼時,報錯如下: 又或者 OpenSSL SSL_read: Connection was reset, errno 10054 再或者: 解決辦法: 因為git在拉取或者提交項目時,中間會有git的http和https代理,但是我們本地環(huán)境本身就有SSL協(xié)議了,所以取消git的https代理即可,不行再取消http的代理。 第一種方式就是

    2024年02月04日
    瀏覽(105)
  • .net core中Grpc使用報錯:The remote certificate is invalid according to the validation procedure.

    因為Grpc采用HTTP/2作為通信協(xié)議,默認采用LTS/SSL加密方式傳輸,比如使用.net core啟動一個 服務端(被調用方) 時: ? 其中使用UseHttps方法添加證書和秘鑰。 但是,有時候,比如開發(fā)階段,我們可能沒有證書,或者是一個自己制作的臨時測試證書,那么在 客戶端(調用方)

    2023年04月13日
    瀏覽(22)
  • 使用postman時,報錯SSL Error: Unable to verify the first certificate

    使用postman時,報錯SSL Error: Unable to verify the first certificate

    開發(fā)中使用postman調用接口,出現以下問題,在確認路徑、參數、請求方式均為正確的情況下 解決方法 File - Settings - SSL certification verification 關閉 找到圖中配置,這里默認是打開狀態(tài),把它關閉即可:ON - OFF 再次請求接口 原因:使用 Postman 發(fā)起 HTTPS 請求時,它會驗證服務器的

    2024年02月04日
    瀏覽(35)
  • 成功解決Pycharm報錯:Note: you may need to restart the kernel to use updated packages.

    成功解決Pycharm報錯:Note: you may need to restart the kernel to use updated packages.

    pycharm中 import sklearn 報錯: 然后在pycharm的控制臺console中使用 pip install sklearn 安裝了sklearn包,使用 pip list 命令查看安裝成功: 但是,最 玄學 的事情來了,明明安裝成功,import卻還是和剛開始一樣的報錯。 細看發(fā)現 pip list 的末尾有一句: 我知道jupyter怎么重啟內核,但是p

    2024年02月04日
    瀏覽(63)
  • kubectl命令報錯:Unable to connect to the server: dial tcp XXX:16443: connect: no route to host

    kubectl命令報錯:Unable to connect to the server: dial tcp XXX:16443: connect: no route to host

    前提 架構: keepalived+haproxy+kubernetes 問題說明 kubernetes集群好久不用了,今天打開集群執(zhí)行一個 kubectl get nodes 命令,報錯如下: Unable to connect to the server: dial tcp 192.168.2.XXX:16443: connect: no route to host 分析原因 出現這個問題幾種原因, 集群壞了:如果報錯的IP是master1的節(jié)點IP或虛

    2024年02月09日
    瀏覽(130)
  • python報錯:Note: you may need to restart the kernel to use updated packages終極解決辦法

    python報錯:Note: you may need to restart the kernel to use updated packages終極解決辦法

    python執(zhí)行:pip install 庫名 報錯:Note: you may need to restart the kernel to use updated packages. 翻譯過來為: 注意:你可能需要重新啟動內核才能使用更新的軟件包 。 于是到網上找各種解決方法,重新按照python、設置環(huán)境變量,cmd中找路徑什么的,能試的方法都試了,最終費了九牛二虎

    2024年02月11日
    瀏覽(24)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領取紅包,優(yōu)惠每天領

二維碼1

領取紅包

二維碼2

領紅包