NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Same LUN size but different sectors in Solaris 11

vfukuda1
3,425 Views

Hi guys

 

We're facing an issue when mapping new LUNs to Solaris 11: I created new LUNs of 300GB but according to the Solaris administrator the new LUNs are not exactly the same as last LUNs mapped

 

root@srvsparcmml1:~# prtvtoc /dev/rdsk/c0t60A9800038303952543F48637A494649d0s2
* /dev/rdsk/c0t60A9800038303952543F48637A494649d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 6016 sectors/track
* 16 tracks/cylinder
* 96256 sectors/cylinder
* 6537 cylinders
* 6535 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 288768 288767
1 3 01 288768 288768 577535
2 5 01 0 629032960 629032959
6 4 00 577536 628455424 629032959
root@srvsparcmml1:~# prtvtoc /dev/rdsk/c0t60A9800038303952543F48637A494653d0s2
* /dev/rdsk/c0t60A9800038303952543F48637A494653d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 64 sectors/track
* 256 tracks/cylinder
* 16384 sectors/cylinder
* 38404 cylinders
* 38402 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 262144 262143
1 3 01 262144 262144 524287
2 5 01 0 629178368 629178367
6 4 00 524288 628654080 629178367
root@srvsparcmml1:~#

 

Any ideas?

 

The ammount of blocks in the LUNs at Data Ontap level are the same 322163441664

2 REPLIES 2

AlexDawson
3,374 Views

Can you post the output of lun show-instance for each of them?

 

thanks!

vfukuda1
3,302 Views

It's Data Ontap 8.2.3  7-mode so I suppose the equivalent output would be:

 

MLIMASAN02> lun show -v /vol/lun_Data05_vol/lun_Data05
        /vol/lun_Data05_vol/lun_Data05  300.0g (322163441664)  (r/w, online, mapped)
                Serial#: 809RT?HczIEv
                Share: none
                Space Reservation: disabled
                Multiprotocol Type: solaris
                Maps: SPARC=5
                Occupied Size:  300.8g (322999750656)
                Creation Time: Fri May 19 15:08:54 PET 2017
                Cluster Shared Volume Information: 0x0
                Read-Only: disabled
MLIMASAN02> lun show -v /vol/lun_Data15_vol/lun_Data15
        /vol/lun_Data15_vol/lun_Data15  300.0g (322163441664)  (r/w, online, mapped)
                Serial#: 809RT?HczIFU
                Share: none
                Space Reservation: enabled
                Multiprotocol Type: solaris
                Maps: SPARC=35
                Occupied Size:       0 (0)
                Creation Time: Fri May 21 23:42:19 PET 2021
                Cluster Shared Volume Information: 0x0
                Read-Only: disabled

 

Where LUN Data05 is the old one and Data15 the new LUN I created (as usual)

Public