Saturday, 15 August 2015

How to delete a large file on LINUX server? (Load higher than 1.0 forces system into Read-only) -



How to delete a large file on LINUX server? (Load higher than 1.0 forces system into Read-only) -

i have created java application runs on linux server , prints info log file.

the application running fine, log file grew quicker expected , on few days took available space on server.

the java application stopped , want remove excessive log file (11,264 mib) free memory in order start process again.

when log server next message:

system info disabled due load higher 1.0

when navigate via command line file , seek remove it, following:

$rm nohup.out rm: cannot remove 'nohup.out': read-only file scheme

i believe since load higher 1.0 scheme forced 'read-only' mode. have thought how delete file?

does have suggestions? read perhaps using fsck, viable option? if so, how utilize fsck?

can remount filesystem read-write?

http://askubuntu.com/questions/175739/how-do-i-remount-a-filesystem-as-read-write has command line that.

server server-administration

No comments:

Post a Comment