Hi Yann,
it seems the proposed functionality can be already achieved via command
DECOMMISSION VM while specifying FSID. Here is a real-word test:
Server Version 7, Release 1, Level 3.0 @AIX
tsm: TSM_2>q fi SERVERA
Node Name Filespace FSID Platform Filespace Is
Filesp- Capacity Pct
Name Type ace
Unico- Util
de?
--------------- ----------- ---- -------- ---------
---------- ----------- -----
SERVERA / 1 Linux86 EXT2
No 4,925 MB 52.7
SERVERA /home 2 Linux86 EXT2
No 32,127 MB 8.5
tsm: TSM_2>decommission vm SERVERA 2 nametype=fsid
ANR3392W DECOMMISSION VM: This command will decommission the specified
virtual machine. The active files that belong to the virtual machine will
be inactivated, and the file space of the
virtual machine will be automatically deleted after its all the files are
expired.
Do you wish to proceed? (Yes (Y)/No (N)) y
ANR3394I Process 3634 was started to decommission virtual machine 2 on node
SERVERA.
ANS8003I Process number 3634 started.
tsm: TSM_2>q act s=3634
01/25/2016 07:50:43 ANR0984I Process 3634 for DECOMMISSION VM started
in the BACKGROUND at 07:50:43. (SESSION: 2898529, PROCESS: 3634)
01/25/2016 07:50:43 ANR3394I Process 3634 was started to decommission
virtual machine 2 on node SERVERA. (SESSION: 2898529, PROCESS: 3634)
01/25/2016 07:51:25 ANR0987I Process 3634 for DECOMMISSION VM running
in the BACKGROUND processed 69,547 items with a completion state of SUCCESS
at 07:51:25. (SESSION: 2898529, PROCESS: 3634)
tsm: TSM_2>select state, count(*) from backups where node_name='SERVERA'
and FILESPACE_ID=2 group by state
STATE Unnamed[2]
----------------- ------------
INACTIVE_VERSION 69547
Bye
M. Janosik
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 01/25/2016
01:33:03 PM:
> From: "Meunier, Yann" <yann.meunier AT CAISSEDESDEPOTS DOT FR>
> To: ADSM-L AT VM.MARIST DOT EDU
> Date: 01/25/2016 01:34 PM
> Subject: [ADSM-L] RFE - DEACTIVATE FS
> Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> Hi,
>
> I’ve just post a new RFE : https://www.ibm.com/developerworks/rfe/
> execute?use_case=viewRfe&CR_ID=82944
> What do you think about ?
>
> Best Regards,
> Yann MEUNIER
>
>
>
>
> Ce message et toutes les pièces jointes (ci-après le « message »)
> sont confidentiels et établis à l’intention exclusive de ses
> destinataires. Toute utilisation de ce message non conforme à sa
> destination, toute diffusion ou toute publication, totale ou
> partielle, est interdite, sauf autorisation expresse. Si vous
> recevez ce message par erreur, merci de le détruire sans en
> conserver de copie et d’en avertir immédiatement l’expéditeur.
> Internet ne permettant pas de garantir l’intégrité de ce message, la
> Caisse des Dépôts et Consignations décline toute responsabilité au
> titre de ce message s’il a été modifié, altéré, déformé ou falsifié.
> Par ailleurs et malgré toutes les précautions prises pour éviter la
> présence de virus dans nos envois, nous vous recommandons de
> prendre, de votre côté, les mesures permettant d'assurer la non-
> introduction de virus dans votre système informatique.
>
> This email message and any attachments (“the email”) are
> confidential and intended only for the recipient(s) indicated. If
> you are not an intended recipient, please be advised that any use,
> dissemination, forwarding or copying of this email whatsoever is
> prohibited without prior written consent of Caisse des Depots et
> Consignations. If you have received this email in error, please
> delete it without saving a copy and notify the sender immediately.
> Internet emails are not necessarily secure, and Caisse des Depots et
> Consignations declines responsibility for any changes that may have
> been made to this email after it was sent. While we take all
> reasonable precautions to ensure that viruses are not transmitted
> via emails, we recommend that you take your own measures to prevent
> viruses from entering your computer system.
>
|