Error trying to shrink partition

I have RebornOS installed and just went into the 251103 Dr460nized-gaming live to shrink my partition and install Dr460nized-gaming and got the below for the first time ever shrink a partition. I’m not seeing any issues in RebornOS, it’s running great.

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />
<title>GParted Details</title>
<style type='text/css'>
table {border:0}
th {text-align:left}
.number_col {text-align:right}
</style>
</head>
<body>
<p>GParted 1.7.0</p>
<p>configuration --enable-libparted-dmraid</p>
<p>libparted 3.6</p>
<p>========================================</p>
<table>
<tr><th>Device:</th><td>/dev/nvme0n1</td></tr>
<tr><th>Model:</th><td>Samsung SSD 9100 PRO 2TB</td></tr>
<tr><th>Serial:</th><td>S7YCNJ0Y321103D</td></tr>
<tr><th>Sector size:</th><td>512</td></tr>
<tr><th>Total sectors:</th><td>3907029168</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<tr><th>Heads:</th><td>255</td></tr>
<tr><th>Sectors/track:</th><td>2</td></tr>
<tr><th>Cylinders:</th><td>7660841</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<tr><th>Partition table:</th><td>gpt</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
</table>
<table>
<tr><th>Partition</th><th>Type</th><th class='number_col'>Start</th><th class='number_col'>End</th><th>Flags</th><th>Partition Name</th><th>File System</th><th>Label</th><th>Mount Point</th></tr>
<tr><td>/dev/nvme0n1p1</td><td>Primary</td><td class='number_col'>4096</td><td class='number_col'>618495</td><td>boot, esp</td><td></td><td>fat32</td><td></td><td></td></tr>
<tr><td>/dev/nvme0n1p2</td><td>Primary</td><td class='number_col'>618496</td><td class='number_col'>3907029101</td><td></td><td>root</td><td>btrfs</td><td></td><td></td></tr>
</table>
<p>========================================</p>
<table>
<tr><th>Device:</th><td>/dev/sda</td></tr>
<tr><th>Model:</th><td>USB  SanDisk 3.2Gen1</td></tr>
<tr><th>Serial:</th><td>040107d6997961a7c32fb5086be2e3085f8c7a6cb6058be46213ff79eb94698c6bf70000000000000000000016c6e47d001f84189555810727323db4</td></tr>
<tr><th>Sector size:</th><td>512</td></tr>
<tr><th>Total sectors:</th><td>240328704</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<tr><th>Heads:</th><td>255</td></tr>
<tr><th>Sectors/track:</th><td>2</td></tr>
<tr><th>Cylinders:</th><td>471232</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
<tr><th>Partition table:</th><td>gpt</td></tr>
<tr><td colspan='2'>&nbsp;</td></tr>
</table>
<table>
<tr><th>Partition</th><th>Type</th><th class='number_col'>Start</th><th class='number_col'>End</th><th>Flags</th><th>Partition Name</th><th>File System</th><th>Label</th><th>Mount Point</th></tr>
<tr><td>/dev/sda1</td><td>Primary</td><td class='number_col'>2048</td><td class='number_col'>240263127</td><td>msftdata</td><td>Ventoy</td><td>exfat</td><td>Ventoy</td><td></td></tr>
<tr><td>/dev/sda2</td><td>Primary</td><td class='number_col'>240263128</td><td class='number_col'>240328663</td><td>msftdata, no_automount</td><td>VTOYEFI</td><td>iso9660</td><td>GARUDA_DR460NIZEDGAMING_BROADWIN</td><td></td></tr>
</table>
<p>========================================</p>
<table>
<tr>
<td colspan='2'>
<b>Shrink /dev/nvme0n1p2 from 1.82 TiB to 931.36 GiB</b>&nbsp;&nbsp;00:00:15&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td colspan='2'>
calibrate /dev/nvme0n1p2&nbsp;&nbsp;00:00:00&nbsp;&nbsp;&nbsp;&nbsp;( SUCCESS )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td colspan='2'>
<i>path: /dev/nvme0n1p2 (partition)<br />start: 618496<br />end: 3907029101<br />size: 3906410606 (1.82 TiB)</i>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table>
<tr>
<td colspan='2'>
check file system on /dev/nvme0n1p2 for errors and (if possible) fix them&nbsp;&nbsp;00:00:15&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td colspan='2'>
<b><i>btrfs check &apos;/dev/nvme0n1p2&apos;</i></b>&nbsp;&nbsp;00:00:15&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td colspan='2'>
<i>Opening filesystem to check...<br />Checking filesystem on /dev/nvme0n1p2<br />UUID: 61f281e6-527e-4bae-8f38-1ff11d5b771e<br />found 62428413952 bytes used, error(s) found<br />total csum bytes: 57973552<br />total tree bytes: 1531478016<br />total fs tree bytes: 1358954496<br />total extent tree bytes: 97419264<br />btree space waste bytes: 261547123<br />file data blocks allocated: 828505653248<br /> referenced 117035765760<br /></i>
</td>
</tr>
</table>
<table>
<tr>
<td colspan='2'>
<i>[1/8] checking log<br />[2/8] checking root items<br />[3/8] checking extents<br />[4/8] checking free space tree<br />We have a space info key for a block group that doesn&apos;t exist<br />[5/8] checking fs roots<br />[6/8] checking only csums items (without verifying data)<br />[7/8] checking root refs<br />[8/8] checking quota groups skipped (not enabled on this FS)<br /></i>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
System:
  Host: CCCP64 Kernel: 6.17.7-zen1-1-zen arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.5.1 Distro: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING X870-PLUS WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1078
    date: 07/14/2025
