I got a FC lun that is a bootlun from another host. I see it under devices under the hba, but when I go to add datastore, I do not see it.
any idea? The lun number is 0. should it matter?
try to re-signature it and use it.
i cant even see the lun, how do I resignature it? the lun is not visible.
use the esxli command to list out and re-signature it.
Command line
The esxcli
command is used on the command line.
# esxcli storage vmfs snapshot list
49d22e2e-996a0dea-b555-001f2960aed8
Volume Name: VMFS_1
VMFS UUID:
49d22e2e-996a0dea-b555-001f2960aed8
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1
# esxcli storage vmfs snapshot mount -l label|-u uuid
# esxcli storage vmfs snapshot mount -l "VMFS_1"
# esxcli storage vmfs snapshot mount -u "49d22e2e-996a0dea-b555-001f2960aed8"
# esxcli storage vmfs snapshot mount -n -l label|-u uuid
# esxcli storage vmfs snapshot mount -n -l "VMFS_1"
# esxcli storage vmfs snapshot mount -n -u "49d22e2e-996a0dea-b555-001f2960aed8"
# esxcli storage vmfs snapshot resignature -l label|-u uuid
# esxcli storage vmfs snapshot resignature -l "VMFS_1"
# esxcli storage vmfs snapshot resignature -u "49d22e2e-996a0dea-b555-001f2960aed8"
There is possibility your LUN is not empty and there already exist some other partition.
If this is the root case of your issue than there are several possibilities how to solve this issue.
Solution 1: You can delete/destroy your LUN and create new one.
Solution 2: use dd to zero the head of your LUN. The command can looks like
dd if=/dev/zero of=<DEVICE> bs=512 count=100
Please note that I don;t test this command and I have just write it from memory ... use it in on your own risk 😉
Are you trying to add the datastore from the vCenter server or from a client directly from host.? if from vCenter server try and check if your able to add the datastore from the host directly.
--Avinash