Copy a migrated file from SW fileset
Fileset: SW
Initial home state: migrated
Initial cache state: cached and migrated
Action: Copy the file at cache
End home state: old file is migrated and new file is resident
End cache state: old file is cached and pre-migrated, new file is resident
Migrate file at cache
# dsmmigrate /gpfs/fs2/hsmCacheSW/file4
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/16 09:42:05
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
Check file state at cache
# dsmls /gpfs/fs2/hsmCacheSW/file4
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/16 09:42:13
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
ActS ResS ResB FSt FName
1048576 0 0 m file4
Migrate file at home
# dsmmigrate /gpfs/fs2/hsmHomeSW/file4
ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/EN_IN/dsmclientV3.cat. The American English repository will be used instead.
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/2016 09:42:41 EDTA
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
Check file state at home
# dsmls /gpfs/fs2/hsmHomeSW/file4
ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/EN_IN/dsmclientV3.cat. The American English repository will be used instead.
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/2016 09:42:51 EDTA
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
ActS ResS ResB FSt FName
1048576 0 0 m file4
Check cached bit at cache
# tspcacheutil /gpfs/fs2/hsmCacheSW/file4 | grep cached
cached 1 hasState 1 local 0
Copy file at cache
# cp /gpfs/fs2/hsmCacheSW/file4 /gpfs/fs2/hsmCacheSW/file4Copied
# mmafmctl fs2 getstate -j hsmCacheSW
Fileset Name Fileset Target Cache State Gateway Node Queue Length Queue numExec
------------ -------------- ------------- ------------ ------------ -------------
hsmCacheSW nfs://c41bn7/gpfs/fs2/hsmHomeSW Active hs21n24 0 23
Check files state in cache
# dsmls /gpfs/fs2/hsmCacheSW/file4Copied
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/16 09:47:46
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
ActS ResS ResB FSt FName
1048576 1048576 1024 r file4Copied
# tspcacheutil /gpfs/fs2/hsmCacheSW/file4 | grep cached
cached 1 hasState 1 local 0
# tspcacheutil /gpfs/fs2/hsmCacheSW/file4Copied | grep cached
cached 1 hasState 1 local 0
Check file state at home for new and old files
# dsmls /gpfs/fs2/hsmHomeSW/file4
ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/EN_IN/dsmclientV3.cat. The American English repository will be used instead.
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/2016 09:47:09 EDTA
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
ActS ResS ResB FSt FName
1048576 0 0 m file4
c41bn7 Thu Feb 04 09:47:10 5]~# dsmls /gpfs/fs2/hsmHomeSW/file4Copied
ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/EN_IN/dsmclientV3.cat. The American English repository will be used instead.
Tivoli Storage Manager
Command Line Space Management Client Interface
Client Version 7, Release 1, Level 3.0
Client date/time: 02/04/2016 09:47:30 EDTA
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
ActS ResS ResB FSt FName
1048576 1048576 1024 r file4Copied