CPU:
  Info: 8-core model: AMD Ryzen 7 7700X bits: 64 type: MT MCP cache: L2: 8 MiB
  Speed (MHz): avg: 2989 min/max: 403/5576 cores: 1: 2989 2: 2989 3: 2989
    4: 2989 5: 2989 6: 2989 7: 2989 8: 2989 9: 2989 10: 2989 11: 2989 12: 2989
    13: 2989 14: 2989 15: 2989 16: 2989
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 44 [Radeon RX 9060 XT]
    driver: amdgpu v: kernel
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael driver: amdgpu
    v: kernel
  Device-3: Logitech Webcam C930e driver: snd-usb-audio,uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.20 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: modesetting dri: radeonsi
    gpu: amdgpu resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.6-arch1.1
    renderer: AMD Radeon Graphics (radeonsi gfx1200 LLVM 21.1.4 DRM 3.64
    6.17.7-zen1-1-zen)
  API: Vulkan Message: No Vulkan data available.
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: lact wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 48 HDMI/DP Audio
    driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] driver: snd_hda_intel
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    driver: snd_hda_intel
  Device-4: Logitech Webcam C930e driver: snd-usb-audio,uvcvideo type: USB
  API: ALSA v: k6.17.7-zen1-1-zen status: kernel-api
  Server-1: PipeWire v: 1.4.9 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  IF: eno1 state: down mac: bc:fc:e7:d6:53:52
  Device-2: MEDIATEK driver: mt7925e
  IF: wlp9s0 state: up mac: a8:e2:91:18:2e:a8
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb type: USB
  Report: btmgmt ID: hci1 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: A8:E2:91:18:2E:A9 bt-v: 5.4
  Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
    driver: btusb type: USB
  Report: ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: 00:1A:7D:DA:71:13 bt-v: 4.0
