Defragmenting XFS cov ntaub ntawv kaw lus hauv Fedora 23

Yog tias koj xav tias tsuas yog NTFS thiab Lub Cev Hluav Taws Xob uas tau tawg ua haujlwm, ces muaj tseeb koj yuav xav tsis thoob thaum nyeem cov kab no, thiab nws yog qhov muaj ntau heev los xav tias qhov no tsuas tshwm sim nrog lub Windows, tab sis hauv kev muaj tiag txhua cov ntaub ntawv rau qhov tsawg dua lossis ntau dua Nws yuav xaus rau kev cais, thaum twg cov ntaub ntawv tshiab tau lwv thiab sau, "khoob" yog tsim uas yuav tau sau nrog qee cov ntaub ntawv uas muaj ntau qhov sib txawv ntawm txhua lwm yam, qhov no yog dab tsi ua rau muaj kev tawg.

Qhov tseeb txhua qhov system file muaj qee yam ntxwv thaum nws hais txog kev cuam tshuam nrog kev tawg, kuv nyiam yog XFS tsis yog rau nws cov kev txhawb nqa nrog liab cov kaus mom, tab sis ntxiv rau qhov no nws yog ib qho zoo tshaj plaws rau kev faib loj thiab uas yuav siv kom zoo dua ntawm 64-ntsis processors.

RH_Fedora_logo_web

Yog li cia peb pib los ntawm kev kuaj xyuas cov xwm txheej tawg ntawm lub hard drive.

Rau qhov no peb yuav siv lub cuab tam rau XFS hu ua xfs_db nrog rau qhov no peb tuaj yeem debug XFS eXtendedFileSistem_DeBuger Feem ntau cov cuab yeej no tuaj nrog cov kab ke yog tias koj siv XFS, yog tias tsis yog, peb yuav tsum nruab xfsdumpwv.

Yog li cia peb kawm seb peb puas muaj xfsdump hauv Fedora 23

dnf tshawb xfs

Tshawb nrhiav kev ncua sij hawm dhau los -.

====================================================== ========================== S / N Matched: xfs =================== ====================================================== ======


xfsdump.armv7hl: Cov kev siv hluav taws xob rau XFS filesystem


 

xfsdump yog lub pob hluav taws xob uas Fedora muab, yog tias Arch yog nws twb tau muab tso rau hauv qhov system.

images (1)

Txhawm rau kuaj xyuas qhov xwm txheej ntawm xfs kev faib tawm, peb yuav sau cov cai no:

xfs_db -c tawg -r / dev /

Qhov kev pom zoo yog tias yog nws ntau dua 10% mus rau kev tawm tsam, yog tias tsawg dua, koj tuaj yeem tawm nws tom qab.

 

Tam sim no, yog tias peb siv "-c frag", lo lus txib uas peb yuav ua rau raug xa mus rau xfs_db tsuas yog sab laj, yog tias peb tsis tso "-c frag" ces nws yuav tso promp kom peb tuaj yeem ua tiav cov lus nug thiab peb yuav tso "frag", txoj kev ceev tshaj plaws yuav yog:

xfs_db -c frag -r / dev / mmcblk0p3 tam sim no 66155, zoo tagnrho 65615, fragmentation factor 0.82%

 

Raws li peb pom nyob rau ntu dhau los, Kuv muaj qhov degree ntawm tawg ntawm 0.82% txij li ob peb hnub dhau los kuv tau defragmented nws, nws yog txog 5% tawg.

dluab

Defragmenting XFS muab faib

 

Tam sim no peb npaj mus rau defragment qhov muab faib, pib peb yuav tsum ua xfs_fsr dab tsi yog sab hauv pob xfsdumpwv uas peb tau ntsia yav tas los; xfs_fsr txhais tau tias eXtendedFileSystem_FileSystemReorganizer, thiab koj txoj haujlwm yog, rov txhim kho XFS cov kab ke.

Yog li peb sau:

xfs_fsr -v / dev / mmcblk0p3 / pib inode = 0ino = 1928extents ua ntej: 2 tom qab: 1 Ua rau ino = 1928ino = 219417extents ua ntej: 2 tom qab: 1 UA HAUJ LWM ino = 219417ino = 219395—

 

Coj mus rau hauv tus account tias nyob ntawm qhov teeb meem ntawm qhov tsis zoo, lub sijhawm nws yuav siv los ua tus defragmentation yuav ntau dua lossis tsawg dua.

Thaum txoj kev ua tiav lawm, peb rov xyuas cov qib ntawm kev rov tawg dua:

xfs_db -c tawg -r / dev / mmcblk0p3

Defragmentation

Thiab qhov no yog txoj hauv kev rau kev ua txhaum XFS tshuab, yog tias koj muaj lub zog nyuaj nrog Terabytes partitions thiab thaum tshuaj xyuas qhov tsis txaus ntseeg thiab nws nce mus txog 10%, tom qab defragmenting koj tuaj yeem pom qhov sib txawv.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

5 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   Ismael_Tech said

    cov ntaub ntawv zoo !! ua tsaug !! Kuv twb nrhiav tau qhov no thiab kuv pom nws nyob ntawm no, khaws hauj lwm zoo !!

    Cheers…

  2.   merlinoelodebianite said

    Thiab nyob rau hauv Debian yuav ua li cas yog ua tiav, lawv puas yog tib cov kab?

  3.   qab said

    Kuv yuav tsuas ntxiv rau qhov tsis txaus siab uas tsuas yog cov ntaub ntawv kaw lus ntawm lub zog nyuaj yuav tsum defragmented. Thaum lub sij hawm defragmenting tsis yog mus tua lub xeev cov tsav, nws ua rau nws "hnav" ua ntej.

    regards
    Nicolas Gabbo

  4.   WaKeMaTTa said

    Kuv tuaj yeem ua ib qho ntxiv rau Ubuntu?

    1.    lub sijhawm 3000 said

      Kuv xav kom koj ua ib qho rau Debian thiab.