Storage limit exceeded

Hello,

My configuration is as follows: I am in ZimaOS+, v1.6.1

I have six disks in RAID5, one 22TB single, two 4TB singles.

I disabled the two 4TB singles to create a single volume of 8TB in RAID0 Result:

I then decided to put the two 4TB volumes back into singles… Same message: Storage limit exceeded

If someone has a solution…

Thanks

If you’re not on ZimaOS+, this isn’t really an error, it’s the storage cap kicking in.

With that many drives (RAID5 + 22TB + extras), you’ve gone over the free limit, so Zima just blocks any further changes, even reverting back.

Nothing broken, just the license limit.
You’ll either need to reduce active storage or move to ZimaOS+

I’m already in ZimaOS+

Ahh ok, if you’re already on ZimaOS+, then yeah this isn’t the license limit.

This looks more like the system still “holding onto” the old RAID allocation after you switched things back. It can leave the storage accounting in a weird state, so it still thinks you’re over the limit.

You didn’t do anything wrong, it’s likely just not recalculating properly after the RAID change.

At this point I’d keep it simple:

  • give it a reboot to force a refresh
  • if it still shows the same, it’s probably a 1.6.x storage bug and worth flagging to IceWhale

Seen a few odd edge cases like this around RAID changes

I have restarted several times. :-/

If I try to put the two disks back as single volume, as before, I have the same error message “Storage limit exceeded”.

It seems that the system keeps in memory the old connections or samba sharing for volumes or usb disk that no longer exist.

In the FILES/STORAGE/ browser I have 20 volumes in memory?? 13 are no longer present…

Yeah this explains it, those extra _1, _2 folders are leftover mount points from old disk/RAID configs.

Zima is still counting them as active storage, even though they’re not real mounts anymore, which is why you keep hitting “storage limit exceeded”.

Reboot won’t fix it because it’s not just memory, it’s stale mount + metadata.

Before touching anything, best to confirm what’s real vs leftover. You can safely run these (read-only):

lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT
df -h
mount | grep /media

What you’re looking for:

  • real disks will show up in all 3
  • “ghost” ones usually only exist as folders under /media or in the Files app

If you can, share those outputs, the key is to identify which paths are actual mounts vs just leftover directories before cleaning anything up.

This looks like a 1.6.x storage edge case, so once confirmed it’s safe, we can guide the cleanup properly

Hello :slight_smile:

Now that I know the volumes that should no longer be present, is there a particular command to execute to delete the phantom directory.

Maybe a system update is in preparation?

Many thanks

Yeah, I would avoid manually deleting anything for now until IceWhale confirms the proper cleanup method, especially with the 1.6.x storage changes.

At the moment we really need to see the results from the commands posted earlier first, so we can confirm which entries are real mounted volumes and which ones are just leftover “ghost” folders.

A few of us have started seeing similar behaviour lately after RAID/layout changes, so this does look more like a storage metadata/mount cleanup issue than actual disk corruption.

Hello

Here is the result :slight_smile:

─── Welcome to Zima OS,
jerrrome7 ───
Date: Wednesday, May 13, 2026 | Uptime: up 1 week, 22 hours, 1 minute

jerrrome7@ZimaOS-SERVEUR:~ ➜ $ lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT
NAME SIZE FSTYPE MOUNTPOINT
loop0 4.5M squashfs
loop1 208K squashfs
loop2 1.1M squashfs
loop3 137.3M squashfs
loop4 1.1M squashfs
loop5 208K squashfs
loop6 137.3M squashfs
loop7 4.5M squashfs
sda 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sdb 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sdc 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sdd 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sde 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sdf 3.6T linux_raid_member
└─md0 18.2T btrfs /var/lib/casaos_data/.media/Zima-SERVEUR
sdg 20T btrfs /var/lib/casaos_data/.media/22To-SERVEUR
sdh 223.6G
├─sdh1 100M vfat
├─sdh2 16M
├─sdh3 222.9G ntfs
└─sdh4 560M ntfs
sdi 3.6T
├─sdi1 200M vfat
└─sdi2 3.6T exfat
sdj 3.6T
├─sdj1 200M vfat
└─sdj2 3.6T exfat
nbd0 0B
nbd1 0B
nbd2 0B
nbd3 0B
nbd4 0B
nbd5 0B
nbd6 0B
nbd7 0B
zram0 2G [SWAP]
zram1 0B
zram2 0B
nvme0n1 931.5G
├─nvme0n1p1 32M vfat /mnt/boot
├─nvme0n1p2 24M squashfs
├─nvme0n1p3 6G squashfs
├─nvme0n1p4 24M squashfs
├─nvme0n1p5 6G squashfs /
├─nvme0n1p6 8M
├─nvme0n1p7 96M ext4 /mnt/overlay
└─nvme0n1p8 919.3G ext4 /DATA
nbd8 0B
nbd9 0B
nbd10 0B
nbd11 0B
nbd12 0B
nbd13 0B
nbd14 0B
nbd15 0B