Drives:
  Local Storage: total: 41.95 TiB used: 22.98 TiB (54.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 9100 PRO 2TB size: 1.82 TiB
  ID-2: /dev/sda vendor: Seagate model: Expansion HDD size: 20.01 TiB
    type: USB
  ID-3: /dev/sdb vendor: Seagate model: Expansion HDD size: 20.01 TiB
    type: USB
  ID-4: /dev/sdc vendor: SanDisk model: USB 3.2Gen1 size: 114.6 GiB
    type: USB
Partition:
  ID-1: / size: 1.82 TiB used: 59.71 GiB (3.2%) fs: btrfs dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 632 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 1.82 TiB used: 59.71 GiB (3.2%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 1.82 TiB used: 59.71 GiB (3.2%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%)
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 38.9 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 36.0 C device: amdgpu temp: 33.0 C fan: 0
Info:
  Memory: total: 128 GiB available: 124.95 GiB used: 10.67 GiB (8.5%)
  Processes: 568 Uptime: 14m Shell: Zsh inxi: 3.3.39
 sudo btrfs check --force /dev/nvme0n1p2                                                          HUP ✘  07:21:34 AM 
Opening filesystem to check...
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/nvme0n1p2
UUID: 61f281e6-527e-4bae-8f38-1ff11d5b771e
[1/8] checking log
[2/8] checking root items
[3/8] checking extents
[4/8] checking free space tree
**We have a space info key for a block group that doesn't exist**
[5/8] checking fs roots
[6/8] checking only csums items (without verifying data)
[7/8] checking root refs
[8/8] checking quota groups skipped (not enabled on this FS)
found 61644521472 bytes used, error(s) found
total csum bytes: 56768964
total tree bytes: 1430749184
total fs tree bytes: 1260879872
total extent tree bytes: 95436800
btree space waste bytes: 242394086
file data blocks allocated: 482716098560
 referenced 108678684672

KDE Partition Manager

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>KDE Partition Manager: SMART Status Report</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>

<body>
<h1>KDE Partition Manager: SMART Status Report</h1>

<table>
<tr>
<td style='font-weight:bold;padding-right:20px;'>Date:</td>
<td>11/5/25 3:34 PM</td>
</tr>
<tr>
<td style='font-weight:bold;padding-right:20px;'>Program version:</td>
<td>25.08.2</td>
</tr>
<tr>
<td style='font-weight:bold;padding-right:20px;'>Backend:</td>
<td>pmsfdiskbackendplugin (1)</td>
</tr>
<tr>
<td style='font-weight:bold;padding-right:20px;'>KDE Frameworks version:</td>
<td>6.18.0</td>
</tr>
<tr>
<td style='font-weight:bold;padding-right:20px;'>Machine:</td>
<td>Linux garuda-dr460nized-gaming 6.17.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 29 Oct 2025 22:23:44 +0000 x86_64</td>
</tr>
</table>
<br/>
<table>
<div>

<b>Shrink partition ‘/dev/nvme0n1p2’ from 1.82 TiB to 931.36 GiB</b>

<div style='margin-left:24px;margin-top:12px;margin-bottom:12px'>

<b>Job: Check file system on partition ‘/dev/nvme0n1p2’</b>

<div style='margin-left:24px;margin-top:12px;margin-bottom:12px'>

<b>Command: btrfs check /dev/nvme0n1p2</b>

<br/>
</div>

<b>Check file system on partition ‘/dev/nvme0n1p2’: Error</b><br/>

</div>

<div style='margin-left:24px;margin-top:12px;margin-bottom:12px'>
<pre>Checking partition ‘/dev/nvme0n1p2’ before resize/move failed.
</pre>

<br/>
</div>

<b>Shrink partition ‘/dev/nvme0n1p2’ from 1.82 TiB to 931.36 GiB: Error</b><br/>

</div>



</body>
</html>

Are you trying to shrink it from a live ISO? Try unmounting if you haven’t already.

In a live environment they’re never automounted, or at least shouldn’t be. sudo btrfs check --force /dev/nvme0n1p2 was run from within Reborn after I booted back into my installed system.

Have you tried using btrfs filesystem resize?

1 Like

I’ll take a look. I went back into the live Garuda ISO and tried with KDE Partition Manager then With the Garuda installer and both errored out. As for being mounted as I thought the partition wasn’t automounted.

Do try out the btrfs command line commands as I stated above and let me know

1 Like

Update I tried the previous Garuda point release just incase it was something in the live ISO just to see and got the same thing. Will tryout those commands later. Thanks

FWIW, when I need to manage my partitions, I use System Rescue, a live GNU/Linux image, and run gparted from that to resize my partitions, and it has succeeded with btrfs formatted partitions as well as those formatted with ext* (I run Garuda KDE-Lite dual-booted with Windows 11 here). You can get it at System Rescue. I hope it helps. Also, the image contains several other very useful utilities that come in very handy when bad stuff happens.

Ernie

2 Likes