Not able to evacuate disk
Hi,
We are using Veritas Storage Foundation Suite V4.1 in Solaris 10 supporting Oracle DB. Currently, one of the file system (see below) /u03 is supported by vol04 vol that has 2 disks as follows:
:
sd u03-01 vol04-01 u03 0 20971520 0 TagmaStore-USP0_3 ENA
sd u03-02-01 vol04-01 u03-02 0 60817408 20971520 TagmaStore-USP0_18 ENA
# df -h /u03
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/oradg/vol04
39G 5.6G 31G 16% /u03
sd u03-01 is 10GB and sd u-3-02-01 is 40GB. Now the usage for /u03 is 5.6GB and I would like to evacuate u03-01 out and move the data to u03-02-01 but got the message:
VxVM vxassist ERROR V-5-1-438 Cannot allocate space to replace subdisks
Any advice is appreciated and thanks in advance.
I believe what you are trying to achieve is incorrect ... reason being ..
you have a concat volume & certainly the data would lie on first plex or first sd i.e u03-01 ... now you are trying to run an evacuate on the first disk itself ..... that means veritas would try to find another disk of having 10G free space (& I assume here it won't pick u03-02 as it is already in use on second plex, moreover it doesn't have a free space (only 0.95G left)
Point to note, to make an evacuation, you need exact 10G of space available & if you notice the last coulmn of all the disks in vxdg free output .... you don't have any disk with that much free space ....
u03 TagmaStore-USP0_3 TagmaStore-USP0_3 20971520 121088 -----> (0.057G)
u03-02 TagmaStore-USP0_18 TagmaStore-USP0_18 81788768 2011040----> (0.95G)Solution what would work for you is,
1. Shrink the volume (vxresize) to 8G or 9G.... vxvm may attempt to free up your second subdisk here i.e u03-02 (make sure you have all backups in place to be on safe side)
2. Once above disk is free, mirror the original volume from u03-02, so a new subdisk from u03-02 will be created & a new plex as well & mirroed to u03-01
then you can move out to the old plex or new plex which you want ... vxevac won't be a good choice here since you want to move the data within subdisks of a single plex ...
Hope this answers ...
Gaurav