VMware Cloud Community
oller
Contributor
Contributor

Cant add storage - Unable to read partition information from this disk

Hi,

We have three new LUN:s available, but we cant add them.

Virtual Center 2.5 U5

ESX 3.5.0 build 153875

storage.png

Message from Virtual Center: Unable to read partition information from this disk.

From hostd.log

[2011-07-04 15:19:48.024 'Partitionsvc' 43867056 info] InvokePartedUtil /sbin/partedUtil

[2011-07-04 15:19:49.965 'Partitionsvc' 21674928 info] InvokePartedUtil /sbin/partedUtil
[2011-07-04 15:19:49.996 'Partitionsvc' 21674928 warning] Unable to get partition information for /vmfs/devices/disks/vml.0200010000600143800648f59e00004000004b0000485356333030
[2011-07-04 15:19:49.996 'Partitionsvc' 21674928 warning] Status : 255
Output:
Error : Unable to get device /vmfs/devices/disks/vml.0200010000600143800648f59e00004000004b0000485356333030
[2011-07-04 15:19:49.997 'Partitionsvc' 21674928 info] InvokePartedUtil /sbin/partedUtil
[2011-07-04 15:19:50.023 'Partitionsvc' 21674928 warning] Unable to get partition information for /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
[2011-07-04 15:19:50.024 'Partitionsvc' 21674928 warning] Status : 255
Output:
Error : Unable to get device /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
[2011-07-04 15:19:50.024 'Partitionsvc' 21674928 info] InvokePartedUtil /sbin/partedUtil
[2011-07-04 15:19:50.051 'Partitionsvc' 21674928 warning] Unable to get partition information for /vmfs/devices/disks/vml.0200030000600143800648f59e0000400000530000485356333030
[2011-07-04 15:19:50.052 'Partitionsvc' 21674928 warning] Status : 255
Output:
Error : Unable to get device /vmfs/devices/disks/vml.0200030000600143800648f59e0000400000530000485356333030
[2011-07-04 15:19:52.868 'Partitionsvc' 20618160 info] InvokePartedUtil /sbin/partedUtil
[2011-07-04 15:19:52.897 'Partitionsvc' 20618160 warning] Unable to get partition information for /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
[2011-07-04 15:19:52.897 'Partitionsvc' 20618160 warning] Status : 255
Output:
Error : Unable to get device /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030

Result from ls -l /vmfs/devices/disks/

total 13064567717

-rw-------    1 root     root     73372631040 Jul  4 15:22 vmhba0:0:0:0

-rw-------    1 root     root     213825024 Jul  4 15:22 vmhba0:0:0:1

-rw-------    1 root     root     26213967360 Jul  4 15:22 vmhba0:0:0:2

-rw-------    1 root     root     12576453120 Jul  4 15:22 vmhba0:0:0:3

-rw-------    1 root     root     34365219840 Jul  4 15:22 vmhba0:0:0:4

-rw-------    1 root     root     1669699584 Jul  4 15:22 vmhba0:0:0:5

-rw-------    1 root     root     32588527104 Jul  4 15:22 vmhba0:0:0:6

