This post is more than 5 years old
242 Posts
1
11749
Unbind a dev
Hi, we untagged some dev from recoverpoint. I want unbind them to pool so that they can use. Below is the process i used but i am getting error.
Delete the masking view
Removing the devices from storage group
When i am trying to unbind the dev from pool i am getting below error. And the device is a meta head.
H:\>symconfigure -sid 65 -cmd "unbind tdev 0857 from pool PROD_S7k;" preview
Execute a symconfigure operation for symmetrix '000192604064' (y/ ) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Error occurred while Defining change number 1:
Device must be unmapped or 'not ready' in order to perform the requested ope
ration
Device 0857 generated the failure
Terminating the configuration change session..............Done.
The configuration change session has failed.
codyhosterman
286 Posts
0
July 23rd, 2013 12:00
Did you add the -unmap tag to the symmaccess command when you removed the device from the stoage group? Because by default the remove command only removes the masking records but does not remove the mappings to the FA(s).
codyhosterman
286 Posts
1
July 23rd, 2013 12:00
If you didnt use -unmap in the command when you either deleted the view or removed the device from the SG you will need to use symconfigure to unmap the device.
symconfigure -cmd "unmap dev from dir ALL:ALL;" -v commit -sid XX -nop
codyhosterman
286 Posts
0
July 23rd, 2013 12:00
Yep! Need to add "-type storage" to the remove dev command but other than that looks great
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
July 23rd, 2013 12:00
unmap ..not unbind
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
For unbinding a meta from a pool.
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
H:\>symconfigure -sid 64 -cmd "unbind tdev 0857 from dir all:all;" preview
Error in line 1 at symbol 'dir': syntax error
Syntax for unbind command is:
UNBIND TDEV < [: ] |
in DG | in SG > FROM POOL ;
Parser found fatal error in command file entry number 1
The configuration change session has failed.
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
Sorry, I used wrong command. For unmapping the dev does dev need to be in not ready state
codyhosterman
286 Posts
0
July 23rd, 2013 12:00
Yeah -unmap only works when:
You will have to use symconfigure
codyhosterman
286 Posts
0
July 23rd, 2013 12:00
When you unbind a meta you only need to specify the head. The members will be unbound automatically
Anonymous User
242 Posts
1
July 23rd, 2013 12:00
k k got you.
From next time if i want to delete a dev i need used below steps right
1. symaccess -sid 1234 -name SGNAME remove dev 01a1 -unmap
2. delte masking view
3. unbind from thin pool
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
No i havent used -unmap. After deleting masking view i tried to remove dev from storage group using -unmap. I got an error as below
The unmap option cannot be used since the group is not a part of view
codyhosterman
286 Posts
0
July 23rd, 2013 12:00
When you deleted the view then did you use the -unmap parameter? If not the mappings will remain just like when removing it from a storage group.
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
Before i remove dev from storage group, I have deleted the masking view.
Anonymous User
242 Posts
0
July 23rd, 2013 12:00
For unbinding meta dev from a pool, Do i need to remove meta members.
Anonymous User
242 Posts
0
July 23rd, 2013 13:00
I did unmap from directors, while i preview the command it asked to change dev status to not ready. I have changed the status and unbind from the pool. How can i check whether its unbind or not and where can i check that free space.