Page 1 of 1

19.3, BTRFS & partition resizing

Posted: Tue Jun 30, 2020 1:09 pm
by jdmckay

Code: Select all

jim@HP-14:~$ inxi -Fxxxrz
System:
  Host: HP-14 Kernel: 5.3.0-61-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin 4.4.2 dm: LightDM 1.26.0 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: HP product: HP Laptop 14-cm0xxx v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 84A0 v: 83.19 serial: <filter> UEFI: AMI v: F.24 
  date: 01/04/2019 
Battery:
  ID-1: BAT0 charge: 34.8 Wh condition: 37.3/37.3 Wh (100%) volts: 12.5/11.6 
  model: Hewlett-Packard Primary type: Li-ion serial: <filter> 
  status: Discharging 
CPU:
  Topology: Dual Core model: AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G 
  bits: 64 type: MCP arch: Excavator L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 12375 
  Speed: 1397 MHz min/max: 1400/3100 MHz boost: enabled Core speeds (MHz): 
  1: 1472 2: 1436 
Graphics:
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Hewlett-Packard 
  driver: amdgpu v: kernel bus ID: 00:01.0 chip ID: 1002:98e4 
  Display: x11 server: X.Org 1.19.6 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,radeon,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD STONEY (DRM 3.33.0 5.3.0-61-generic LLVM 9.0.0) 
  v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:
  Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 00:01.1 chip ID: 1002:15b3 
  Device-2: AMD Family 15h Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:09.2 chip ID: 1022:157a 
  Sound Server: ALSA v: k5.3.0-61-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtl8821ce v: N/A port: d000 
  bus ID: 03:00.0 chip ID: 10ec:c821 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 148.36 GiB used: 47.93 GiB (32.3%) 
  ID-1: /dev/sda vendor: Samsung model: MZNLN128HAHQ-000H1 size: 119.24 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 4H3Q scheme: GPT 
  ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Fit size: 29.11 GiB 
  serial: <filter> rev: 1.27 scheme: MBR 
Partition:
  ID-1: / size: 36.47 GiB used: 33.81 GiB (92.7%) fs: btrfs dev: /dev/sda2 
  ID-2: /home size: 49.39 GiB used: 5.65 GiB (11.4%) fs: btrfs 
  dev: /dev/sda4 
  ID-3: swap-1 size: 6.52 GiB used: 33.1 MiB (0.5%) fs: swap dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 40.6 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google.list 
  1: deb http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com tricia main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restriI amcted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
Info:
  Processes: 258 Uptime: 5h 57m Memory: 3.73 GiB used: 1.89 GiB (50.8%) 
  Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Shell: bash 
  v: 4.4.20 running in: gnome-terminal inxi: 3.0.32 
I have a relatively small SSD (38gb). After doing some reading I used BTRFC for 1st time, and pretty happy. My root directory usage has grown to the point it needs more space. Generally root volume is relatively static, at least not increasing at this rate. I am wondering if BTRFC is adding backup/imaging or (???) files and if so, how can I manage them? And if not, can I clean up substantial space or do I need to resize?

Thanks.