System-monitor NO /home partition

Hi, instead of upgrading Manjaro (with KDE), I have made new installation.

I would like to make system monitor widget to see spaces on my disk partition. From some reason there is missing choice of /sdb4 partition, which is mounted as /home.

There is output from “lsblk”

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931,5G  0 disk 
└─sda1   8:1    0 931,5G  0 part /media/Data
sdb      8:16   0 119,2G  0 disk 
├─sdb1   8:17   0   501M  0 part /boot/efi
├─sdb2   8:18   0   8,3G  0 part [SWAP]
├─sdb3   8:19   0    50G  0 part /
├─sdb4   8:20   0    55G  0 part /home
└─sdb5   8:21   0   5,5G  0 part /media/WindowsPE

There is available choices.

obrazek

I don’t know how to solve this. Any help or idea please? :slight_smile:

Hi @cziss,

Is it not under the Data category?

https://i.imgur.com/lp4yzOI.png

Edit:

Hmm…there doesn’t seem to even be an sda4…Please provide the output for:

fdisk -l

Edit #2:

Are you using btrfs? Because if so, that would possibly explain it and I can’t help further.

Hi, Data category is /sda disc. /sda and /sdb3+4 are EXT4. Problem is with /sdb4

Disk /dev/sda: 931,51 GiB, 1 000 204 886 016 bajtů, 1 953 525 168 sektorů
Model disku: WDC WD10SPZX-60Z
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 4096 bajtů
Velikost I/O (minimální/optimální): 4096 bajtů / 4096 bajtů
Typ popisu disku: gpt
Identifikátor disku: 681ACE8B-449E-4223-B143-7EC21F595D02

Zařízení   Začátek      Konec    Sektory Velikost Druh
/dev/sda1     2048 1953523711 1953521664   931,5G Souborový systém Linuxu


Disk /dev/sdb: 119,24 GiB, 128 035 676 160 bajtů, 250 069 680 sektorů
Model disku: SAMSUNG MZNLN128
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 4096 bajtů
Velikost I/O (minimální/optimální): 4096 bajtů / 4096 bajtů
Typ popisu disku: gpt
Identifikátor disku: 12374F40-F54E-4530-9E5F-7CD2575C7E6D

Zařízení     Začátek     Konec   Sektory Velikost Druh
/dev/sdb1         34   1026047   1026014     501M Systém EFI
/dev/sdb2    1026048  18434047  17408000     8,3G Prostředí obnovy Windows
/dev/sdb3   18434048 123291647 104857600      50G Základní data Microsoftu
/dev/sdb4  123291648 238635007 115343360      55G Prostředí obnovy Windows
/dev/sdb5  238635008 250068991  11433984     5,5G Základní data Microsoftu

Oddíl 1 nezačíná na hranici fyzického sektoru.

Well, I don’t know why or what’s happening, or what you possibly did here, but sda only has 1 (albeit large) partition on it…


Since it seems your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Yes, but I have problem with /sdb4. /sda has only one partition and it can be mointored

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-60Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 681ACE8B-449E-4223-B143-7EC21F595D02

Device     Start        End    Sectors   Size Type
/dev/sda1   2048 1953523711 1953521664 931.5G Linux filesystem


Disk /dev/sdb: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SAMSUNG MZNLN128
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 12374F40-F54E-4530-9E5F-7CD2575C7E6D

Device         Start       End   Sectors  Size Type
/dev/sdb1         34   1026047   1026014  501M EFI System
/dev/sdb2    1026048  18434047  17408000  8.3G Windows recovery environment
/dev/sdb3   18434048 123291647 104857600   50G Microsoft basic data
/dev/sdb4  123291648 238635007 115343360   55G Windows recovery environment
/dev/sdb5  238635008 250068991  11433984  5.5G Microsoft basic data

Partition 1 does not start on physical sector boundary.

I can’t make sense of this.

/dev/sdb4 is mounted as /home

but it is probably formatted as NTFS, because it is

which translates to:
Windows recovery environment

Can /home be on NTFS?
I don’t think so.

lsblk -f
would give more detail

My most humble apologies.

I don’t know why, but every time I went and re-read your post, I kept reading sda instead of sdb. I think I finally have it.

But:

As, according to this:

To put it simple, a recovery partition is a portion of your disk drive that is set aside by the manufacturer to hold an image of your system before it was shipped from the factory. Recovery partition contains the files of system backup image and files that guide system restoration.

I am unsure if you should be able to see/monitor it…

Yes, it’s pretty strange, because

/dev/sdb4 is mounted as /home and its ext4
/deb/sdb2 is swap

I’m using this PC over 5 years with linux. That’s new installation, due to update problems. It’s not possible, that this partitions may have some residues of Windows recovery environment.

NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                           
└─sda1 ext4   1.0   Data  df714e71-4158-40e0-afc9-1a7d7f73cd50  397,6G    52% /media/Data
sdb                                                                           
├─sdb1 vfat   FAT32       D9E2-7A7F                             499,7M     0% /boot/efi
├─sdb2 swap   1           c3a48584-29b1-4b5d-a069-976147ea3e09                [SWAP]
├─sdb3 ext4   1.0         6eb666b8-7de7-4ac2-b81d-2614a8248cad   32,5G    28% /
├─sdb4 ext4   1.0         772074de-f760-41c9-9b78-cbf62ca2703a   40,5G    20% /home
└─sdb5 vfat   FAT32       8D8B-6D3D                               2,2G    60% /media/WindowsPE
sdc                                                                           
sdd                            
Nevermind. I've got nothing.

Please provide the output for:

lsblk -o NAME,FSTYPE
NAME   FSTYPE
sda    
└─sda1 ext4
sdb    
├─sdb1 vfat
├─sdb2 swap
├─sdb3 ext4
├─sdb4 ext4
└─sdb5 vfat

I have got nothing either - sorry!

sudo fdisk -l /dev/sdb

returns something completely different from

lsblk -f

I have no idea how this can happen or how to approach this. :man_shrugging:

1 Like

Now that you mention it…

It looks like 2 different computers. Just double-check that, @cziss.

No :D, is really the same PC.

Then I’ve got absolutely less than nothing…

Hi, I’ve found solution. I’ve used WinPE enviroment and Disk Genius tool to repair nonsenses in disk types. After that space monitoring is available.

sudo LC_ALL=C  fdisk -l                                                                                                                                      ✔  4s  
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-60Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 681ACE8B-449E-4223-B143-7EC21F595D02

Device     Start        End    Sectors   Size Type
/dev/sda1   2048 1953523711 1953521664 931.5G Linux filesystem


Disk /dev/sdb: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SAMSUNG MZNLN128
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 12374F40-F54E-4530-9E5F-7CD2575C7E6D

Device         Start       End   Sectors  Size Type
/dev/sdb1         34   1026047   1026014  501M EFI System
/dev/sdb2    1026048  18434047  17408000  8.3G Linux swap
/dev/sdb3   18434048 123291647 104857600   50G Linux root (x86-64)
/dev/sdb4  123291648 238635007 115343360   55G Linux home
/dev/sdb5  238635008 250068991  11433984  5.5G Microsoft basic data

Partition 1 does not start on physical sector boundary.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.