Hi,
for increasing the log device:
Please check whether you have free space available on your log device:
sp_helpdevicelog_device_name
Please check the output for the word "Free".
If you don't have free space, you must add a new log device or increase the space of the existing log device. This is the command to increase:
disk resize name = 'log_device_name', size = 'additional size'
The additional size is specified like this for 500 MB: '500m'
If you have increased the size of the device or if you already had some free space on the device ("Free"), you can increase the transaction log using this command:
alter database databasename log on log_device_name = size_in_MB
----
Log truncation
You can't truncate the transaction log
a) if you have a long running transaction. Please check
select * from master..syslogshold
If you see a transaction that has been running for a long time, this will probably prevent you from truncating the log. One possibility would be to kill the transaction:
kill spid
b) if your log is too full. Then you can try:
dump transaction databasename with no_log
This does not write the transaction log to a file. So afterwards you can't execute dump transaction to a file anymore. First you have to do a full dump.
Best regards,
Juergen