Hi,
I've installed a large disk in a new machine and loaded Debian
(bookworm) on it, but it's showing as limited to 2TB when the disk
should be larger.
How can I get Debian to use the full 8TB on this disk?
Thanks,
Alex
The disk is an 8TB model:
root@fj2:/home/installer# smartctl -i /dev/sdb
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-29-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate BarraCuda 3.5 (SMR)
Device Model: ST8000DM004-2U9188
Serial Number: WSC2L45L
LU WWN Device Id: 5 000c50 0f79d1878
Firmware Version: 0001
User Capacity: 8,001,563,222,016 bytes [8.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Tue Mar 11 21:06:13 2025 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
However it's showing in the kernel as 2TB:
root@fj2:/home/installer# cat /proc/partitions
major minor #blocks name
11 0 1048575 sr0
8 0 7913472 sda
8 16 2147483647 sdb
8 17 524288 sdb1
8 18 499712 sdb2
8 19 18505728 sdb3
9 0 18488320 md0
7 0 3887968 loop0
root@fj2:/home/installer# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 3.7G 1 loop /debiancd
sda 8:0 0 7.5G 0 disk
sdb 8:16 0 2T 0 disk
|-sdb1 8:17 0 512M 0 part /boot/efi
|-sdb2 8:18 0 488M 0 part /boot
`-sdb3 8:19 0 17.6G 0 part
`-md0 9:0 0 17.6G 0 raid1 /
sr0 11:0 1 1024M 0 rom
root@fj2:/home/installer# dmesg|grep sdb
[ 12.977869] sd 7:0:0:0: [sdb] 4294967294 512-byte logical blocks:
(2.20 TB/2.00 TiB)
...
root@fj2:/home/installer# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.9
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 4294967294 sectors, 2.0 TiB
Model: ST8000DM004-2U91
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): DA432E93-F76C-40A0-88CC-22BDF590DF11
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 4294967260
Partitions will be aligned on 2048-sector boundaries
Total free space is 4255907771 sectors (2.0 TiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1050623 512.0 MiB EF00 1
2 1050624 2050047 488.0 MiB 8300 2
3 2050048 39061503 17.6 GiB FD00 3
root@fj2:/home/installer# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@fj2:/home/installer# cat /proc/version
Linux version 6.1.0-29-amd64 (debian-ker...@lists.debian.org) (gcc-12
(Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP
PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02)