-rw-------    1 root     root     106896384 Jul  4 15:22 vmhba0:0:0:7

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:1:0 -> vml.0200010000600508b30093668036641f0e0c6000004d534120564f

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:10:0 -> vml.02000a0000600508b300936680acfa53f1693200094d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:10:1 -> vml.02000a0000600508b300936680acfa53f1693200094d534120564f:1

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:1:1 -> vml.0200010000600508b30093668036641f0e0c6000004d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:11:0 -> vml.02000b0000600508b300936680a16a541cb750000a4d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:11:1 -> vml.02000b0000600508b300936680a16a541cb750000a4d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:12:0 -> vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:12:1 -> vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:2:0 -> vml.0200020000600508b300936680c8621931f87c00014d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:2:1 -> vml.0200020000600508b300936680c8621931f87c00014d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:3:0 -> vml.0200030000600508b3009366803254b369df3d00024d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:3:1 -> vml.0200030000600508b3009366803254b369df3d00024d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:4:0 -> vml.0200040000600508b30093668062a5848e740400034d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:4:1 -> vml.0200040000600508b30093668062a5848e740400034d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:5:0 -> vml.0200050000600508b3009366809fc666b57b4f00044d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:5:1 -> vml.0200050000600508b3009366809fc666b57b4f00044d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:6:0 -> vml.0200060000600508b300936680299f62d518f800054d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:6:1 -> vml.0200060000600508b300936680299f62d518f800054d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:7:0 -> vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:7:1 -> vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:8:0 -> vml.0200080000600508b300936680ae5a539a92d200074d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:8:1 -> vml.0200080000600508b300936680ae5a539a92d200074d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:0:9:0 -> vml.0200090000600508b300936680a62a53c5117900084d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:0:9:1 -> vml.0200090000600508b300936680a62a53c5117900084d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:1:1:0 -> vml.0200010000600143800648f59e00004000004b0000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:1:1:1 -> vml.0200010000600143800648f59e00004000004b0000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:1:2:0 -> vml.0200020000600143800648f59e00004000004f0000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:1:2:1 -> vml.0200020000600143800648f59e00004000004f0000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba1:1:3:0 -> vml.0200030000600143800648f59e0000400000530000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba1:1:3:1 -> vml.0200030000600143800648f59e0000400000530000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:0:1:0 -> vml.0200010000600143800648f59e00004000004b0000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:0:1:1 -> vml.0200010000600143800648f59e00004000004b0000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:0:2:0 -> vml.0200020000600143800648f59e00004000004f0000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:0:2:1 -> vml.0200020000600143800648f59e00004000004f0000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:0:3:0 -> vml.0200030000600143800648f59e0000400000530000485356333030

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:0:3:1 -> vml.0200030000600143800648f59e0000400000530000485356333030:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:1:0 -> vml.0200010000600508b30093668036641f0e0c6000004d534120564f

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:10:0 -> vml.02000a0000600508b300936680acfa53f1693200094d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:10:1 -> vml.02000a0000600508b300936680acfa53f1693200094d534120564f:1

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:1:1 -> vml.0200010000600508b30093668036641f0e0c6000004d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:11:0 -> vml.02000b0000600508b300936680a16a541cb750000a4d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:11:1 -> vml.02000b0000600508b300936680a16a541cb750000a4d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:12:0 -> vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:12:1 -> vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:2:0 -> vml.0200020000600508b300936680c8621931f87c00014d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:2:1 -> vml.0200020000600508b300936680c8621931f87c00014d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:3:0 -> vml.0200030000600508b3009366803254b369df3d00024d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:3:1 -> vml.0200030000600508b3009366803254b369df3d00024d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:4:0 -> vml.0200040000600508b30093668062a5848e740400034d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:4:1 -> vml.0200040000600508b30093668062a5848e740400034d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:5:0 -> vml.0200050000600508b3009366809fc666b57b4f00044d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:5:1 -> vml.0200050000600508b3009366809fc666b57b4f00044d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:6:0 -> vml.0200060000600508b300936680299f62d518f800054d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:6:1 -> vml.0200060000600508b300936680299f62d518f800054d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:7:0 -> vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:7:1 -> vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:8:0 -> vml.0200080000600508b300936680ae5a539a92d200074d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:8:1 -> vml.0200080000600508b300936680ae5a539a92d200074d534120564f:1

lrwxrwxrwx    1 root     root           58 Jul  4 15:22 vmhba2:1:9:0 -> vml.0200090000600508b300936680a62a53c5117900084d534120564f

lrwxrwxrwx    1 root     root           60 Jul  4 15:22 vmhba2:1:9:1 -> vml.0200090000600508b300936680a62a53c5117900084d534120564f:1

-rw-------    1 root     root     2199023255552 Jul  4 15:22 vml.0200010000600143800648f59e00004000004b0000485356333030

-rw-------    1 root     root     2199022141440 Jul  4 15:22 vml.0200010000600143800648f59e00004000004b0000485356333030:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200010000600508b30093668036641f0e0c6000004d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200010000600508b30093668036641f0e0c6000004d534120564f:1

-rw-------    1 root     root     2199023255552 Jul  4 15:22 vml.0200020000600143800648f59e00004000004f0000485356333030

-rw-------    1 root     root     2199022190592 Jul  4 15:22 vml.0200020000600143800648f59e00004000004f0000485356333030:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200020000600508b300936680c8621931f87c00014d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200020000600508b300936680c8621931f87c00014d534120564f:1

-rw-------    1 root     root     2199023255552 Jul  4 15:22 vml.0200030000600143800648f59e0000400000530000485356333030

-rw-------    1 root     root     2199022141440 Jul  4 15:22 vml.0200030000600143800648f59e0000400000530000485356333030:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200030000600508b3009366803254b369df3d00024d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200030000600508b3009366803254b369df3d00024d534120564f:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200040000600508b30093668062a5848e740400034d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200040000600508b30093668062a5848e740400034d534120564f:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200050000600508b3009366809fc666b57b4f00044d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200050000600508b3009366809fc666b57b4f00044d534120564f:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200060000600508b300936680299f62d518f800054d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200060000600508b300936680299f62d518f800054d534120564f:1

