You are not logged in.

#1 2021-10-17 20:40:58

kmsgli
Member
Registered: 2015-08-15
Posts: 28

lsblk and fdisk do not match

Hey folks cant figure out if I have a problem or not.

Fresh Arch install (i have installed a bunch of times and install process is not new to me). The lsblk command shows a hdd that is not in my system with no space on it.

For some strange reason lsblk command reads this

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 111.8G  0 disk 
|-sda1   8:1    0   512M  0 part 
`-sda2   8:2    0 111.3G  0 part /
sdb      8:16   0 931.5G  0 disk 
`-sdb1   8:17   0 931.5G  0 part /nextcloud
sdc      8:32   0 232.9G  0 disk 
`-sdc1   8:33   0 232.9G  0 part /backups
sdd      8:48   1     0B  0 disk 

The output of fdisk -l is correct not showing sdd

Disk /dev/sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B96F3C63-6247-0845-A9C7-348E8187C410

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1050623   1048576   512M EFI System
/dev/sda2  1050624 234441614 233390991 111.3G Linux filesystem


Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-75Z
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: dos
Disk identifier: 0xfd93996b

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953525167 1953523120 931.5G 83 Linux


Disk /dev/sdc: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDC WD2500AAKX-7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xea089375

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1        2048 488397167 488395120 232.9G 83 Linux

I can only assume something weird happened during install and normally I would just re install but it took a good bit of time to get my nextcloud working right and I would rather not have to do it again.

I am not even sure its a problem as I cant seem to see any issues with it but it is somewhat concerning as I dont have a fourth HDD in the system.

Any help is greatly appreciated.

Thanks.

Offline

#2 2021-10-17 21:31:21

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: lsblk and fdisk do not match

Check "dmesg"/"sudo journalctl -b" for what added the device. My money is on some card reader.

Offline

#3 2021-10-18 02:55:56

kmsgli
Member
Registered: 2015-08-15
Posts: 28

Re: lsblk and fdisk do not match

dmesg and the journalctl log is a good bit of info what am I looking for exactly?

Offline

#4 2021-10-18 06:10:17

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: lsblk and fdisk do not match

"sdd"? - At some point the storage device is registered and you're interested in the conext of that.

Offline

Board footer

Powered by FluxBB