Reclaiming space SVM

Hi

I have a solaris 10 server, that we no longer will be used, and the system has it storage on the NetApp .
Most of the file systems that I have already umount have the following entry on /etc/vfstab :

 df -h /ora*
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d400       736G   433G   296G    60%    /ora_data01
/dev/md/dsk/d300       950G   614G   327G    66%    /ora_data02
/dev/md/dsk/d200       951G   602G   340G    64%    /ora_data03
/dev/md/dsk/d500       933G   488G   436G    53%    /ora_data04
/dev/md/dsk/d900       947G   520G   418G    56%    /ora_data05
/dev/md/dsk/d700       947G   554G   383G    60%    /ora_data06
/dev/md/dsk/d800       946G   465G   471G    50%    /ora_data07
/dev/md/dsk/d1000      941G   562G   370G    61%    /ora_data08

But, when I run the following:

 metastat d400
d400: Concat/Stripe
    Size: 2205382656 blocks (1.0 TB)
    Stripe 0:
        Device                                             Start Block  Dbase   Reloc
        /dev/dsk/c4t60A98000646F6172636F677253506852d0s0          0     No      Yes
    Stripe 1:
        Device                                             Start Block  Dbase   Reloc
        /dev/dsk/c4t60A98000646F6172636F6B347A6F654Bd0s6      51200     No      Yes
    Stripe 2:
        Device                                             Start Block  Dbase   Reloc
        /dev/dsk/c4t60A98000646F616E4E5A79364D6B5770d0s6      98304     No      Yes

Device Relocation Information:
Device                                           Reloc  Device ID
/dev/dsk/c4t60A98000646F6172636F677253506852d0   Yes    id1,ssd@n60a98000646f6172636f677253506852
/dev/dsk/c4t60A98000646F6172636F6B347A6F654Bd0   Yes    id1,ssd@n60a98000646f6172636f6b347a6f654b
/dev/dsk/c4t60A98000646F616E4E5A79364D6B5770d0   Yes    id1,ssd@n60a98000646f616e4e5a79364d6b5770

So my question is, can I just tell the the NetApp Admin to reclaim the space used by those file systems, or do I have to run first some meta commands?
Note: I have already umount those file systems

You should clear you system from the devices that are not used anymore.

First remove from SVM and configuration file references :
http://docs.oracle.com/cd/E19253-01/816-4520/removetasks-41513/index.html

The storage admin can now unpresent the lun(s)

After that you can issue a cfgadm -al to rescan and update its database, followed by a devfsadm -Cv to remove all unused devices references from system.

Hope that helps
Regards
Peasant.

2 Likes

thank you