Tsarin fayil din XFS a cikin Fedora 23

Idan kuna tunanin cewa kawai tsarin NTFS da Fat sun kasu kashi biyu, to lallai zakuyi mamaki yayin karanta wadannan layukan, kuma abu ne da ya zama ruwan dare kuyi tunanin wannan yana faruwa ne kawai da Windows, amma a zahiri duk tsarin fayil zuwa karami ko mafi girma zai kawo karshen rarrabuwar kai, duk lokacin da aka goge wasu bayanai kuma aka rubuta su, "an samu" gibba "wadanda za a cike su da wasu bayanai wadanda suke da girma daban-daban, wannan shine yake samar da rarrabuwa.

Tabbas kowane tsarin fayil yana da wasu halaye idan ya shafi ma'amala da yanki, wanda na fi so shine XFS ba wai kawai saboda tallafi da Red Hat, amma ban da wannan wannan shine ɗayan mafi kyau don ɓangarorin da suka fi girma kuma hakan yana amfani da mafi kyawun masu sarrafa 64-bit.

RH_Fedora_logo_web

Don haka bari mu fara da duba yanayin rarrabuwa na rumbun kwamfutarka.

Don wannan zamuyi amfani da kayan aiki don XFS da ake kira xfs_db da wannan zamu iya cire XFS e_tendedFileSistem_DeBuger A mafi yawan lokuta wannan kayan aikin yana zuwa da tsarin idan kuna amfani da XFS, idan ba haka ba, dole ne mu girka xfsdump.

Bari mu bincika idan muna da xfsdump a cikin Fedora 23

binciken dnf xfs

Arshen binciken ƙare metadata da aka yi —-.

========================================================== = ========================= S / N Daidaita: xfs ================= ========================================================== = ======


xfsdump.armv7hl: Abubuwan Gudanarwa don tsarin fayil na XFS


 

xfsdump shine kayan amfani wanda Fedora ke samarwa, dangane da Arch an riga an haɗa shi cikin tsarin.

images (1)

Don bincika matsayin ɓarkewar wani yanki na xfs, zamu rubuta wannan lambar:

xfs_db -c frag -r / dev /

Shawarar ita ce idan ya fi kashi 10% ci gaba zuwa lalata, idan ya yi ƙasa to za ku iya barin shi zuwa gaba.

 

Yanzu, idan muka yi amfani da "-c frag" umarnin da zamu aiwatar an aika shi zuwa xfs_db kawai don tuntuɓar, idan ba mu sanya "-c frag" ba to za ta sanya hanzari don mu iya aiwatar da tambayoyin kuma za mu sanya "frag" a kanta, hanya mafi sauri ita ce:

xfs_db -c frag -r / dev / mmcblk0p3 ainihin 66155, manufa 65615, maƙasudin yanki kashi 0.82%

 

Kamar yadda muke gani a ɓangaren da ya gabata, Ina da digiri na ɓarkewa na 0.82% tun daga daysan kwanakin da suka gabata na lalata shi, ya kusan kashi 5%.

images

Rage ɓangaren XFS

 

Yanzu muna ci gaba da lalata ɓangaren, don farawa dole ne mu aiwatar xfs_fsr menene cikin kunshin xfsdump cewa mun girka a baya; xfs_fsr ma'ana eXtendedFileSystem_FileSystemReorganiser, kuma aikinku shine, sake tsara tsarin XFS.

Don haka muke rubuta:

fs

 

La'akari da cewa ya danganta da irin rarrabuwa, lokacin da za'a dauki matakin yankewar zai fi yawa ko kadan.

Da zarar an gama aikin, zamu sake nazarin matakin rarrabuwa:

xfs_db -c frag -r / dev / mmcblk0p3

Rushewa

Kuma wannan ita ce hanya don lalata tsarin XFS, idan kuna da rumbun kwamfutoci tare da sassan Terabytes kuma yayin nazarin matakin ɓarkewa kuma ya kai 10%, bayan lalatawa zaku iya ganin bambanci.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

5 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Ismail_TEch m

    bayanai masu kyau !! godiya !! Ina neman wannan daidai kuma na same shi a nan, ci gaba da kyakkyawan aiki !!

    Murna…

  2.   merlinoelodebianite m

    Kuma a cikin debian yaya ake yi, shin layi daya suke?

  3.   gaba m

    Zan kara ne kawai don rashin hankali cewa kawai fayilolin fayil akan rumbun kwamfutarka ya kamata a lalata su. Duk da yake rarrabuwar kai ba zai kashe kwarjini ba, amma hakan zai sa shi "tsufa" da wuri.

    gaisuwa
    Nicolas Gabbo

  4.   WaKeMATta m

    Zan iya yin wani don Ubuntu?

    1.    lokacin3000 m

      Ina so ku yi wa Debian guda daya.

bool (gaskiya)