On Solaris 10 (SPARC only), if the size of EFI labeled disk is greater than 2TB, the disk capacity will be truncated to 2TB when it is initialized under Veritas Volume Manager

Article:TECH154204  |  Created: 2011-02-24  |  Updated: 2011-03-02  |  Article URL http://www.symantec.com/docs/TECH154204
Article Type
Technical Solution


Issue



From Veritas Volume Manager(VxVM) 5.1 SP1 and onwards, the cross-platform disk sharing (CDS) is enhanced to support for disks of greater than 1TB.
VxVM will use EFI layout to support CDS functionality for disks of greater than 1TB, however on Solaris 10 (SPARC only), a problem is seen that the disk capacity will be truncated to 2TB if the size of EFI labeled disk is greater than 2TB.
 


Error



The followings are the aspect of the problem when the disk which is greater than 2TB is initialized by vxdisksetup(1M).
The whole disk partition size will be truncated to 2TB and the public region length as well.

# prtvtoc /dev/rdsk/c0t500601604BA07D17d13
<snip>
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 15 00 48 4294967215 4294967262
# vxdisk list c0t500601604BA07D17d13 | grep public
public: slice=2 offset=65744 len=4294901456 disk_offset=48
               

For example, the disk size is approximate 2.05TB before the initialization.

# vxdisk list | grep c0t500601604BA07D17d13
c0t500601604BA07D17d13 auto:none - - online invalid
# prtvtoc /dev/rdsk/c0t500601604BA07D17d13
<snip>
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 4 00 34 4404002749 4404002782
8 11 00 4404002783 16384 4404019166

After it is initialized by vxdisksetup(1M) for CDS format, the disk capacity will be truncated to 2TB.

# /etc/vx/bin/vxdisksetup -i c0t500601604BA07D17d13      

# vxdisk list | grep c0t500601604BA07D17d13
c0t500601604BA07D17d13 auto:cdsdisk - - online
# prtvtoc /dev/rdsk/c0t500601604BA07D17d13
<snip>
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 15 00 48 4294967215 4294967262
# vxdisk list c0t500601604BA07D17d13 | grep public
public: slice=2 offset=65744 len=4294901456 disk_offset=48
 
 
 

 


Environment



This issue only applies to configuration where all of the following apply:
1. Veritas Volume Manager 5.1 SP1 and onwards.
2. Solaris 10 (SPARC Only)

Note 1) This issue is not seen on Solaris 10 x64.
Note 2) The extended Command Descriptor Block (CDB) for SCSI READ CAPACITY which is used to get the disk capacity on disks greater than 2TB is not supported in releases prior to Solaris 10. The disk capacity will be limited to 2TB on the Solaris 9’s hard limit.
 


Cause



The problem was caused by the Etrack incident listed in the Supplemental Material section of this article. libvxscsi.so binary does not contain the required enhancement on Solaris 10 (SPARC only) to support CDS format for disks greater than 2TB.


Solution



The problem is fixed in the following patch on the Solaris platform.

    VxVM 5.1SP1 RP1 P1 and onwards

Symantec always recommends customers to apply the latest official patches if possible. Please download the latest patches from the Symantec Operation Readiness Tools (SORT) website.
 https://sort.symantec.com/patch/finder
If applying the above official patches is not possible, pleaes contact Symantec technical support.
 


Supplemental Materials

SourceETrack
Value2270880
Description

 libvxscsi.so binary installed from MAXFLI GA package on Solaris 10; does not contain Solaris 10 specific code.





Article URL http://www.symantec.com/docs/TECH154204


Terms of use for this information are found in Legal Notices