How to remove LUN after house keeping
Created: 17 Feb 2013 | Updated: 07 Mar 2013 | 3 comments
This issue has been solved. See solution.
Hi,
There are 3 LUNs (450GB each) for a file system (1.3TB). Now the file system used only 25GB, is it possible to remove some LUN on line?
OS: Solaris 10
Veritas Foundation Suite: 5.0
Fstyp: Vxfs
Thanks in advance.
Discussion Filed Under:
Comments 3 Comments • Jump to latest comment
Yes this can be done online:
Example:
Above commands shrinks volume AND filesystem to 50g
Above command removes disks from diskgroup (use vxprint or "vxdg free" to see which disks are now free), and now disk2 and disk3 can be removed from the system or allocated to other diskgroups.
The caveat on this is that your volume must be CONCAT (use vxprint -th to check) - if it is striped, then you will need to relayout the volume first. Also if you want to reclaim space on the one remaining LUN, then if your array supported resizing LUN, then you can use "vxdisk resize" to shrink disk and then shrink LUN on the array (see https://www-secure.symantec.com/connect/forums/grow-lun-live-linux-sf-51-possible)
Mike
UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows
If this post has helped you, please vote or mark as solution
Hi,
Correct me that the 25GB data will automatically re-org?
I am fairly certain that vxresize use fsadm to resize filesystem and vxassist to resize volume and the manual for fsadm for resizing filesystem says:
Mike
UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows
If this post has helped you, please vote or mark as solution
Would you like to reply?
Login or Register to post your comment.