jerrrome7@ZimaOS-SERVEUR:~ ➜ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 1.2G 1.2G 0 100% /
devtmpfs 16G 0 16G 0% /dev
/dev/nvme0n1p7 85M 248K 78M 1% /mnt/overlay
overlayfs 85M 248K 78M 1% /etc
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 6.3G 11M 6.3G 1% /run
tmpfs 16G 0 16G 0% /tmp
tmpfs 16G 2.3M 16G 1% /var
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-udev-load-credentials.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-network-generator.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-vconsole-setup.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysctl.service
/dev/nvme0n1p1 32M 732K 32M 3% /mnt/boot
/dev/nvme0n1p8 904G 354G 551G 40% /DATA
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-networkd.service
sysext 16G 8.0K 16G 1% /usr
/dev/sdg 21T 18T 2.8T 87% /media/22To-SERVEUR
/dev/md0 19T 11T 7.5T 59% /media/Zima-SERVEUR
//192.168.1.175/Zima-BACKUP 88T 81T 7.2T 92% /media/192.168.1.175/Zima-BACKUP
//192.168.1.175/8To-BACKUP 7.3T 7.0T 355G 96% /media/192.168.1.175/8To-BACKUP
//192.168.1.175/ZimaOS-HD 904G 80G 825G 9% /media/192.168.1.175/ZimaOS-HD
//192.168.1.87/Multimedia 8.2T 5.4T 2.8T 66% /media/192.168.1.87/Multimedia
//192.168.1.87/Download 8.2T 5.4T 2.8T 66% /media/192.168.1.87/Download
//192.168.1.87/Web 8.2T 5.4T 2.8T 66% /media/192.168.1.87/Web
//192.168.1.87/Public 8.2T 5.4T 2.8T 66% /media/192.168.1.87/Public
//192.168.1.87/Qnap-MEDIAS 8.2T 5.4T 2.8T 66% /media/192.168.1.87/Qnap-MEDIAS
//192.168.1.88/Multimedia 8.1T 5.3T 2.9T 65% /media/192.168.1.88/Multimedia
//192.168.1.88/Download 8.1T 5.3T 2.9T 65% /media/192.168.1.88/Download
//192.168.1.88/Web 8.1T 5.3T 2.9T 65% /media/192.168.1.88/Web
//192.168.1.88/Public 8.1T 5.3T 2.9T 65% /media/192.168.1.88/Public
//192.168.1.88/homes 8.1T 5.3T 2.9T 65% /media/192.168.1.88/homes
//192.168.1.88/Qnap-HOME 8.1T 5.3T 2.9T 65% /media/192.168.1.88/Qnap-HOME
//192.168.1.88/home 8.1T 5.3T 2.9T 65% /media/192.168.1.88/home
//192.168.1.89/homes 15T 12T 2.9T 80% /media/192.168.1.89/homes
//192.168.1.89/Plex 15T 12T 2.9T 80% /media/192.168.1.89/Plex
//192.168.1.89/Syno-DS1511 15T 12T 2.9T 80% /media/192.168.1.89/Syno-DS1511
//192.168.1.89/Syno-DX513-1 15T 12T 3.1T 80% /media/192.168.1.89/Syno-DX513-1
//192.168.1.89/Syno-DX513-2 11T 8.5T 2.4T 79% /media/192.168.1.89/Syno-DX513-2
//192.168.1.89/home 15T 12T 2.9T 80% /media/192.168.1.89/home

jerrrome7@ZimaOS-SERVEUR:~ ➜ $ mount | grep /media
/dev/nvme0n1p8 on /media type ext4 (rw,relatime,commit=30,stripe=64)
/dev/sdg on /media/22To-SERVEUR type btrfs (rw,relatime,noacl,space_cache=v2,subvolid=5,subvol=/)
/dev/md0 on /media/Zima-SERVEUR type btrfs (rw,nosuid,nodev,noatime,nodiratime,noacl,space_cache=v2,subvolid=5,subvol=/)
//192.168.1.175/Zima-BACKUP on /media/192.168.1.175/Zima-BACKUP type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=
jerrrome7,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.175,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.175/8To-BACKUP on /media/192.168.1.175/8To-BACKUP type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=
jerrrome7,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.175,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.175/ZimaOS-HD on /media/192.168.1.175/ZimaOS-HD type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=
jerrrome7,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.175,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.87/Multimedia on /media/192.168.1.87/Multimedia type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.87,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.87/Download on /media/192.168.1.87/Download type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.87,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.87/Web on /media/192.168.1.87/Web type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.87,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.87/Public on /media/192.168.1.87/Public type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.87,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.87/Qnap-MEDIAS on /media/192.168.1.87/Qnap-MEDIAS type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.87,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/Multimedia on /media/192.168.1.88/Multimedia type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/Download on /media/192.168.1.88/Download type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/Web on /media/192.168.1.88/Web type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/Public on /media/192.168.1.88/Public type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/homes on /media/192.168.1.88/homes type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/Qnap-HOME on /media/192.168.1.88/Qnap-HOME type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.88/home on /media/192.168.1.88/home type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.88,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/homes on /media/192.168.1.89/homes type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/Plex on /media/192.168.1.89/Plex type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/Syno-DS1511 on /media/192.168.1.89/Syno-DS1511 type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/Syno-DX513-1 on /media/192.168.1.89/Syno-DX513-1 type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/Syno-DX513-2 on /media/192.168.1.89/Syno-DX513-2 type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
//192.168.1.89/home on /media/192.168.1.89/home type cifs (rw,nosuid,nodev,noatime,vers=3.1.1,cache=strict,username=JR,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.89,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)

Thanks for posting the outputs this is actually very helpful.

Your real local storage looks clean:

  • /media/Zima-SERVEUR
  • /media/22To-SERVEUR

Those are properly mounted and consistent across lsblk, df -h, and mount.

What does stand out though is the very large number of CIFS/SMB mounts under /media/... from multiple NAS devices.

So at this point, I’m starting to suspect the Files app/storage service may be counting old network mounts and stale metadata together, which could explain why the UI thinks there are far more “volumes” than actually exist.

The good news is:

  • I don’t see obvious broken local mounts
  • your RAID itself looks healthy
  • this doesn’t look like disk corruption

I would still avoid manually deleting folders for now until IceWhale confirms the correct cleanup method, especially with the 1.6.x storage changes.

Honestly this is looking more and more like a backend metadata issue rather than an actual storage problem