Full disk

LeMishoK

Cadet
Joined
Aug 26, 2022
Messages
9
Hello, I am the point where I can't access my drive because it's 100% full by the backup manager (Iperius Backup) hasn't probably been setup properly by myself.
1705382156453.png


So, luckily this is just my home lab and data is not important at this point and I can erase everything. But I want a lesson to be learnt and also if this would be kinda production situation what would I do? Basically, are my files still there and can I access it somehow?
Also, in this particular situation, since the date is not important, how do I just simply format the drive and keeping all the settings? Basically erasing data on it. Thanks.

P.S. if I created this thread in the wrong place please move it to the proper location. THanks.
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
Your data is still there, but because ZFS is copy-on-write any operation, including deleting files to free space, would require free space to register additional metadata.
You can solve the issue by attaching a new vdev to get free space. If this is a mirror pool the problem is solved; space permitting, you'd even be able to remove a vdev later to return to the original layout, with larger drives and/or with some data deleted to free space. If this is raidz pool, you're stuck with the additional vdev forever.
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
Hello, I am the point where I can't access my drive because it's 100% full by the backup manager (Iperius Backup) hasn't probably been setup properly by myself.
View attachment 74729

So, luckily this is just my home lab and data is not important at this point and I can erase everything. But I want a lesson to be learnt and also if this would be kinda production situation what would I do? Basically, are my files still there and can I access it somehow?
Also, in this particular situation, since the date is not important, how do I just simply format the drive and keeping all the settings? Basically erasing data on it. Thanks.

P.S. if I created this thread in the wrong place please move it to the proper location. THanks.
Have a look at this post. You might learn a thing or two.
https://www.truenas.com/community/threads/no-space-left-on-device.115570/#post-802072
 

LeMishoK

Cadet
Joined
Aug 26, 2022
Messages
9
So I went to shell and used commands:
Code:
zfs list
cd "path to my nas drive"
ls
rm -r "folder name I wanted to remove"

Then simply rebooted device and voila I got freed up my space and have my drive accessible again. Thanks!
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
You could setup a quota for the user so it never exceeds 90% again. Just a thought.
 
Top