On Wed, Mar 25, 2009 at 10:47:33AM +0800, ssloh wrote:
> Hi folks,
> 
> I would like to take out one disk from a concat volume with 3 subdisks and 
> want to preserve the data, vxprint as following.
> 
> v  exp          -            ENABLED  ACTIVE   87166976 SELECT    -        
> fsgen
> pl exp-01       exp          ENABLED  ACTIVE   87171072 CONCAT    -        RW
> sd t3b_v1_disk01-01 exp-01   t3b_v1_disk01 325828608 31457280 0   c1t2d1   ENA
> sd t3b_v1_disk02-01 exp-01   t3b_v1_disk02 146817024 41951232 31457280 c1t2d2 
> ENA
> sd t3b_v1_disk03-01 exp-01   t3b_v1_disk03 288092160 10481664 73408512 c1t2d1 
> ENA
> 
> How to safely remove t3b_v1_disk03-01 ?
> 
> This mount point is about 43GB, and currently only used 36GB, that is why I 
> want to free up the last subdisk which is about 5GB and wondering will just 
> remove it will cause data losses ?

So you just calculate the size of the volume without that subdisk.
Manual way would then be to reduce the size of the filesystem to less
than that, then reduce the volume to that size as well, then remove the
subdisk.  

If you use vxassist the reduce the size of the volume sufficiently, I
think it'll remove the subdisk automatically.

> How to check whether any data written to disk03 ?

Find out what's on the volume.  Is it a filesystem?  Is the filesystem
the size of the volume?  If so, then there's stuff written there.  You
have to reduce the filesystem first.

-- 
Darren
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to