how to forcefully reassign assigned disks.doc

Upload: mq-sfs

Post on 10-Feb-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    1/11

    ow to forcefully reassign assigned disks on a NetAppFilerWe had to do some emergency maintenance with a new NetApp

    shelf a few days ago and found that because we were working withan older version of the firmware, there were commands that didnot exist on the filer so we ended up using the G! and "#! towork around the problem$

    Note% &ome of the commands may not be necessary but !wanted to list all the steps we had to take to get this towork so !'ve highlighted the steps that is possibly not neededin ()*$ +lease also take note that we had a small window towork with so the instructions below may not abide by bestpractices$,ask% *isks in the new shelf has been assigned to - separatecontrollers ./ each0$

    +roblem% We could not find the command to unassign the disks inthis version of the firmware so we had to use the combination ofthe G! and "#! to remove the disk from the controllerand thenreassign it to another$

    NetApp !nformationFiler% &ome Name1odel% FA&-2-23ersion% 4$-$/$5666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666

    !nitiating a disk show shows the following%login as% rootroot754-$-2$5$5859s password%login as% rootroot754-$-2$5$5859s password%

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    2/11

    FA"25: disk show*!&; 2?@8820 +ool2 ?A*4?@2222CC-@GC@2c$22$- FA"2- .58>2?@8820 +ool2 ?A*4@G2222CC-@++#2c$22$/ FA"2- .58>2?@8820 +ool2 8B+2D"-+2222CC-/ =;2c$22$2 FA"2- .58>2?@8820 +ool2 ?A*4"C2222CC-@++8+2c$22$4 FA"25 .58>2?@-C50 +ool2 ?A*4)W2222CC-@GN A2c$22$52 FA"25 .58>2?@-C50 +ool2 ?N)-2EG?2222CC-/ )D&2c$22$8 FA"25 .58>2?@-C50 +ool2 ?N)-2)"52222CC-@G?+22c$22$5 FA"25 .58>2?@-C50 +ool2 8B+2WD?2222CC-/;"=N2c$22$> FA"25 .58>2?@-C50 +ool2 ?N)-2F;>2222CC545W432c$22$@ FA"25 .58>2?@-C50 +ool2 8B+2D(F52222CC-/ )E2c$22$C FA"25 .58>2?@-C50 +ool2 ?A*4 G2222CC-@G*BW2b$5@ FA"25 .58>2?@-C50 +ool2 6@28@2C82b$-- FA"25 .58>2?@-C50 +ool2 6@2C>>@42b$-5 FA"25 .58>2?@-C50 +ool2 64C44@>/2b$-2 FA"25 .58>2?@-C50 +ool2 6@28C/222b$-? FA"25 .58>2?@-C50 +ool2 6@28C55?2b$54 FA"25 .58>2?@-C50 +ool2 6@25>?C82b$-C FA"2- .58>2?@8820 +ool2 6@2C>2?C2b$-8 FA"2- .58>2?@8820 +ool2 6@28C@242b$5C FA"25 .58>2?@-C50 +ool2 64C44/?52b$-4 FA"2- .58>2?@8820 +ool2 6@28C/?>2b$-@ FA"25 .58>2?@-C50 +ool2 64C4@5C?2b$-/ FA"25 .58>2?@-C50 +ool2 6@28C8?-2b$-> FA"2- .58>2?@8820 +ool2 6@28CC>?2b$5/ FA"25 .58>2?@-C50 +ool2 64C44@//FA"25:

    http://lh6.ggpht.com/_aewpZqmI-pA/TKEVnhNuoOI/AAAAAAAABX4/pNkzZrpzGSs/s1600-h/image2.png
  • 7/22/2019 How to forcefully reassign assigned disks.doc

    3/11

    What we want to do is move disks% ob$54, 2b$5C and 2b$-5 off ofFA"25 to FA"2-$

    A disk shows the following%FA"25: disk usage% disk options:

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    4/11

    After removing these 8 disks from the G!, a disk shownow showsthe following%

    FA"25: disk show*!&; 2?@8820 +ool2 ?A*4?@2222CC-@GC@2c$22$- FA"2- .58>2?@8820 +ool2 ?A*4@G2222CC-@++#2c$22$/ FA"2- .58>2?@8820 +ool2 8B+2D"-+2222CC-/ =;2c$22$2 FA"2- .58>2?@8820 +ool2 ?A*4"C2222CC-@++8+2c$22$4 FA"25 .58>2?@-C50 +ool2 ?A*4)W2222CC-@GN A2c$22$52 FA"25 .58>2?@-C50 +ool2 ?N)-2EG?2222CC-/ )D&2c$22$8 FA"25 .58>2?@-C50 +ool2 ?N)-2)"52222CC-@G?+22c$22$5 FA"25 .58>2?@-C50 +ool2 8B+2WD?2222CC-/;"=N2c$22$> FA"25 .58>2?@-C50 +ool2 ?N)-2F;>2222CC545W432c$22$@ FA"25 .58>2?@-C50 +ool2 8B+2D(F52222CC-/ )E2c$22$C FA"25 .58>2?@-C50 +ool2 ?A*4 G2222CC-@G*BW2b$5@ FA"25 .58>2?@-C50 +ool2 6@28@2C82b$-- FA"25 .58>2?@-C50 +ool2 6@2C>>@42b$-5 FA"25 .58>2?@-C50 FA!#)* 64C44@>/2b$-2 FA"25 .58>2?@-C50 +ool2 6@28C/222b$-? FA"25 .58>2?@-C50 +ool2 6@28C55?2b$54 FA"25 .58>2?@-C50 FA!#)* 6@25>?C82b$-C FA"2- .58>2?@8820 +ool2 6@2C>2?C

    http://lh6.ggpht.com/_aewpZqmI-pA/TKEVtTyDvhI/AAAAAAAABYY/tCs3_wEM8n0/s1600-h/image20.pnghttp://lh5.ggpht.com/_aewpZqmI-pA/TKEVrDJvBBI/AAAAAAAABYQ/AKExjSMtVKI/s1600-h/image14.png
  • 7/22/2019 How to forcefully reassign assigned disks.doc

    5/11

    2b$-8 FA"2- .58>2?@8820 +ool2 6@28C@242b$5C FA"25 .58>2?@-C50 FA!#)* 64C44/?52b$-4 FA"2- .58>2?@8820 +ool2 6@28C/?>2b$-@ FA"25 .58>2?@-C50 +ool2 64C4@5C?2b$-/ FA"25 .58>2?@-C50 +ool2 6@28C8?-2b$-> FA"2- .58>2?@8820 +ool2 6@28CC>?2b$5/ FA"25 .58>2?@-C50 +ool2 64C44@//FA"25:&ince the disk reassign command can only be run in maintenancemode or during takeover in advanced mode, we executed the diskremoveJownership command but before we can execute thatcommand, we needed to elevate our privileges to advanced%

    FA"25: priv set advancedWarning% hese advanced commands are potentia l ly dangerousQusethem only when directed to do so by Network A ppl iancepersonnel $FA"25R:hen we executed%

    FA"25R: disk removeJownership 2b$54Note% *isks may be automa tically assigned to this node, s inceoption disk$autoJassign is on$3olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R: disk removeJownership 2b$5CNote% *isks may be automa tically assigned to this node, s inceoption disk$autoJassign is on$3olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R: disk removeJownership 2b$-5Note% *isks may be automa tically assigned to this node, s inceoption disk$autoJassign is on$3olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R:he following is the output when we execute a disk show after the

    above commands were completed%

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    6/11

    FA"25: disk show*!&; 2?@8820 +ool2 ?A*4?@2222CC-@GC@2c$22$- FA"2- .58>2?@8820 +ool2 ?A*4@G2222CC-@++#2c$22$/ FA"2- .58>2?@8820 +ool2 8B+2D"-+2222CC-/ =;2c$22$2 FA"2- .58>2?@8820 +ool2 ?A*4"C2222CC-@++8+2c$22$4 FA"25 .58>2?@-C50 +ool2 ?A*4)W2222CC-@GN A2c$22$52 FA"25 .58>2?@-C50 +ool2 ?N)-2EG?2222CC-/ )D&2c$22$8 FA"25 .58>2?@-C50 +ool2 ?N)-2)"52222CC-@G?+22c$22$5 FA"25 .58>2?@-C50 +ool2 8B+2WD?2222CC-/;"=N2c$22$> FA"25 .58>2?@-C50 +ool2 ?N)-2F;>2222CC545W432c$22$@ FA"25 .58>2?@-C50 +ool2 8B+2D(F52222CC-/ )E2c$22$C FA"25 .58>2?@-C50 +ool2 ?A*4 G2222CC-@G*BW2b$5@ FA"25 .58>2?@-C50 +ool2 6@28@2C82b$-- FA"25 .58>2?@-C50 +ool2 6@2C>>@42b$-5 FA"25 .58>2?@-C50 FA!#)* 64C44@>/2b$-2 FA"25 .58>2?@-C50 +ool2 6@28C/222b$-? FA"25 .58>2?@-C50 +ool2 6@28C55?2b$54 FA"25 .58>2?@-C50 FA!#)* 6@25>?C82b$-C FA"2- .58>2?@8820 +ool2 6@2C>2?C2b$-8 FA"2- .58>2?@8820 +ool2 6@28C@242b$5C FA"25 .58>2?@-C50 FA!#)* 64C44/?52b$-4 FA"2- .58>2?@8820 +ool2 6@28C/?>2b$-@ FA"25 .58>2?@-C50 +ool2 64C4@5C?2b$-/ FA"25 .58>2?@-C50 +ool2 6@28C8?-2b$-> FA"2- .58>2?@8820 +ool2 6@28CC>?2b$5/ FA"25 .58>2?@-C50 +ool2 64C44@//FA"25:!t almost looks like nothing was changed and here's why%

    FA"25R: disk removeJownership 2b$54Note% *isks may be automa tically assigned to this node, s inceoption disk$autoJassign is on$3olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yNotice that the message indicates that disk$autoJassign is turnedon so in order to have these disks remain unassigned, we need toexecute the following%

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    7/11

    FA"25R: options disk$autoJassign offTou are changing option disk$autoJassign which app l ies to bothmembers ofthe c luster in takeover mode$his value must be the same in both c luster mem bers prior toany takeoveror giveback, or that next takeoverSgiveback may not workcorrect ly$&un &ep -/ -5%->%>8 )& H+ 1&FA"25%reg$options$cf$change%warningI% %>8 )& H+ 1&FA"25%reg$options$cf$change%warningI%

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    8/11

    W*522-F=T&62>A& NA25I &SN HW*6W1A3@25>?C8I wasunfai led, and is now being reassimi lateddisk unfai l 2b$5Cdisk unfa i l % unfai ling disk 2b$5C $$ $FA"25R: &un &ep -/ -5%-@%-8 )& HFA"25%raid$d isk$unfai l$reassim% infoI% *isk 2b$5C &helf 5 =ay 8 HW*"W*522-F=T&62>A& NA25I &SN HW*6W1A34C44/?5I wasunfai led, and is now being reassimi lateddisk unfai l 2b$-5disk unfa i l % unfai ling disk 2b$-5 $$ $FA"25R: &un &ep -/ -5%-@%-4 )& HFA"25%raid$d isk$unfai l$reassim% infoI% *isk 2b$-5 &helf 5 =ay > HW*"W*522-F=T&62>A& NA25I &SN HW*6W1A34C44@>/I wasunfai led, and is now being reassimi latedNow that we've unfailedthe disks as well as turned offdisk$autoJassign, we can execute the removeJownership commandagain%

    FA"25R: disk removeJownership 2b$543olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R: disk removeJownership 2b$5C3olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R: disk removeJownership 2b$-53olumes must be taken offl ine$ Are al l impacted volumesoffl ine.ySn0 yFA"25R: disk show*!&; 2?@8820 +ool2 8B+2T3?@2222CC-@GC@2c$22$- FA"2- .58>2?@8820 +ool2 8B+2T3@G2222CC-@++#2c$22$/ FA"2- .58>2?@8820 +ool2 8B+2D"-+2222CC-/ =;2c$22$2 FA"2- .58>2?@8820 +ool2 8B+2T3"C2222CC-@++8+2c$22$4 FA"25 .58>2?@-C50 +ool2 8B+2T3)W2222CC-@GN A2c$22$52 FA"25 .58>2?@-C50 +ool2 8B+52EG?2222CC-/ )D&2c$22$8 FA"25 .58>2?@-C50 +ool2 8B+52)"52222CC-@G?+22c$22$5 FA"25 .58>2?@-C50 +ool2 8B+2WD?2222CC-/;"=N2c$22$> FA"25 .58>2?@-C50 +ool2 8B+52F;>2222CC545W432c$22$@ FA"25 .58>2?@-C50 +ool2 8B+2D(F52222CC-/ )E2c$22$C FA"25 .58>2?@-C50 +ool2 8B+2T3 G2222CC-@G*BW

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    9/11

    2b$5@ FA"25 .58>2?@-C50 +ool2 W*6W1A3@28@2C82b$-- FA"25 .58>2?@-C50 +ool2 W*6W1A3@2C>>@42b$-2 FA"25 .58>2?@-C50 +ool2 W*6W1A3@28C/222b$-? FA"25 .58>2?@-C50 +ool2 W*6W1A3@28C55?2b$-C FA"2- .58>2?@8820 +ool2 W*6W1A3@2C>2?C2b$-8 FA"2- .58>2?@8820 +ool2 W*6W1A3@28C@242b$-4 FA"2- .58>2?@8820 +ool2 W*6W1A3@28C/?>2b$-@ FA"25 .58>2?@-C50 +ool2 W*6W1A34C4@5C?2b$-/ FA"25 .58>2?@-C50 +ool2 W*6W1A3@28C8?-2b$-> FA"2- .58>2?@8820 +ool2 W*6W1A3@28CC>?2b$5/ FA"25 .58>2?@-C50 +ool2 W*6W1A34C44@//N2?@8820FA"2-R: disk assign 2b$5C&un &ep -/ -5%8C%8C )& HFA"2-% diskown$changing2?@8820FA"2-R:A disk show now shows the 8 disks being assigned to the otheractive controller$&orry about the extra steps ! included so they may or may not bereKuired to change assigned disks from one controllerto the other$+osted by erence #uk at /%24 +1)mail his=loghisU&hare to witter&hare to Facebook

    #abels% NetApp

    http://www.blogger.com/profile/02612575579652280306http://terenceluk.blogspot.com/2010/09/how-to-forcefully-reassign-assigned.htmlhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=emailhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=bloghttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=bloghttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=twitterhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=twitterhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=facebookhttp://terenceluk.blogspot.com/search/label/NetApphttp://terenceluk.blogspot.com/2010/09/how-to-forcefully-reassign-assigned.htmlhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=emailhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=bloghttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=twitterhttp://www.blogger.com/share-post.g?blogID=2228947945609574437&postID=2354061545823578732&target=facebookhttp://terenceluk.blogspot.com/search/label/NetApphttp://www.blogger.com/profile/02612575579652280306
  • 7/22/2019 How to forcefully reassign assigned disks.doc

    10/11

    > comments%

    Anonymous said$$$

    Whew$ (ather fraught way of going about it$

    ry%

    FA"25: options disk$autoJassign offFA"25: disk assign 2b$54 2b$5C 2b$-5 6s unowned 6f

    FA"2-: disk assign 2b$54 2b$5C 2b$-5

    *one$

    "harlie

  • 7/22/2019 How to forcefully reassign assigned disks.doc

    11/11

    &eptember 82, -258 at 8%54 A1

    http://terenceluk.blogspot.com/2010/09/how-to-forcefully-reassign-assigned.html?showComment=1380525434325#c7265622365827107735http://terenceluk.blogspot.com/2010/09/how-to-forcefully-reassign-assigned.html?showComment=1380525434325#c7265622365827107735