From: Eric B. <er...@eb...> - 2008-02-28 21:33:19
|
Hi Allan, Good idea, but it would be much greater if this option was available in user interface (menu). Direct command line is always optional/obscure/undocumented. We can imagine something like update -> Volume -> RecyclePool 1. Default 2. Scratch 3. ... 4. *None* <---- Maybe by tweaking select_pool_dbr(). What do you think ? Bye > Hi, > > The RecyclePoolId field in the Media table has a default value > of 0, which means the pool should be left unchanged when the volume > is recycled. > > Currently, if RecyclePoolId is changed, there is no way to change it > back to zero again using the director (it can be done by changing the > database table, of course). > > The attached patch makes the director accept e.g. > > update volume=volumename recyclepool="" > > to set RecyclePoolId to 0. > > Allan > |