Hello, I have just been trying to use the bacula truncate command on disk volumes.
I set 'ActionOnPurge = truncate' on all my Pools. I ran a bconsole update command to update the field in the database. This didn't update the field for volumes that were already purged, so I used mysql to update the 'ActionOnPurge' field for them. Then I ran this command: purge volume action=truncate storage="Tower 1" allpools This truncated lots of purged volumes, but on closer inspection, I find that I have one volume that hasn't been truncated. Re-running the command doesn't help. I have also attempted to go through the bconsole menus to pick the specific pool, like this: *purge volume action=truncate The defined Storage resources are: 1: Tower 1 2: Tower 2 Select Storage resource (1-4): 1 The defined Pool resources are: 1: Tower 1 2: Tower 2 Select Pool resource (1-19): 1 No volume founds to perform truncate action(s) bconsole 'list volumes' gives this: (lots of volumes that did truncate, then last in the list for the pool:) | 124 | backup-0124 | Purged | 1 | 227 | 0 | 0 | 1 | 0 | 0 | Tower 1 | 2010-12-25 23:49:11 | mysql> select MediaId,VolumeName,ActionOnPurge,VolStatus,VolBytes,StorageId from Media where MediaId=124; +---------+-------------+---------------+-----------+----------+-----------+ | MediaId | VolumeName | ActionOnPurge | VolStatus | VolBytes | StorageId | +---------+-------------+---------------+-----------+----------+-----------+ | 124 | backup-0124 | 1 | Purged | 227 | 1 | +---------+-------------+---------------+-----------+----------+-----------+ volumes # ls -l backup-0124 -rw-r----- 1 admin-bacula-sd admin-bacula-sd 9160873 Feb 4 00:03 backup-0124 So, any suggestions? ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users