title: How to force (or workaround) logrotate to move old logs to olddir on different physical disk?
body: <p>I want <code>logrotate</code> to copy and truncate log file and use olddir on different physical disk. According to manual, olddir can't be on different physical disk because default behaviour of logrotate is to only rename original log file, which wouldn't be possible with different physical disk. </p>
  
  <p>Well, but I am using <code>copytruncate</code> directive, which makes a copy of original file and then truncates original file. So there shouldn't be problem with moving newly copied file to different location on different physical disk. </p>
  
  <p>But when I run logrotate, it still complains about logfile and olddir beeing on different devices. </p>
  
  <p>Is there any way around it ? Possibly running some custom postrotate script which would move log files to desired location ? </p>