No more space on the SSD ... ?!


#1

Hello,

I have deleted most data on my backup drive but there are no more space farther …

NAME         SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT

SATABACKUP 1,86T 1,52T 345G - 0% 81% 1.00x ONLINE -
tank 1,84T 487G 1,37T - 0% 25% 1.00x ONLINE -

Why is it so and what can I do for free the space ?

Thanks and regards,
Max.


#2

% gpart show


#3

zfs list -t snapshot

That tells us how many snapshots you have and start to give a clue where the space is.


#4
[max@myBSD] ~> gpart show

=> 40 4000797280 nvd0 GPT (1.9T)
40 204800 1 efi (100M)
204840 3992172544 2 freebsd-zfs (1.9T)
3992377384 8388608 3 freebsd-swap (4.0G)
4000765992 31328 - free - (15M)

=> 34 976773101 nvd1 GPT (466G)
34 976773101 - free - (466G)

=> 34 490234685 ada0 GPT (234G)
34 4063 - free - (2.0M)
4097 614401 1 efi (300M)
618498 417276156 2 linux-data (199G)
417894654 72328821 3 linux-swap (34G)
490223475 11244 - free - (5.5M)


#5

Sorry. Saw You writing. Wanted to be first.
I know: It’s childish. My apologies.


#6

% zpool list -v


#7

:stuck_out_tongue_winking_eye:
@originalmax:
SATABACKUP is the one you’re asking about? Is that an external drive? I’m not seeing a second freebsd-zfs partition type in the gpart show output.


#8

[max@myBSD] ~> zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
SATABACKUP 1,86T 1,40T 466G - 0% 75% 1.00x ONLINE -
tank 1,84T 479G 1,38T - 0% 25% 1.00x ONLINE -
[max@myBSD] ~> zpool list -v
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
SATABACKUP 1,86T 1,40T 466G - 0% 75% 1.00x ONLINE -
ada1 1,86T 1,40T 466G - 0% 75%
tank 1,84T 479G 1,38T - 0% 25% 1.00x ONLINE -
nvd0p2 1,84T 479G 1,38T - 0% 25%


#9
  • no - this is an internal SSD drive (2TB SATA SSD )

#10
  • I have deleted all snapshots in the LifePreserver but the space is down still …

#11

Why is there both, ada0 and ada1?


#12

[max@myBSD] ~> camcontrol devlist
APPLE SSD TS256B AGAA0206 at scbus4 target 0 lun 0 (pass0,ada0)
Crucial CT2050MX300SSD1 M0CR060 at scbus6 target 0 lun 0 (pass1,ada1)

and -

[max@myBSD] /usr/home/max# nvmecontrol devlist

nvme0: Samsung SSD 960 PRO 2TB
nvme0ns1 (1953514MB)
nvme1: Samsung SSD 960 EVO 500GB
nvme1ns1 (476940MB)


#13

Couldn’t answer sooner. Had a Bad Gateway message.

I’d suggest, You destroy the SATABACKUP pool.

zpool destroy [-f] pool

Then recreate.

Either on whole disk.
Or on “freebsd-zfs” partition/slice/whatever.
If on whole disk, delete partition table.