Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1008206.1
Update Date:2009-05-21
Keywords:

Solution Type  Technical Instruction Sure

Solution  1008206.1 :   Verifying NAS Replication Space on Mirror (Target) System  


Related Items
  • Sun Storage 5210 NAS Appliance
  •  
  • Sun Storage 5310 NAS Appliance
  •  
  • Sun Storage 5320 NAS Gateway/Cluster System
  •  
  • Sun Storage 5320 NAS Appliance
  •  
  • Sun Storage 5310 NAS Gateway System
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Network Attached Storage
  •  

PreviouslyPublishedAs
211266


Description
During the process to create the mirrored volume on the Master (source) system, a request is sent to the Mirror (target) server, via the 'nbd' transport service, to select appropriately-sized devices on which to create the mirror.
The master (source) server will attempt to allocate the same quantity and size of partitions as the source volume.

If sufficient space cannot be found on a (target) LUN to create the mirror, the mirror creation will fail.

In this situation, you will see error messages of the following form in the (master server) log:

Nov 18 10:37:29 5310-1  nmirror[87]: nmir: Creating new extension 1234ABCD for /volM on 5310-2
Nov 18 10:37:29 5310-1  nmirror[87]: nbd: Cannot find remote space of 11000 MB
Nov 18 10:37:29 5310-1  nmirror[87]: nmir: Failed to create remote partition. Return code = -1
Nov 18 10:37:29 5310-1  nmirror[87]: nmir: Could not establish remote extent 0 of /volM on 5310-2

or:

12/21/06 17:05:45 I nmir: Creating new extension 1234ABCD for /mvol on NAStgt
12/21/06 17:05:45 W nbd: isp3d001,0 is not available
12/21/06 17:05:46 W nbd: Cannot find remote space of 102400 MB
12/21/06 17:05:46 E nmir: The mirror is out of space.
12/21/06 17:05:46 E nmir: Could not establish remote extent 0 of /mvol on NAStgt


Steps to Follow
You can check the 'free' space on the target server disks using:
 - the WEB Admin GUI
- the Telnet CLI interface
  1. Web Admin GUI:
   File Volume Operations -> Create File Volumes
     - Select each LUN, note 'Total free space' displayed for each LUN
  1. Telnet CLI:
   NAS > disk
ide1d1     250879KB
isp1d010   877327359KB
isp1d011   877327359KB
isp1d012   1048575KB
isp1d013   1023550463KB
   NAS > disk isp1d010
# START SEC SIZE SEC  TYPE    OWNER      USE% FREE KB  SIZE KB  REQUESTS ACTI
- --------- --------- ------- ---------- ---- -------- -------- -------- ----
0         0 1754654719         SUN     CSM200_R
1       240 536870912 sfs2    /testvol1    2% 493.905G/503.117G   129063+0
2 536871152 1217783567         free 594620MB
.......
   NAS > disk isp1d011
# START SEC SIZE SEC  TYPE    OWNER      USE% FREE KB  SIZE KB  REQUESTS ACTI
- --------- --------- ------- ---------- ---- -------- -------- -------- ----
0         0 1754654719         SUN     CSM200_R
1         2 1754654717         free 856764MB
.......
   NAS > disk isp1d012
# START SEC SIZE SEC  TYPE    OWNER      USE% FREE KB  SIZE KB  REQUESTS ACTI
- --------- --------- ------- ---------- ---- -------- -------- -------- ----
0         0   2097151         SUN     CSM200_R
1         2   2097149         free 1023MB
.......
etc.
   Note: free space indicated for each disk.


Product
Sun StorageTek 5320 NAS Gateway/Cluster System
Sun StorageTek 5310 NAS Gateway/Cluster System
Sun StorageTek 5310 NAS Gateway System
Sun StorageTek 5320 NAS Appliance
Sun StorageTek 5310 NAS Appliance
Sun StorageTek 5210 NAS Appliance

Internal Comments
This document contains normalized content and is managed by the the Domain Lead(s) of the respective domains. To notify content owners of a knowledge gap contained in this document, and/or prior to updating this document, please contact the domain engineers that are managing this document via the “Document Feedback” alias(es) listed below:

storage-nas-domain@sun.com


The Knowledge Work Queue for this article is KNO-STO-NAS


Once the mirror has been created on the target system, the mirror partitions can be seen as TYPE 'nbd' (Network Block Device):


   NAS2 > disk isp1d020
# START SEC SIZE SEC TYPE OWNER USE% FREE KB SIZE KB REQUESTS ACTI
- --------- --------- ------- ---------- ---- -------- -------- -------- ----
0 0 857069567 SUN CSM100_R_FC
1 240 20480000 sfs2 /vol1 1% 9.589G/9.591G 2229+0
2 20480240 2048000 sfs2 /tape1 1% 978.734M/978.785M 2256+0
3 22528240 536870912 nbd /v03
4 559399152 512000 sfs2 /logdir 1% 240.621M/241.753M 2205+0
5 559911152 204800000 nbd /mirchk
6 764711152 92358415 free 45096MB
7 857069567 0 free partition
8 857069567 0 free partition

NAS, 5210, 5310, 5320, Audited, normalized
Previously Published As
88882

Change History
Date: 2007-06-26
User Name: 71396
Action: Approved
Comment: Publishing
Version: 3
Date: 2007-06-25
User Name: 71396
Action: Accept
Comment:
Version: 0
Date: 2007-06-25
User Name: 102104
Action: Approved
Comment: Usefull piece of information.
Version: 0
Date: 2007-06-18
User Name: 102104
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback