I'm in a little of a bind.
A server located in South Korea had a runaway log that in a very short time filled the root ZFS partition fully and caused a crash (note: the guy who set it up is long gone). I logged into the machine shortly before it crashed and stopped the program and deleted the log file. I do not have the option of live booting a *BSD/mfsBSD and trying to fix the issue that way.
Problem is that the file was deleted but the space was not reclaimed - according to a friend this might be due to the journal not having space to be updated.
Shortly after this the machine froze, after spending 90 minutes on the phone with the 'tech support' at the site I had them cycle the power.
When it came back up the filesystem was still almost full (9MB free, I've cleaned out /usr/ports/distfiles and removed /usr/src giving me a whopping 1GB free space) but with 531GB out of 534GB missing.
Also the file is not showing in
Any help/idea would be greatly appreciated
A server located in South Korea had a runaway log that in a very short time filled the root ZFS partition fully and caused a crash (note: the guy who set it up is long gone). I logged into the machine shortly before it crashed and stopped the program and deleted the log file. I do not have the option of live booting a *BSD/mfsBSD and trying to fix the issue that way.
Problem is that the file was deleted but the space was not reclaimed - according to a friend this might be due to the journal not having space to be updated.
Shortly after this the machine froze, after spending 90 minutes on the phone with the 'tech support' at the site I had them cycle the power.
When it came back up the filesystem was still almost full (9MB free, I've cleaned out /usr/ports/distfiles and removed /usr/src giving me a whopping 1GB free space) but with 531GB out of 534GB missing.
Code:
[root@loki /]# df -h
Filesystem Size Used Avail Capacity Mounted on
rpool/root 534G 533G 1.0G 100% /
devfs 1.0k 1.0k 0B 100% /dev
dpool 10T 71k 10T 0% /dpool
rpool/root/tmp 1.0G 122k 1.0G 0% /tmp
rpool/root/var 1.7G 714M 1.0G 40% /var
dpool/leapnet 10T 5.7G 10T 0% /var/leapnet
dpool/leapnet/archive 10T 71k 10T 0% /var/leapnet/archive
dpool/leapnet/buffer 10T 71k 10T 0% /var/leapnet/buffer
dpool/leapnet/cache 10T 71k 10T 0% /var/leapnet/cache
dpool/leapnet/logs 10T 71k 10T 0% /var/leapnet/logs
dpool/leapnet/temp 10T 71k 10T 0% /var/leapnet/temp
linprocfs 4.0k 4.0k 0B 100% /compat/linux/proc
fdescfs 1.0k 1.0k 0B 100% /dev/fd
procfs 4.0k 4.0k 0B 100% /proc
Code:
[root@loki /]# du -d1 -h -x
1.5k ./var
512B ./dev
1.5k ./media
82M ./boot
3.0k ./dpool
1.5k ./mnt
9.5k ./tmp
0B ./proc
43k ./root
5.0M ./rescue
130k ./libexec
9.0M ./lib
1.5k ./rpool
1.3M ./bin
1.7G ./usr
5.3M ./sbin
145M ./compat
1.9M ./etc
2G .
Code:
[root@loki /]# zfs list -t snapshot
no datasets available
Code:
[root@loki /]# zfs list -t all
NAME USED AVAIL REFER MOUNTPOINT
dpool 5.73G 10.5T 71.1K /dpool
dpool/leapnet 5.73G 10.5T 5.73G /var/leapnet
dpool/leapnet/archive 71.1K 10.5T 71.1K /var/leapnet/archive
dpool/leapnet/buffer 71.1K 10.5T 71.1K /var/leapnet/buffer
dpool/leapnet/cache 71.1K 10.5T 71.1K /var/leapnet/cache
dpool/leapnet/logs 71.1K 10.5T 71.1K /var/leapnet/logs
dpool/leapnet/temp 71.1K 10.5T 71.1K /var/leapnet/temp
rpool 534G 1.03G 31K /rpool
rpool/root 534G 1.03G 534G /
rpool/root/tmp 122K 1.03G 122K /tmp
rpool/root/var 715M 1.03G 715M /var
Also the file is not showing in
lsof
or fstat
.Any help/idea would be greatly appreciated