-rw-------    1 root     root     214745610240 Jul  4 15:22 vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f

-rw-------    1 root     root     214745544704 Jul  4 15:22 vml.0200070000600508b3009366809f98cbf79e9d00064d534120564f:1

-rw-------    1 root     root     214745088000 Jul  4 15:22 vml.0200080000600508b300936680ae5a539a92d200074d534120564f

-rw-------    1 root     root     214737319424 Jul  4 15:22 vml.0200080000600508b300936680ae5a539a92d200074d534120564f:1

-rw-------    1 root     root     214745088000 Jul  4 15:22 vml.0200090000600508b300936680a62a53c5117900084d534120564f

-rw-------    1 root     root     214737319424 Jul  4 15:22 vml.0200090000600508b300936680a62a53c5117900084d534120564f:1

-rw-------    1 root     root     214745088000 Jul  4 15:22 vml.02000a0000600508b300936680acfa53f1693200094d534120564f

-rw-------    1 root     root     214737319424 Jul  4 15:22 vml.02000a0000600508b300936680acfa53f1693200094d534120564f:1

-rw-------    1 root     root     252538552320 Jul  4 15:22 vml.02000b0000600508b300936680a16a541cb750000a4d534120564f

-rw-------    1 root     root     252532481024 Jul  4 15:22 vml.02000b0000600508b300936680a16a541cb750000a4d534120564f:1

-rw-------    1 root     root     899993687040 Jul  4 15:22 vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f

-rw-------    1 root     root     899993621504 Jul  4 15:22 vml.02000c0000600508b30093668002fe7bb291e2000b4d534120564f:1

fdisk -l /dev/sdn
Disk /dev/sdn: 2199.0 GB, 2199023254528 bytes
64 heads, 32 sectors/track, 2097151 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdn1             1   2097151 2147482608   fb  Unknown
Any ideas?
any help is appreciated ..
Regards
Martin

0 Kudos
8 Replies
prasadsv
Enthusiast
Enthusiast

what did you observe in VMkernel log.

Also, ESX/ESXi host does not support 2 terabyte LUN size.The largest LUN size which can be presented to an ESX/ESXi host is 2TB - 512 Bytes.

Please refer kb.vmware.com/kb/3371739.

0 Kudos
oller
Contributor
Contributor

Our disk is 2199023254528 bytes.

The limit of 2 terabytes translates to:

2199023255040 bytes

2 199 023 255 040 - 2 199 023 254 528 = 512 bytes

Max is 2TB - 512 Bytes, as our, 2199023254528. Or am I wrong?

/var/log/vmkernel tell us nothing.

0 Kudos
prasadsv
Enthusiast
Enthusiast

That's perfect.

Try to create datastore using  those LUNS and makse sure you select 8MB as Block size.

0 Kudos
oller
Contributor
Contributor

Im following this guide, "Manually creating a VMFS volume using vmkfstools -C"

Step 4 tell me to "Use the partedUtil command to print any existing partitions defined on the chosen disk device"
And..
partedUtil get /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
Unable to get device /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
Obviously is exists!
ls -l /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
-rw-------    1 root     root     2199023255552 Jul  5 09:48 /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030
0 Kudos
prasadsv
Enthusiast
Enthusiast

Please try running the command using vmhbaX:X:X:X and not with vml.xxx

0 Kudos
oller
Contributor
Contributor

Same result,

partedUtil get "/vmfs/devices/disks/vmhba1:1:2:0"
Unable to get device /vmfs/devices/disks/vmhba1:1:2:0

hostd.log tell us "Unable to get partition information for /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030" so I assume that the command that is run in the background is

partedUtil get /vmfs/devices/disks/vml.0200020000600143800648f59e00004000004f0000485356333030

0 Kudos
prasadsv
Enthusiast
Enthusiast

How did you create existing vmfs partition on these luns.Can you try out this way to delete and create vmfs partition

1. fdisk <device>.In your case its /dev/sdn .

2. delete the existing partitions on the LUN.

3. create new partition (using fdisk) and select the partition type (code ) as fb.

4. Run vmkfstools command as mentioned in KB that you were follwoing with block size set to 8MB.

If this fails,try to create another Lun of size 2000GB.Your existing size is 2199.0 GB.This is to know just if there is any issue with the LUN or physicla media.

oller
Contributor
Contributor

We made smaller LUN:s and after that all went OK.

Thanks for your help.

Regards,

Martin

0 Kudos