Bacula-users

Re: [Bacula-users] Using removable SATA disks as media

2010-04-14 10:16:09
Subject: Re: [Bacula-users] Using removable SATA disks as media
From: John Drescher <drescherjm AT gmail DOT com>
To: Joseph Spenner <joseph85750 AT yahoo DOT com>
Date: Wed, 14 Apr 2010 10:14:11 -0400
On Wed, Apr 14, 2010 at 10:09 AM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
> On Wed, Apr 14, 2010 at 10:06 AM, John Drescher <drescherjm AT gmail DOT com> 
> wrote:
>> On Wed, Apr 14, 2010 at 9:28 AM, Joseph Spenner <joseph85750 AT yahoo DOT 
>> com> wrote:
>>> --- On Wed, 4/14/10, John Drescher <drescherjm AT gmail DOT com> wrote:
>>>
>>>
>>>>
>>>> Can you post the output of list media
>>>>
>>>> John
>>>>
>>>
>>> John:
>>>  Here's the results of "list media"
>>>
>>> ===
>>> *list media
>>> Automatically selected Catalog: MyCatalog
>>> Using Catalog "MyCatalog"
>>> Pool: Default
>>> No results to list.
>>> Pool: File
>>> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>> | MediaId | VolumeName | VolStatus | Enabled | VolBytes      | VolFiles | 
>>> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         
>>> |
>>> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>> |      25 | disk_0001  | Used      |       1 |    37,353,382 |        0 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-08 23:10:03 |
>>> |      26 | disk_0002  | Append    |       1 | 5,125,873,046 |        1 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-13 23:10:02 |
>>> |      27 | disk_0003  | Used      |       1 | 4,440,507,545 |        1 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-07 23:21:26 |
>>> |      28 | disk_0004  | Used      |       1 |    51,194,220 |        0 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-07 23:21:59 |
>>> |      29 | disk_0005  | Used      |       1 |        10,436 |        0 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-08 23:05:03 |
>>> |      30 | disk_0006  | Used      |       1 |           561 |        0 |   
>>>          0 |       1 |    0 |         0 | File      | 2010-04-08 23:07:14 |
>>> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>> Pool: Scratch
>>> No results to list.
>>> *
>>> ===
>>>
>>
>> All of these volumes are in the Default pool where you have no
>> restrictions on volume usage. You placed the restrictions on the
>> Backup pool. For these volumes you have Volume Retention of 0 which I
>> believe means never recycle.
>>
>
> I am sorry. I was misreading. You have the restrictions on the "File"
> pool which is what your output says.
>
> You need to execute the two update commands that Phil asked you about.
>

An example of what you need to do is here:


 # bconsole
Connecting to Director jmd0:9101
1000 OK: jmd0-dir Version: 5.0.1 (24 February 2010)
Enter a period to cancel a command.
*update
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Update choice:
     1: Volume parameters
     2: Pool from resource
     3: Slots from autochanger
     4: Long term statistics
Choose catalog item to update (1-4): 2
The defined Pool resources are:
     1: Default
     2: Catalogs
     3: Users
     4: Temp
     5: Scratch
Select Pool resource (1-5): 1



Select the "File" pool instead of the default pool.


Then run the update the volumes from pool

*update
Update choice:
     1: Volume parameters
     2: Pool from resource
     3: Slots from autochanger
     4: Long term statistics
Choose catalog item to update (1-4): 1
Parameters to modify:
     1: Volume Status
     2: Volume Retention Period
     3: Volume Use Duration
     4: Maximum Volume Jobs
     5: Maximum Volume Files
     6: Maximum Volume Bytes
     7: Recycle Flag
     8: Slot
     9: InChanger Flag
    10: Volume Files
    11: Pool
    12: Volume from Pool
    13: All Volumes from Pool
    14: All Volumes from all Pools
    15: Enabled
    16: RecyclePool
    17: Action On Purge
    18: Done
Select parameter to modify (1-18): 13
The defined Pool resources are:
     1: Default
     2: Catalogs
     3: Users
     4: Temp
     5: Scratch
Select Pool resource (1-5): 1
All Volume defaults updated from "Default" Pool record.

Again select the "File" pool instead of default.


John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>