Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1008194.1 : How to find the number of segements (Extents) attached to a Volume on NAS
PreviouslyPublishedAs 211253 Description While looking at the Diagnostic report of NAS (Sun StorageTek[TM] 5xx0 NAS Appliances) we only get the Volume name and the LUN information on which the Volume was created. There is no information in the Diagnostic mail which would provide the information on how many Segment (also called Extents) are attached to the Volume as shown below. - Volume : /vol1 (isp2d020,1) Total Capacity : 20113 MB This document would talk about the procedure which can be used to find the different Segments (Extents) attached to the a particular Volume. Steps to Follow Login into the NAS by telnet (or other services) to access the command line. The first option is look at the bootlogs/syslogs to see how many Segments (Extents) were attached to the volume while booting. 1. Look at the bootlog (or syslog) for the following output 04/16/07 19:18:09 I sfs2: /vol1 - id=65D22A33, extent 1 of 3, version 2 04/16/07 19:18:09 I sfs2: /vol1 - id=65D22A33, extent 2 of 3, version 2 04/16/07 19:18:09 I sfs2: /vol1 - id=65D22A33, extent 3 of 3, version 2 The above output provide the details on number of extent attached to the volume while bringing the volume online. In normal scenario we should be able to see the extent # of # being attached to the volume. 2. The next step is to know which different LUNs have these Segments from a. From the command line run "disk" to see the LUN available on the NAS. SE5310 > disk ide1d1 250367KB isp2d020 1950909439KB isp2d021 1950909439KB b. Now select the disk name (ispXd SE5310 > disk isp2d020 # START SEC SIZE SEC TYPE OWNER USE% FREE KB SIZE KB REQUESTS ACTI - --------- --------- ------- ---------- ---- -------- -------- -------- ---- 0 0 -393148417 SUN CSM100_R_FC 1 240 20971520 sfs2 (vol1) 2 20971760 10485760 sfs2ext ~seg1 4.909G 3 31457520 -424605937 free 1889824MB SE5310 > disk isp2d021 # START SEC SIZE SEC TYPE OWNER USE% FREE KB SIZE KB REQUESTS ACTI - --------- --------- ------- ---------- ---- -------- -------- -------- ---- 0 0 -393148417 SUN CSM100_R_FC 1 240 10485760 sfs2 (vol1) 2 10486000 10485760 sfs2 (vol1) 3 20971760 -414120177 free 1894944MB The above output provide the details on the partitions (Volume/Segements) created on the LUN Entry "1" shows that a partition exists which is part of vol1. Here vol1 is in "()" because vol1 is currently unmounted. Entry "2" indicate a partition which is unattached segment Product Sun StorageTek 5220 NAS Appliance Sun StorageTek 5310 NAS Gateway/Cluster System Sun StorageTek 5310 NAS Gateway System Sun StorageTek 5310 NAS Appliance NAS, 5310, 5320, 5210, 5220, 5320C, 5310C, partitions, Segments, Extents, Volume Previously Published As 89072 Change History Date: 2007-05-16 User Name: 97961 Action: Approved Comment: - Applied trademarking where it is missing - Tidied up formatting Version: 4 Date: 2007-05-16 User Name: 97961 Action: Accept Comment: Version: 0 Date: 2007-05-16 User Name: 147406 Action: Approved Comment: Hi, I have reviewed it for technical content. Please do the final review. Thanks, sushil Version: 0 Date: 2007-05-10 User Name: 156181 Action: Approved Comment: Hi Sushil "id=65D22A33" are logged in the logs, while with dump command it wont be possible to map the extent. The logs always display the id of the first segment of the volume. Hence I have not used the same command in this document. Please let me know your comments on this. Kind Regards Krishan Parmar x89007 Version: 0 Date: 2007-05-04 User Name: 147406 Action: Rejected Comment: Hi Krishan, Can you include the command that Kuswandi mentioned: There is a command to display the extents, use disk command with dump option. The extent id numbers appear in the log. -Kus Sample below: SE5310-NASb > disk ide1d1 250367KB isp2d020 285689773KB isp2d021 285689773KB SE5310-NASb > disk isp2d020 # START SEC SIZE SEC TYPE OWNER USE% FREE KB SIZE KB REQUESTS ACTI - --------- --------- ------- ---------- ---- -------- -------- -------- ---- 0 0 571379547 SUN CSM100_R_FC 1 240 157286400 sfs2 /stuff 2% 101.119G/103.167G 503769+0 2 157286640 41943040 sfs2 /stuff 2% 101.119G/103.167G 503769+0 3 199229680 20971520 sfs2 /stuff 2% 101.119G/103.167G 503769+0 4 220201200 204800 sfs2 /Win 1% 94.351M/94.398M 12769+0 SE5310-NASb > disk isp2d020,1 dump SFS2 Volume /stuff: VolumeID 5A10AA19 ExtensionID 5A10AA1B Total pages=19660800, n_inode=19317888, n_data=19318999, n_check=18887 Extent count=3 Ext0: ID 5A10AA1B Ext1: ID 5A10AA23 Ext2: ID 5A10AA27 Journal ID 0 Flags 0x000090E0 Version: 0 Date: 2007-04-17 User Name: 147406 Action: Accept Comment: Version: 0 Date: 2007-04-16 User Name: 156181 Action: Approved Comment: Dear Sir Please review and provide your inputs. Kind Regards Krishan Parmar x50079 Version: 0 Date: 2007-04-16 User Name: 156181 Action: Created Comment: Version: 0 Product_uuid a656fa3d-fc97-11da-ac3d-080020a9ed93|Sun StorageTek 5220 NAS Appliance fb861199-9cd7-11da-85b4-080020a9ed93|Sun StorageTek 5310 NAS Gateway/Cluster System 8a8b6eeb-092e-11da-99bc-080020a9ed93|Sun StorageTek 5310 NAS Gateway System 63654ce5-f88d-11d8-ab63-080020a9ed93|Sun StorageTek 5310 NAS Appliance Attachments This solution has no attachment |
||||||||||||
|