HPE Storage Users Group https://3parug.com/ |
|
migrate chunks https://3parug.com/viewtopic.php?f=18&t=3117 |
Page 1 of 1 |
Author: | terminus [ Wed Mar 06, 2019 10:02 am ] |
Post subject: | migrate chunks |
hi to all pls, help me 3par 7200 3.3.1.269 (MU1)+P09,P11,P18,P19,P21,P25 no cpg created no vv created, only basic vv: admin, .srdata so, how to migrate ok chunks to another disk ? 3par-7200 cli% showpd -c -------- Normal Chunklets -------- ---- Spare Chunklets ---- - Used - -------- Unused --------- - Used - ---- Unused ---- Id CagePos Type State Total OK Fail Free Uninit Unavail Fail OK Fail Free Uninit Fail 0 0:0:0 SSD normal 446 0 0 371 0 0 0 0 0 75 0 0 1 0:1:0 SSD normal 446 0 0 371 0 0 0 0 0 75 0 0 2 0:2:0 SSD normal 446 0 0 371 0 0 0 0 0 75 0 0 3 0:3:0 SSD normal 446 0 0 371 0 0 0 0 0 75 0 0 4 0:4:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 5 0:5:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 6 0:6:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 7 0:7:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 8 0:8:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 9 0:9:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 10 0:10:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 11 0:11:0 SSD normal 446 0 0 372 0 0 0 0 0 74 0 0 12 1:0:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 13 1:1:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 14 1:2:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 15 0:16:0 FC normal 272 50 0 113 18 0 0 0 0 4 87 0 16 1:4:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 17 0:13:0 FC normal 272 50 0 131 0 0 0 0 0 91 0 0 18 0:17:0 FC normal 272 0 0 29 152 0 0 0 0 0 91 0 20 1:8:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 21 1:9:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 22 1:10:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 23 0:15:0 FC normal 272 49 0 132 0 0 0 0 0 91 0 0 24 0:12:0 FC normal 272 49 0 133 0 0 0 0 0 90 0 0 25 0:14:0 FC normal 272 49 0 133 0 0 0 0 0 90 0 0 29 1:3:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 31 1:7:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 32 1:6:0 NL normal 1805 0 0 1156 649 0 0 0 0 0 0 0 33 1:11:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 34 1:15:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 35 1:18:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 36 1:19:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 37 1:12:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 38 1:13:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 39 1:14:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 40 1:22:0 NL normal 1805 0 0 1677 0 0 0 0 0 128 0 0 41 1:16:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 42 1:17:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 43 1:23:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 45 1:20:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 46 1:21:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 48 1:5:0 NL normal 1805 0 0 1678 0 0 0 0 0 127 0 0 ----------------------------------------------------------------------------------------- 42 total 50304 247 0 44864 819 0 0 0 0 4196 178 0 3par-7200 cli% showpdch -p -devtype FC Pdid Chnk LdName LdCh State Usage Media Sp Cl From To 15 0 log1.0 7 normal ld valid N N --- --- 15 1 .srdata.usr.1 35 normal ld valid N N --- --- 15 2 .srdata.usr.0 17 normal ld valid N N --- --- 15 3 .srdata.usr.0 5 normal ld valid N N --- --- 15 4 pdsld0.1 1 normal ld valid N N --- --- 15 5 .srdata.usr.0 53 normal ld valid N N --- --- 15 6 log1.0 29 normal ld valid N N --- --- 15 7 .srdata.usr.1 59 normal ld valid N N --- --- 15 8 .srdata.usr.1 29 normal ld valid N N --- --- 15 9 .srdata.usr.1 5 normal ld valid N N --- --- 15 10 admin.usr.1 1 normal ld valid N N --- --- 15 11 pdsld0.0 1 normal ld valid N N --- --- 15 12 log1.0 8 normal ld valid N N --- --- 15 13 log1.0 26 normal ld valid N N --- --- 15 14 admin.usr.0 3 normal ld valid N N --- --- 15 15 admin.usr.3 2 normal ld valid N N --- --- 15 16 admin.usr.2 5 normal ld valid N N --- --- 15 17 pdsld0.1 11 normal ld valid N N --- --- 15 18 .srdata.usr.1 7 normal ld valid N N --- --- 15 19 log0.0 36 normal ld valid N N --- --- 15 20 log0.0 32 normal ld valid N N --- --- 15 21 log0.0 28 normal ld valid N N --- --- 15 22 log0.0 24 normal ld valid N N --- --- 15 23 log0.0 20 normal ld valid N N --- --- 15 24 log0.0 16 normal ld valid N N --- --- 15 25 log0.0 12 normal ld valid N N --- --- 15 26 log0.0 8 normal ld valid N N --- --- 15 27 log0.0 4 normal ld valid N N --- --- 15 28 log0.0 0 normal ld valid N N --- --- 15 29 .srdata.usr.0 54 normal ld valid N N --- --- 15 30 pdsld0.2 2 normal ld valid N N --- --- 15 31 .srdata.usr.0 42 normal ld valid N N --- --- 15 32 .srdata.usr.0 36 normal ld valid N N --- --- 15 33 .srdata.usr.0 30 normal ld valid N N --- --- 15 34 .srdata.usr.0 24 normal ld valid N N --- --- 15 35 .srdata.usr.0 18 normal ld valid N N --- --- 15 36 log1.0 23 normal ld valid N N --- --- 15 37 .srdata.usr.0 6 normal ld valid N N --- --- 15 38 log1.0 19 normal ld valid N N --- --- 15 39 pdsld0.2 10 normal ld valid N N --- --- 15 40 .srdata.usr.1 18 normal ld valid N N --- --- 15 41 .srdata.usr.1 50 normal ld valid N N --- --- 15 42 .srdata.usr.1 44 normal ld valid N N --- --- 15 43 .srdata.usr.1 36 normal ld valid N N --- --- 15 44 .srdata.usr.1 15 normal ld valid N N --- --- 15 45 log1.0 36 normal ld valid N N --- --- 15 46 log1.0 13 normal ld valid N N --- --- 15 47 .srdata.usr.1 1 normal ld valid N N --- --- 15 48 .srdata.usr.0 29 normal ld valid N N --- --- 15 49 .srdata.usr.1 16 normal ld valid N N --- --- |
Author: | terminus [ Wed Mar 06, 2019 2:14 pm ] |
Post subject: | Re: migrate chunks |
Need reallocate any used chunklets to other disks of another type |
Author: | adam [ Wed Mar 06, 2019 7:37 pm ] |
Post subject: | Re: migrate chunks |
hi, I actually come across the same thing recently. Support helped me complete the final steps but I did document some of the commands. These are pretty destructive commands so you certainly don't want to be have any workloads on the array! srdata can be destroyed if your not worried about the system reporter data. Code: -> stopsr -f For the pdsld (Preserved data LD), we need to stop the preserved data before we remove them. Code: -> showpdata Code: -> stoppdata Code: -> removeld -rmsys <pdsld name > Mine looked like this: removeld -rmsys log0.0 removeld -rmsys log1.0 removeld -rmsys pdsld0.0 removeld -rmsys pdsld0.1 removeld -rmsys pdsld0.2 once you kickoff an admithw it will re-create the areas. Quote: Creating logging LD for node 0. Creating logging LD for node 1. And the "admin" what was left had to be manually moved from memory. showldmap admin.usr.0 showldch admin.usr if you did want to save your SR data volume you can snap it and promote it. Snapshot protection for .srdata HP 3PAR OS allows the .srdata VV to have a snp_cpg associated. CLI only, GUI coming in SSMC 3.x. This enables snapshotting or physical copy in order to back up SR data. Then promotesv or VV copy to restore (when SR is stopped) Example: cli% setvv -snp_cpg cpg1 .srdata cli% createsv -ro srdata_backup .srdata Now if the primary .srdata VV became corrupt or had a database problem the snapshot can be restored cli% stopsr -f cli% promotesv srdata_backup Task 1089 has been started to promote virtual copy srdata_backup cli% waittask 1089 Task 1089 done cli% startsr -f |
Author: | terminus [ Tue Mar 12, 2019 7:21 am ] |
Post subject: | Re: migrate chunks |
adam wrote: And the "admin" what was left had to be manually moved from memory. showldmap admin.usr.0 showldch admin.usr hello thanks for your answer can you help me ? how to do it ? |
Author: | terminus [ Mon Apr 08, 2019 10:35 am ] |
Post subject: | Re: migrate chunks |
If I initialize 3par, will it solve my problems? |
Author: | adam [ Wed Apr 10, 2019 7:37 pm ] |
Post subject: | Re: migrate chunks |
I looked back over my notes and it seem the HPE engineer ran commands like this one to move chunklets. Code: showpdch -from <pdid> -nohdtot |while read pd ch rest; do echo $pd $ch; movech -f -perm -ovrd $pd:$ch; done&
|
Author: | terminus [ Thu Apr 11, 2019 10:45 am ] |
Post subject: | Re: migrate chunks |
adam wrote: I looked back over my notes and it seem the HPE engineer ran commands like this one to move chunklets. Code: showpdch -from <pdid> -nohdtot |while read pd ch rest; do echo $pd $ch; movech -f -perm -ovrd $pd:$ch; done& this command migrate chanklets only on disks of the same type |
Author: | adam [ Thu Apr 11, 2019 11:28 pm ] |
Post subject: | Re: migrate chunks |
Well there is usually some switches you can turn on to enable between device types. Quote: movepdtospare -nowait -f -perm -devtype -ovrd
|
Author: | terminus [ Fri Apr 12, 2019 8:54 am ] |
Post subject: | Re: migrate chunks |
adam wrote: Well there is usually some switches you can turn on to enable between device types. Quote: movepdtospare -nowait -f -perm -devtype -ovrd good idea thx |
Author: | terminus [ Tue Apr 23, 2019 3:15 am ] |
Post subject: | Re: migrate chunks |
terminus wrote: adam wrote: I looked back over my notes and it seem the HPE engineer ran commands like this one to move chunklets. Code: showpdch -from <pdid> -nohdtot |while read pd ch rest; do echo $pd $ch; movech -f -perm -ovrd $pd:$ch; done& this command migrate chanklets only on disks of the same type yes, its worked thanks |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |