Syslog dataset is now at 19.2 TB as a result of the syslog service that has now taken over the remaining disk space.
I have both tried to get deleted by following procedure :
you should be comfortable two delete the syslog dataset in the GUI now
and:
Boot into single user mode
If I run the following script fstat / mnt / tank / syslog / log / * / mnt / tank / syslog / log / mnt / tank / syslog
I get the following result:
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
www nginx 3524 2 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
www nginx 3524 5 /mnt/tank/syslog 31 -rw-r--r-- 524262 w /m
nt/tank/syslog/log/nginx-access.log
www nginx 3524 6 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
root nginx 3523 2 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
root nginx 3523 5 /mnt/tank/syslog 31 -rw-r--r-- 524262 w /m
nt/tank/syslog/log/nginx-access.log
root nginx 3523 6 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
The server(FreeNAS-9.1.1-RELEASE-x64 (a752d35)) runs on the following hardware :
Supermicro X10SLH-F
Intel Xeon E3-1230
32 GB ECC RAM
10 X4TB Disks as RAIDZ2
I have both tried to get deleted by following procedure :
unlink / var / log
mv / var / .log.old / var / logs
ervice syslogd restart
service nginx restart
you should be comfortable two delete the syslog dataset in the GUI now
and:
Boot into single user mode
# Sh / etc / rc.initdiskless
# Zpool import -R / mnt pool name
# Destroy ZFS pool name / syslog
# Shutdown- r now
The result is always : .. busyIf I run the following script fstat / mnt / tank / syslog / log / * / mnt / tank / syslog / log / mnt / tank / syslog
I get the following result:
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
www nginx 3524 2 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
www nginx 3524 5 /mnt/tank/syslog 31 -rw-r--r-- 524262 w /m
nt/tank/syslog/log/nginx-access.log
www nginx 3524 6 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
root nginx 3523 2 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
root nginx 3523 5 /mnt/tank/syslog 31 -rw-r--r-- 524262 w /m
nt/tank/syslog/log/nginx-access.log
root nginx 3523 6 /mnt/tank/syslog 34 -rw-r--r-- 1488 w /m
nt/tank/syslog/log/nginx-error.log
The server(FreeNAS-9.1.1-RELEASE-x64 (a752d35)) runs on the following hardware :
Supermicro X10SLH-F
Intel Xeon E3-1230
32 GB ECC RAM
10 X4TB Disks as RAIDZ2