2010/6/9 Jeremiah D. Jester <jjest AT u.washington DOT edu>:
> Every time I try to delete a volume by id I get an error. Is this normal?
> Deleting by VolumeName works fine.
>
>
>
> Thanks,
>
> Jj
>
>
>
>
>
> *delete
>
> In general it is not a good idea to delete either a
>
> Pool or a Volume since they may contain data.
>
>
>
> You have the following choices:
>
> 1: volume
>
> 2: pool
>
> 3: jobid
>
> Choose catalog item to delete (1-3): 1
>
> Defined Pools:
>
> 1: Onsite
>
> 2: Catalog
>
> 3: Offsite
>
> 4: Scratch
>
> Select the Pool (1-4): 4
>
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
>
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
> | 5 | KL0360 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 5 | 1 | LTO2 | 0000-00-00 00:00:00 |
>
> | 6 | KL0308 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 6 | 1 | LTO2 | 0000-00-00 00:00:00 |
>
> | 7 | KL0421 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 7 | 1 | LTO2 | 0000-00-00 00:00:00 |
>
> | 8 | KL0400 | Append | 1 | 64,512 | 0 |
> 31,536,000 | 1 | 12 | 1 | LTO2 | 0000-00-00 00:00:00 |
>
> | 9 | KL03880001 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 10 | KL03880002 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 11 | KL03880003 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 12 | KL03880004 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 13 | KL03880005 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 14 | KL03880006 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 15 | KL03880007 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 16 | KL03880008 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 17 | KL03880009 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 18 | KL03880010 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 19 | KL03880011 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 20 | KL03880012 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 21 | KL03880013 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 22 | KL03880014 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 23 | KL03880015 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> | 24 | KL03880016 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
>
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>
> Enter *MediaId or Volume name: 5
>
> sql_get.c:1062 Media record for Volume "5" not found.
>
Try *5 or the text volume name.
John
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|