Hello My system backups at this moment is only a disk space partition of about 1,3 TB. As I am not sure if would be enough free space, I would like to remove the oldest and obsoleted volumes (I have several volumes of a renamed pool in the conf file). If i undestood you, i must delete all the volumes that i want (this acction will remove them from the catalog, only from the catalog) and after that remove them physicaly from the file system (ie: rm - rf /backups/pool-4/volumen-02). isn't it? Is that the right way or must i have in mind more things?
Just for share my experience with the users, I used command relabel with a lot of volumes (of a pool not used) and assigned the relabeled volumes to othes pools in use. When i realize that the active pools had the news volumes, with status append (ok) and size 0 (VolBytes=1) in the catalog, but the free space of my partition was the same (df -ha) ( I must remind, that my storage device is type file), then I decided to remove the files (volumes) from the directory (rm - rf vol-01 vol-02 ...). This acction caused a big error so i had to reboot my system. Before I tried to mount my partition i did a file system check (fsck) and that showed to me a lot of problems. The explanation I found is in the difference of use delete or relabel command. I think so, but i am not sure. Is it as I believe? Thanks El Miércoles, 27 de Julio de 2005 15:36, Kern Sibbald escribió: > On Wednesday 27 July 2005 15:01, Manuel Nogales wrote: > > Hello > > > > I have a client with 4 pools. The oldest pool is not in use. When I used > > the command relabel for "delete-recycle" my volumes to the other pools in > > use i realice that physically bacula didn't remove the files (all my > > volumes are files). Why? > > Disk is treated the same as tape. Bacula does not mount the tapes and > erase them, and it does not truncate or delete the disk files either when > you delete the catalog entry or mark the catalog entry recycled. > > > I don't urderstand what append (on the file > > system, i know what append with bacula and catalog, etc, i mean) when i > > use relabel command. Any idea? Is it correct use relabel command to free > > space on my storage or is better use only delete command? > > If you use the Bacula delete command, it will delete the Volume from the > catalog, but it remains on disk. If you "relabel" a volume, Bacula will > truncate the disk file -- it does the same on a tape. -- Manuel Jesús Nogales Nogales Dpt. Ingenieria de Sistemas. EUROCIBER [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users