0 Replies Latest reply: May 10, 2013 6:25 AM by 1008222 RSS

    size difference in diskset and logical volume

    1008222
      Hi,

      Created a disk set and a simple mirror LV on the set. The disk had EFI label, so
      once the disk is added to the set it repartitions again and stores state database replica
      in s6 (for EFI). The remainder of the space on each drive is placed into slice 0

      If I do prtvtoc on the /dev/md/map/rdsk/d18 and /dev/rdsk/c6t60000970000194900391533030344631d0

      the size varies or the available size on the disk doesn't match to the lv size.

      -bash-4.0# prtvtoc /dev/md/map/rdsk/d18
      * First Sector Last
      * Partition Tag Flags Sector Count Sector Mount Directory
      0 0 00 32768 1966080 1998847

      -bash-4.0# prtvtoc /dev/rdsk/c6t60000970000194900391533030344631d0
      * /dev/rdsk/c6t60000970000194900391533030344631d0 partition map
      * First Sector Last
      * Partition Tag Flags Sector Count Sector Mount Directory
      0 4 00 32818 1997485 2030302
      6 4 01 34 32784 32817
      8 11 00 2030303 16384 2046686


      In the 2nd o/o you can find the sector count 1997485 but in the lv,
      the sector count is 1966080.

      But this is not the case for lv on VTOC labeled disk. There both of them match.

      -Manjunath