How can I stop the syslog service and thereby get deleted syslog dataset ?

Status
Not open for further replies.

MaxManus

Cadet
Joined
Oct 17, 2012
Messages
9
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 :

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 : .. busy

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
 

Attachments

  • Ginnungagap-FreeNAS-9.1.1-RELEASE-x64 (a752d35)-20131015171044.txt
    235 KB · Views: 231

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
We already went through this on the other thread you were in.... you should be continuing in THAT thread if the included directions there don't work.
 
Status
Not open for further replies.
Top