No, you can't ever shrink a pool.
Have you tried to truncate a file ? as in :file_to_delete
On Tue, Feb 5, 2013 at 6:18 AM, Karel <kar...@gmail.com> wrote:Thanks for the tip but I don't seem to have any snapshots. I do have an oldusb drive laying around. Would it be possible to attach it to the pooltemporarily delete something and then remove it?I have 2 drives in a mirror setup.Cheers,Karel.On Monday, February 4, 2013 2:29:01 PM UTC+1, Lucien wrote:Also sprach Karel at 2/4/13 6:06 AM:I Accidently filled a mirrored pair of drives when I was rendering tothat volume. There is 0 KB free on the drive.Now I'm not able to delete any of the files on the drive. I get the
message "The operation can�t be completed because the disk is full."
gmason@dev-intel07:~> ls -lah testfile1-rw-r--r-- 1 gmason staff 16M 2009-03-23 10:44 testfile1gmason@dev-intel07:~> > testfile1gmason@dev-intel07:~> ls -lah testfile1-rw-r--r-- 1 gmason staff 0 2009-03-23 11:41 testfile1gmason@dev-intel07:~> rm testfile1gmason@dev-intel07:~> ls -lah testfile1/bin/ls: testfile1: No such file or directory
Thanks for the tip but I don't seem to have any snapshots. I do have an old usb drive laying around. Would it be possible to attach it to the pool temporarily delete something and then remove it?I have 2 drives in a mirror setup.Cheers,
Karel.
On Monday, February 4, 2013 2:29:01 PM UTC+1, Lucien wrote:
Also sprach Karel at 2/4/13 6:06 AM:
> I Accidently filled a mirrored pair of drives when I was rendering to that volume. There is 0 KB free on the drive.
>
> Now I'm not able to delete any of the files on the drive. I get the message "The operation can�t be completed because the disk is full."
>
> Anyone any idea of what to do? I don't have a spare disk laying around to make a copy, format and start all over...
Do you have any snapshots you can delete? If you do, you can nuke as
many of those as necessary to free up space to resume "normal"
deleting. (If you have snapshots, those cause deletes to be
copy-on-write instead of just a normal delete, which means you need
enough space for a new directory entry as a duplicate minus the file
you are deleting. A few kilobytes really matter when you don't have
over a megabyte free!)
You could also try a rollback, but I've never tried that the couple
times I've accidentally filled up the pool.
Also, from the FreebSD mailing list[1]:
For the file you want to delete:
$ cat /dev/null >/file/to/delete
and then try deleting.
^1 <http://lists.freebsd.org/pipermail/freebsd-current/2008-January/082615.html>
--
--
<kareldc.jpg>
Warmoesstraat 90