mounted volume 100% full. cannot rm anything

Status
Not open for further replies.

wolf29

Cadet
Joined
Mar 20, 2012
Messages
7
[SOLVED] mounted volume 100% full. cannot rm anything

my 4-disk raidz volume is entirely full.
attempt to remove a file or two fail it says the "drive is full"
This would be helpful if I wasn't aware of the issue.

here is the df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs1a 927M 375M 477M 44% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 4.6M 1.9M 2.3M 45% /etc
/dev/md1 824K 2.5K 756K 0% /mnt
/dev/md2 149M 10M 127M 7% /var
/dev/ufs/FreeNASs4 20M 997K 17M 5% /data
Bin100 67G 67G 0B 100% /mnt/Bin100
Bin200 776G 128G 648G 17% /mnt/Bin200

would it make sense to copy the whole thing to Bin200 and blow away Bin100 and then remake it?
Bin100 is the listed home of a bunch of users. If I blow it away and recreate it bigger, will that change anything at all in /etc/passwd or other stores of info about the users' home directories?

I know I can copy files to Bin2 I tried one and it worked. Probably rsync would work. I could probably make the other directory the main storage by adjusting all the users' information and it wouldn't make any difference.

What do you think?

Wolf
 

Gnome

Explorer
Joined
Aug 18, 2011
Messages
87
Doesn't matter what you do, your only option is to copy everything somewhere else and remove the dataset.

RAID-Z is copy on write, so if you happen to reach 100% it's over. It can no longer write and therefore you can no longer delete.
 

wolf29

Cadet
Joined
Mar 20, 2012
Messages
7
Thanks Gnome!
I ended up rsyncing array1 to array2
blowing away the volume array1
and rebuilding it (with another disk)
then syncing from array2 to array1
Everything worked great.
 
Status
Not open for further replies.
Top