Example: Moving an existing storage pool to another disk
About this task
Use the following procedure to move an existing storage pool to another partition on a host
running Linux or the UNIX system.
Note: If the VOB has a tag in a Windows® region, you must
modify the tag to account for the relocated storage pool. See Windows tags for VOBs on Linux or the UNIX system with remote storage pools.
Procedure
- Determine the location of the storage pool.Use the lspool command:
cleartool lspool –long d_aux@/vobs/bgr
pool "d_aux"
.
.
pool storage global pathname
"/net/ccsvr01/vobstore/bgr.vbs/d/d_aux" - Lock the VOB
-
Copy the contents of the storage pool.
The storage pool is a standard directory on Linux or the UNIX system. You can copy its contents to a new location by using cp, rcp, tar, or other commands. For example:
rlogin ccsvr01
mkdir –p /vobstore_2/DO_pools
cp –r /vobstore/bgr.vbs/d/d_aux /vobstore_2/DO_pools - Replace the old storage pool with a symbolic link.
Move the old storage pool aside; then create the link in its place.
cd /vobstore/bgr.vbs/d
mv d_aux d_aux.MOVED
ln –s /net/ccsvr01/vobstore_2/DO_pools/d_aux d_auxVerify that the symbolic link is valid for all hosts that access the VOB. - Unlock the VOB.
- Remove the old storage pool.When you have verified that the storage pool is working well in its new location, you can remove the old pool:
rm –fr /vobstore/bgr.vbs/d/d_aux.MOVED