What filesystem is on your USB drive? If you just plugged something in, 
it's likely FAT32, and you may be seeing performance issues if you have 
a lot of messages. I assume you can write files by hand to this drive?

On 7/12/10 2:33 PM, Hongseok Cheon wrote:
> Hi everyone
>
>
> I want to write kernel meesage,which is generally recorded at
> /var/log/messages, at usb flash memory.
> It goes well when the kernel mesage recording file is specified on hard
> disk, but it does not on usb flash memory.
>
> What I have worked on is as below.
>
> --
>    
>> mkdir /var/log/hm
>>      
>    
>> mount /dev/sdb /var/log/hm
>>      
> (I checked that usb flash memory is mounted.)
>
>    
>> vi /etc/rsyslog.conf
>>      
> I changed
> *.info;mail.none;authpriv.none;cron.none /var/log/messages
> to
> *.info;mail.none;authpriv.none;cron.none /var/log/hm/messages
> --
>
> When the kernel message recording place is specified on hard disk (such as
> /var/log/messages2), it records well. However, it does not record on usb
> flash memory
>
> Please let me know if there is something that I have to revise or add
>
> thanks in advance,
>
> Cheon.
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
>    

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to