Maitiro Ekutarisa Yemahara Disk Space paLinux [Terminal uye GUI Nzira]

Yakawanda sei diski nzvimbo yandakashandisa?

Nzira yakapusa yekuwana yemahara disk nzvimbo paLinux ndeye shandisa df raira. Iyo df yekumira inomira isina-dhisiki uye zviri pachena, inokuratidza iwe yemahara uye inowanikwa dhisiki nzvimbo pane Linux masisitimu.

Read More
df -h

ne -h sarudzo, inoratidza iyo diski nzvimbo mune inoverengwa fomati fomati (MB uye GB).

Heano mabudiro eiyo df yekuraira yangu Dell XPS system iyo iine chete Linux yakaiswa ine encrypted disk:

Yemahara Disk Space Linux Df Raira Kuburitsa
Kutarisa yemahara disk nzvimbo ne df raira muLinux

Kana zvakaburitswa pamusoro zvichikuvhiringidza iwe, usazvidya moyo. Ini ndichatsanangura zvinhu zvishoma kutenderedza tarisa iripo disk nzvimbo muLinux. Ini zvakare ndicharatidza iyo GUI nzira ye desktop desktop vashandisi.

Maitiro 1: Kutarisa yemahara dhisiki nzvimbo muLinux ine df raira (uye kunzwisisa zvayakaburitsa)

Paunoshandisa iyo df yekuraira kuti utarise diski nzvimbo, icharatidza boka re 'faira masystem' nehukuru hwayo, nzvimbo yakashandiswa uye nzvimbo yemahara. Ma disks ako chaiwo anofanira kunge akanyorwa seimwe yeanotevera:

  • / dev / sda
  • / dev / sdb
  • / dev / nvme0n1p

Uyu hausi mutemo wakaomarara uye unokurumidza asi unokupa chiratidzo chekuziva zviri nyore diski kubva kuvanhu.

Yako Linux system inogona kuve nezvikamu zvakati wandei pane diski yako yebhutsu, EFI, mudzi, chinjana, imba nezvimwe. Muzviitiko zvakadaro, zvikamu izvi zvinoratidzwa nenhamba kumagumo kwe 'disk zita', senge / dev / sda1, / dev / nvme0n1p2 nezvimwe.

Iwe unogona kuziva kuti ndechipi chikamu chinoshandiswa nechinangwa chei kubva pagomo racho. Mudzi wakaiswa pa /, EFI mu / bhuti / EFI nezvimwe.

Mune yangu kesi, ini ndashandisa 41% yeiyo 232 GB ye diski nzvimbo pasi pemudzi. Kana iwe uine zvikamu zviviri kusvika zviviri zvakakura (senge mudzi, imba nezvimwewo), uchafanirwa kuverenga pano.

Df Raira Kubuda
Kunzwisisa df command kuburitsa
  • tmpfs: The tmpfs (yechinguva faira system) inoshandiswa kuchengetedza mafaera mune chaiyo memory. Iwe unogona kufuratira iyi chaiyo faira system seyakagadzikana.
  • udev: The udev mafaira inoshandiswa kuchengetedza ruzivo rwakabatana nemidziyo (senge USB, kiredhiti kadhi, CD ROM nezvimwewo) yakaiswa kune yako system. Iwe unogona kuifuratira zvakare.
  • / dev / chiuno: Izvi zvishandiso zve loop. Iwe uchaona akawanda awo uchitarisa diski nzvimbo muUbuntu nekuda kwesnap application. Zvishwe zviripo zvigadzirwa zvinobvumidza zvakajairwa mafaera kuti zviwanikwe semabhuroko madhiraivhu. Nema loop zvishandiso, snap application akaiswa sandboxed mune yavo chaiyo diski. Sezvo ivo vari pasi pemudzi, haufanire kuverenga yavo yakashandiswa disk nzvimbo zvakasiyana.

Pasina diski nzvimbo? Tarisa kana iwe wakaisa ese ma disks uye zvikamu

Ramba uchifunga kuti iyo df yekuraira chete inoratidza dhisiki nzvimbo yeakaisirwa mafaera masystem. Kana iwe uri kushandisa inopfuura imwechete yeLinux kugovera (kana anoshanda masystem) pane imwechete diski kana iwe uine akawanda madhisiki pane yako system, iwe unofanirwa kuvamisa ivo vekutanga kuitira kuti uone iyo yemahara nzvimbo inowanikwa pane iwo iwo ma partitions uye disks.

Semuenzaniso, my Intel NUC ine maSSD maviri uye mana kana mashanu eLinux akaiswa pavari. Iyo inoratidza ekuwedzera ma diski chete kana ini ndikaaisa zvakajeka.

Df Raira Ubuntu 1Df Raira Ubuntu

Iwe unogona kushandisa iyo lsblk raira kuti uone ese ma disks uye migove pane yako system.

Lsblk Raira Kuti Uone Disks Linux

Paunenge uchinge uine iro zita rekuparadzanisa diski, unogona kurisimudza mune iyi fashoni:

sudo mount /dev/sdb2 /mnt

Ndinovimba izvi zvinokupa iwe zano rakanaka nezve kutarisa hard drive nzvimbo paLinux. Ngatione maitirwo azvo zvakajeka.

Maitiro 2: Tarisa yemahara dhisiki yekushandisa graphically

Kuongorora yemahara dhisiki nzvimbo graphically kuri nyore kwazvo muUbuntu neDisk Usage Analyzer chishandiso.

Disk Usage Analyzer Turu Linux
Dhisiki Yekushandisa Yekuongorora Yekushandisa

Iwe uchaona ese chaiwo madisiki uye zvikamu pano. Iwe ungatofanira kukwirisa zvimwe zvikamu nekukanda pazviri. Iyo inoratidza iko kushandiswa kwediski kune ese akaisirwa zvikamu.

Yemahara Disk Space Ubuntu Desktop
Disk yekushandisa cheki

Kuongorora yemahara dhisiki nzvimbo neGNOME Disks zvinoshandiswa

Zvikasadaro, iyo GNOME Disks zvinoshandiswa zvakare yakanaka ruoko chishandiso.

Disks Turu Linux
GNOME Disks Chishandiso

Kutanga chishandiso uye sarudza iyo diski. Sarudza chidimbu kuti uone yemahara disk nzvimbo. Kana chidimbu chisina kukwirwa, chiise pakutanga nekudzvanya iyo 'play' icon.

Yemahara Diski Nzvimbo Tarisa Ubuntu Desktop
Yemahara Disk Space Tarisa muUbuntu Desktop

Ini ndinofunga ese makuru madesktop enharaunda ane imwe mhando graphical chishandiso kutarisa diski mashandisiro paLinux. Unogona kuitsvaga mumenyu ye desktop yako Linux system.

mhedziso

Panogona kuve nedzimwe nzira uye zvishandiso zvekutarisa diski nzvimbo hongu. Ini ndakakuratidza wakajairika kuraira tambo uye nzira dzeGUI nekuda kwechinangwa ichi.

Ini ndikatsanangurawo zvishoma zvinhu zvinogona kukunetsa iwe mukunzwisisa dhisiki mashandisiro. Ndinovimba unoifarira.

Kana iwe uine mibvunzo kana mazano, ndokumbira undizivise muchikamu chekutaura.

Article Yepakutanga

Related posts