Hanyoyi 4 don Duba Disks da Partitions a cikin Linux


A cikin wannan jagorar, za mu nuna yadda ake lissafin faifai na ajiya da ɓangarori a cikin tsarin Linux. Za mu rufe duka kayan aikin layin umarni da abubuwan amfani na GUI. A ƙarshen wannan jagorar, zaku koyi yadda ake dubawa ko bayar da rahoton bayanai game da fayafai da ɓangarori akan sabar Linux ɗinku ko kwamfutar tebur, ko wurin aiki.

Hakanan kuna iya son: 3 GUI mai Amfani da Kayayyakin Binciken Disk na Linux na Terminal.

1. Lissafa Linux Disks Amfani da umurnin fdisk

fdisk kayan aiki ne na layin umarni da ake amfani da shi sosai don sarrafa allunan ɓangaren diski. Kuna iya amfani da shi don duba diski da ɓangarori akan sabar Linux ɗin ku kamar haka.

Tutar -l tana nuna ɓangarorin jeri, idan ba a ƙayyade na'urar ba, fdisk zai nuna ɓangarori daga duk diski. Yana buƙatar tushen gata don ku kira shi, don haka yi amfani da umarnin sudo inda ya cancanta:

$ sudo fdisk -l

2. Duba Linux Disk Partitions Amfani da umurnin lsblk

lsblk shine mai amfani don lissafin na'urorin toshe. Kuna iya amfani da shi don duba faifai da ɓangarori akan kwamfutar ku ta Linux kamar haka. Yana aiki da kyau ba tare da umarnin sudo ba:

$ lsblk

Don duba ƙarin bayani game da faifai, yi amfani da -f zaɓin layin umarni kamar yadda aka nuna:

$ lsblk -f

3. Duba Linux Disks Amfani da umurnin hwinfo

hwinfo wani abu ne mai amfani don duba bayanai game da kayan aikin ku, musamman ma'ajin ajiya. Idan ba za ku iya samun umarnin hwinfo akan tsarin ku ba, gudanar da umarni mai zuwa don shigar da shi:

$ sudo apt install hwinfo         [On Debian, Ubuntu and Mint]
$ sudo yum install hwinfo         [On RHEL/CentOS/Fedora and Rocky Linux/AlmaLinux]
$ sudo emerge -a sys-apps/hwinfo  [On Gentoo Linux]
$ sudo pacman -S hwinfo           [On Arch Linux]
$ sudo zypper install hwinfo      [On OpenSUSE]    

Da zarar an shigar da kunshin hwinfo, gudanar da umarni tare da zaɓin layin umarni --disk kamar yadda aka nuna:

$ sudo hwinfo --disk

Daga fitowar umarnin da ya gabata, akwai bayanai da yawa game da faifai ko ɓangarorinsa waɗanda hwinfo ke nunawa. Idan kuna son duba bayyani na na'urorin toshewa, gudanar da wannan umarni:

$ sudo hwinfo --short --block

Don nuna taƙaitaccen duk faifai, gudanar da umarni:

$ sudo hwinfo --disk --short

4. Nemo Bayanan Rarraba Linux Ta Amfani da Kayan Aikin Disk

A kan kwamfutar tebur na Linux, Hakanan zaka iya amfani da aikace-aikacen mai amfani da hoto (GUI) don duba jerin fayafai da aka haɗe zuwa kwamfutarka. Na farko, bincika aikace-aikacen diski a cikin menu na tsarin. Sa'an nan kuma bude shi don duba faifai da partitions.

Shi ke nan a yanzu. Don ƙarin bayani game da umarnin da aka yi amfani da su a cikin wannan jagorar, duba shafukan su na mutum. Hakanan zaku iya raba ra'ayoyinku tare da mu ta hanyar sharhin da ke ƙasa.