SCSI local data store connectivity issues

Hi all
I installed the server ESXi 4.1 before six months. now, I've seen continuous events related to data store connectivity issues. I changed the SATA cable also, but it won't help. How can I fix this without interrupting the VMs.

As ESXi before 5, it is located on the var

You can find them easily by starting from the root directory of newspapers:

var/log/messages of cat | grep vmkernel | less

Tags: VMware

Similar Questions

  • Adding/viewing ESX hosts the local data store in vCenter

    Hey all,.

    I am pleased to join these forms and hope I have don't get dessu down for not having a cert VM (I train hard knowledge where and how get it)

    I have recently graduated from networking and am on the fast track in my new career. Now things are as clear as possible so I will try to fill as much

    ESXi 1 - Dell G6, running, 1065491 5.1.0

    Storage adapter - Smart Array P410i

    vmhba0

    Details - Serial Attached SCSI disk HP, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L0, mounted the Non - SSD, block adapter, 1 TB)

    ESXi 2 - Dell G7 5.1.0 running, 1065491

    Storage adapter - Smart Array P410i

    Details-HP Serial Attached SCSI Disk, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L1, mounted the Non - SSD, block adapter, 1 TB)

    vCenter - Win Server 2008 r2 (working on the features of powershell to work with packages from CodePLex)

    ESXi hosts in a single datacenter, with one single Cluster... in this cluster is a SAN that the two hosts can access without problem

    When I click on Cluster 1-> summary-> Storage (local storage shows ESXi 1 and SAN storage) NO ESXi 2 of local storage.

    When I click on ESXi 1 host in vCenter and then click on summary or Configuration (Storage)... it will show the SAN and hosts local storage

    When I click on ESXi 2 host in vCenter and then click summary or Configuration (Storage)... it will show the SAN and NOT hosts local storage

    How can question I view and manage local storage of 2 ESX via vCenter?

    At the moment I have to hand, log in to ESX 2 via vSphere thickclient and see its local data store.

    I was talkin to some people on #vmware in IRC, but can't seem to understand why... is something mmiss configured? I thought that this would have been a no-brainer... I tried to 'find new warehouses of data' on the ESX 2 in vCenter, no dice.

    Help

    Welcome to the community - I would try to remove the host to vCenter and see if you can see the local storage.

  • Clone the virtual machine to the local data store

    Hi all

    I'm looking to automate a task daily (or almost) of my friends with a small script with powercli.

    I'm trying to "backup" or to clone a virtual machine, I work in a storage of one of our servers.

    The servers are managed by a 5.1 vCenter and the machine is on a shared storage.

    From time to time, I clean, stop the machine, remove all snapshots and clone the virtual machine to one of the local server as a backup storage. So I put together a small script which almost works. It works as long as the target data store is a shared storage, but not with a local storage.

    I get always an error that claims it can not access the local data store and is not a permissions problem...

    Given that I can accomplish this via the customer without problem I thought it is possible via powercli too, or I'm wrong?

    My Script up to now:

    # Variables
    $VC = "vc.domain.com" #vCenter Server
    $User = "domain\user" #User
    $Pass = 'test123' #User PW
    $VMName = 'scripttest' #VM
    $BackupSuffix = "backup" #Suffix to add the name of VM to mark this as a backup
    $VmHost = "esx2.domain.com".
    $Datastore = 'ESX2-LocalData' #Datastore
    $BackupFolder = 'Backup' #Folder the VM gets classified


    # Register cmdlets to VMware

    If (-not (Get-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue)) {}

    Add-PSSnapin VMware.VimAutomation.Core

    }


    # Connect to the server

    SE connect-ViServer $VC - user $User-password $Pass


    # Remove the old clone

    $OldBackups = get - VM | WHERE {$_.} {Name: corresponds to '$VMName - $BackupSuffix'}

    If ($OldBackups - don't "")

    {

    If ($OldBackups.Count - gt 1)

    {

    Write-Host "better check! "Found several results:

    Foreach ($VM to $OldBackups)

    {

    Write-Host $VM. Name

    }

    }

    on the other

    {

    Remove-VM - VM $OldBackups - DeleteFromDisk-confirm: $false

    }

    }


    # Clone VM

    $VMInfo = get - VM $VMName | Get-View

    $CloneSpec = new-Object Vmware.Vim.VirtualMachineCloneSpec

    $CloneSpec.Snapshot = $VMInfo.Snapshot.CurrentSnaphshot

    $CloneSpec.Location = new-Object Vmware.Vim.VirtualMachineRelocateSpec

    $CloneSpec.Location.Datastore = (get-Datastore-name $Datastore |) Get - View). MoRef

    $CloneSpec.Location.Transform = [Vmware.Vim.VirtualMachineRelocateTransformation]: sparse

    $CloneFolder = $VMInfo.Parent

    $CloneName = "$VMName - $BackupSuffix".

    $TaskCloneID = $VMInfo.CloneVM_Task ($CloneFolder, $CloneName, $CloneSpec)


    # Check if the task is completed


    $Check = $false

    While ($Check - eq $false)

    {

    $Tasks = get-job | Select State, id | Where {$_.} State - eq "Running" - and $_. State - eq "pending"}

    ForEach ($Task in $Tasks)

    {

    If ($Task.id - eq $TaskCloneID)

    {$Check = $false}

    on the other

    {$Check = $true}

    }

    Start-Sleep 10

    }

    # Move clone to the backup folder

    Move-VM - VM '$VMName - $BackupSuffix' - Destination $BackupFolder


    # Disconnect

    Disconnect-VIServer-confirm: $false

    Can you show us the complete error message you get?

    BTW, the clone step can be replaced by the New-VM cmdlet with the setting of the virtual machine.

  • Download a file from a local data store

    Hi all

    I was wondering if it is possible to generate scripts downloading a file from a local data store on a Windows Server? Also, there are scripts available to perform such a task?

    Thank you

    Hello

    Just guessed myself using the cmdlet copy-datastoreitem - good KB article here

    After the connection to your vCenter server, connect to the data store and mount the source as a PSdrive data store, and then use the cmdlet.  It also works well download a data store and the downloading of a data store: just spent around objects in - point and - Destination.

    At first glance, it seems that you need to know the source path of the data store.

    $dstore = get-datastore "YourDatastoreName"
    
    New-PSDrive -location $dstore -name dStore -psprovider vimdatastore -root '\'
    
    copy-datastoreitem -item dStore:\VMFolder\VMConfig.vmx -Destination c:\SomeFolder\vmconfig.vmx
    
  • Local data store renaming problem with the cmdlet set-datastore

    Hiya,

    I just started using powercli to configure my ESX Servers 4.1i.

    Most of my script version works fine - but I can't rename the local data store.

    I do a get-data store based on the name that works very well, I then pipe series-store data with a new name-, but it just seems to ignore the order and leave it with the old name.

    No error message is produced.

    I pasted in the results of the "get-data store" (just to show that it exists) and the results of the 'get-datastore piped to set-data store", below.

    I'm sure I'm missing something really obvious - but I do not know what?

    [vSphere PowerCLI] D:\powershell > get-datastore-name 'test1' | fl


    DatacenterId: Datacenter-ha-datacenter
    Datacenter: ha-datacenter
    ParentFolderId: Folder-ha-folder-datastore
    ParentFolder: datastore
    DatastoreBrowserPath: vmstores:\ohst213vmh.blah.co.uk@443\ha-datacenter\test1
    FreeSpaceMB: 64207
    CapacityMB: 64768
    Accessible: true
    Type: VMFS
    ExtensionData: VMware.Vim.Datastore
    ID:-Datastore-4d4c2877-c48e1465-b0be - 00237d 358458
    Name: test1
    UID: /[email protected]:443 / Datastore = Datastore-4d4c2877-c48e1465-b0be-002
    37d 358458.

    [vSphere PowerCLI] D:\powershell > get-datastore-name "test1" |-store game data-name 'test2' | fl


    DatacenterId: Datacenter-ha-datacenter
    Datacenter: ha-datacenter
    ParentFolderId: Folder-ha-folder-datastore
    ParentFolder: datastore
    DatastoreBrowserPath: vmstores:\ohst213vmh.blah.co.uk@443\ha-datacenter\test1
    FreeSpaceMB: 64207
    CapacityMB: 64768
    Accessible: true
    Type: VMFS
    ExtensionData: VMware.Vim.Datastore
    ID:-Datastore-4d4c2877-c48e1465-b0be - 00237d 358458
    Name: test1
    UID: /[email protected]:443 / Datastore = Datastore-4d4c2877-c48e1465-b0be-002
    37d 358458.

    See you soon

    Jordan

    When you add a server ESX to vCenter, agent VirtualCenter (vpxa) service is installed on the ESX Server.

    All actions you take in the vSphere ESX server customer or a PowerCLI script when you are connected to the vCenter, passed through this vpxa service. This service manages the resources on the ESX Server.

    To avoid problems when you change some resources directly from the COS of ESX, vpxa services locks these resources.

    That's why you can not change the datastorename when you are connected directly to an ESX Server that has been added to a vCenter.

    BTW, if you connect a vSphere client directly to the ESX Server, you will see the same phenomena as what you see in your script PowerCLI.

    If you need to change the datastorename locally on the ESX for some reason, you can try to remove the ESX Server with Remove-VMHost to vCenter, connect to the server with Connect-VIServer ESX, make your changes and add it to the vCenter with Add-VMHost.

  • VMDR - local data store

    Hello

    I would like to know if it is possible to create a local data store to use as the destination for VMDR?

    If so, how?

    The only option I get in VMDR is to add a network share.

    Yes, you can of course add the local data store as a destination for camera VDR.

    Step 1. Add a disk, virtual appliance VDR as you add a virtual disk to a virtual computer. When you create a new virtual disk, select the local data store and specify the size chosen.

    Step 2. Connect to the VDR thanks to the welcome > Solutions and Applications to destination you would see this space, format, and edit and your VDR unit is ready to be backed up.

    Hope this helps!

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

    f 10.

    VCP3, VCP4, HPCP, HP UX CSA

    http://KB.VMware.com/

  • Cannot delete the local data store empty on ESXi 4

    Hi all

    Does anyone know how to kill the process that uses / block the process of removing the ESXi 4 data store?

    I have this provblem in VI Client when I was in the middle of the removal of the Local data store

    Remove datastore

    The resources ESXi02_VMFS vim.host.DatastoreSystem is in use.

    It's production live environment so is possible to kill the process without having to restart the ESXi 4 crowd?

    Thank you.

    Kind regards

    AWT

    OK so first try to connect with viclient to ESXi directly and see if you can remove the data store.

    The command you need to nod your head do buisness hours.

    Good luck!

    MCP, VCP

  • Expand the Local data store

    Hello

    I have an ESX 4.1 with only a data store local (RAID5) on virtual machines on a DELL Server

    I want to enlarge the data store, I don't have enough free space to create multiple virtual machines.

    To do:

    -Install a new hard drive (with vmware powered)

    -Add the new hardisk to Raid5 with DELL Open manage

    -wait finally extend raid 5

    -Power Off Vmware machines?  or continue started?

    -Develop with local Vshpere the data store vmware (what time must expand?)

    I want to know if I can do an extension with the new space unpartitioned on local existing datastore without losing my virtual machines? I have only the local data store with esxi when I develop the esxi continue to work?

    Can someone help me?

    Concerning

    Yes, it's quite OK.

    If this solved your problem, please mark it as answered.

    See you soon,.

    Adil Arif

  • Deployment uses the local data store

    The deployment of VIO works without problem, but one of the virtual machines (VIO-DB-0) is now in a local data store. I never chose this data store in the installation process.

    Is it possible to manually move the virtual machine? Is it possible to define the data store used for the management of virtual machines somewhere?

    Concerning

    Daniel

    Hi Daniel,.

    Take a look at VMware integrated OpenStack 1.0 Release Notes:

    • Installer gives priority to local storage by default
      When you set up the data for the database stores three virtual machines, VMware OpenStack Setup integrated automatically gives priority to a local storage to improve IO performance. For resilience, users might prefer a shared storage, but the installer does not clear how to change this setting.
    • Workaround: Before completing the installation process, the installer of VMware OpenStack integrated allows you to examine and change the configuration. You can use this opportunity to change the configuration of the data to the database store three virtual machines.

    If you have already installed VIO, AFAIR you should be able to manually move between data warehouses as long as you do not change VM itself.

    Note that there is rule anti-affinite, so you may not be able to move that VM in the same data store when no other VIO - DB resides.

    Another note is that if you turn off VIO-DB-0, mysql service will not appear automatically. you have to turn on manually by running "service mysql start" on the node itself, or run 'vioconfig start' of the SGD server.

    Best regards

    Karol

  • Local data store has disappeared from the data store window (necessary emergency aid)

    Dear team,

    I m facing a very strange problem, all of a sudden one of the local ESX datastore disappeared thereafter are full details we have encountered/noticed.

    A local data store disappeared from the data store window.able to see this data store to add storage Wizard, which allows us to format the same.

    * If we take a session putty from here we can see and browse this store of data without problem.

    * Virtual computers that are running on this data store work as well (all files are accessible / VM is accessible on the network)

    * Unable to take backup image do error "the object has already been deleted or was not completely created.

    * Not able to take a «cannot complete the copy file... network» clone »

    Getting from newspapers in vmkernel:

    (14 dec 17:11:39 localhost vmkernel: 0:01:55:28.677 cpu1:4097) ScsiDeviceIO: 747: command 0 x 28-the device 'mpx.vmhba1:C0:T1:L0' failed, the data of sense H:0 x D:0 x 2 P:0 x 0 0 valid: 0 x 4 0 44 x 0 x 0.

    (14 dec 17:11:39 localhost vmkernel: 0:01:55:28.677 cpu1:4097) ScsiDeviceToken: 293: Sync IO 0 x 28-the device 'mpx.vmhba1:C0:T1:L0' failed: error/o H:0 x D:0 x P:0 x 0 2 0 valid sense data: 0x4 0 44 x 0 x 0.

    (14 dec 17:11:39 localhost vmkernel: 0:01:55:28.677 cpu6:4110) capability3: 5354: Sync READ error ('. fbb.sf') (ioFlags: 8): i/o error

    Need your help urgently to solve the same.

    concerning

    Mr. VMware

    Dear all,

    We have enclosed a case at VMware, please find their findings on the same.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    After the webex session, we just had, I discovered the root cause of the problem reported to an underlying problem on the block device (the logical drive, or a problem on the Board) presented to accommodate the data in question store successfully.

    In short, whenever we try to do raw reading from the disk (from sector 0), the same always fail when we reach the 30932992 bytes (31 MB) brand with an IO error (which is consistent, he is always on this region of the disc that read operations fail, no more, no less). This result can be seen, even if no partition is in the disk (using if = / dev/sdb instead of/dev/sdb1 with dd) and even after zeroing on all sectors (if dd \u003d/dev/zero of = / dev/sdb). Strangely, read operations work fine (as he writes zeros of random data) throughout the entire disk. Keep in mind that the tests I did with no VMware tools (I used almost only dd for these operations), which prohibits certainly a VMware problem (in fact, if you were to try to start the server with a Linux live CD and run the same tests that I did, you would see the same behavior).

    I know that there is no report of material of any bad behavior on the table, but data collected with our tests today completely invalid who. The next step is for you to take this to the server provider to check for problems on the table or discs, because they are there and they are the reason for the problem you reported initially.

    Please let me know if you have other questions about it.

    Thank you

    -

    David Meireles

    Technical Support Engineer

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Now we have blocked a case from the hardware vendor, to see what the next move will be.

    concerning

    Mr. VMware

  • Can I delete the local data store on esx 3.5?

    I have a client with vmware ESX 3.5 no esxi

    They have a local data store but it is formatted with a block size of 1 MB, so I can put only a 256 GB VM out there and I need to put a test VM with a larger size.

    I know that in ESXi 4 you can simply delete the local data store and create a new, but I'm not familiar with ESX 3.5, are there hidden files on the data store that the server uses?  If I search for the store there's nothing in there.

    Thank you

    Mike

    Hi Mike,.

    You can simply reformat your data store. Take a look at the following article:

    Of course, you must back up and delete any data you have on this data store before the format operation.

    Good luck!

    Concerning

    Franck

  • Kickstart: Local data store destroyed do not reinstall it

    I noticed that when I reinstall ESXi 5 on a server already built, the previous local data store is not destroyed.

    I said to make a 'install' and 'overwritevmfs '.

    install - firstdisk = mptsas, local - overwritevmfs

    in the upper part of the kickstart but the store of previous local data remains.

    I tried to use clearpart

    clearpart - alldrives - overwritevmfs

    Yet the local data store of the previous generation, as well.

    Part of my process of kickstart is to rename the store local data (datastore1) to a meaningful name that includes the hostname so if I reinstall, the data store rename fails (since there is no datastore1 on the 2nd install).  Also, I need to know the name of the data store, as I'm checking out the files ' / ' when installing (via oem.tgz) and move before the first reboot in the section post % (or they will be gone). The only persistent location is the local data store. This also effects kickstart for resettlement syslog that goes to the local data store as well.

    Suggestions on how do I delete a data store local existing during the installation (unless you delete the RAID and re-create)?

    -JC

    I wrote the following script to rename the local old data store ESXi 5.0 using Primo-kickstart script:

    _____________________________________________________________________

    AcceptEULA

    #clearpart - firstdisk = cciss, local - all - overwritevmfs # removes all partitions on local drive (for G1 blade servers) but will not erase the label VMFS

    clearpart - firstdisk = hpsa, local - all - overwritevmfs # removes all partitions on local drive (for G6 blade servers) but will not erase the label VMFS

    install - firstdisk = hpsa, local - overwritevmfs

    rootpw SECRET

    reset

    % include/tmp/networkconfig

    % pre - interpreter = busybox

    # extract information network startup

    VMK_INT = "vmk0".

    VMK_LINE = $(localcli réseau ip interface ipv4 get | grep "${VMK_INT}")

    IPADDR = $(echo "${VMK_LINE}" | awk '{print $2}")

    NETMASK = $(echo "${VMK_LINE}" | awk '{print $3}")

    GATEWAY = $(esxcfg-route | awk '{print $5}')

    DNS = "10.130.0.21,10.130.0.22."

    Hostname = $(nslookup "${IPADDR}" | grep adresse | awk '{print $4}')

    echo ' network - bootproto = static - addvmportgroup = false - device = vmnic0 - ip = ${IPADDR} - netmask = ${MASK} - gateway = ${GATEWAY} - nameserver = ${DNS} - hostname = ${HOSTNAME} "> / MC

    p/networkconfig

    firstboot % - interpreter = busybox

    # Extract the host name of the host number

    # Example: HC - moon01.tapkit .net = ' 01, sc - moon02.tapkit .net = ' 02, sc - moonNN.tapkit .net = 'NN ',.

    HL ='hostname-s | WC-c"

    hostNum = $(nom d'hôte-s | cut-c'expr $hl-2'-'expr $hl-1')

    # Rename the local data store to something more meaningful

    # Find the current local data store NAME (exclude all the SAN HSV200 data store)

    DatastoreName = "$(liste étendue d'esxcli stockage vmfs |) grep ' esxcli - trainer = csv - format-param = fields = "Device, model" list of basic storage device | grep - v "HSV200". grep - v "Device". cut - d-f1' | AWK '{print $1}')'

    NewDataStoreName = "datastore$ hostNum.

    # Rename the data store

    Vim - cmd hostsvc/datastore/rename $DatastoreName $NewDataStoreName

    # copy % first startup script newspapers to persistent data store

    CP /var/log/hostd.log "/ vmfs/volumes/$NewDataStoreName/firstboot-hostd.log".

    CP /var/log/esxi_install.log "/ vmfs/volumes/$NewDataStoreName/firstboot-esxi_install.log".

    # Needed for configuration changes that cannot be performed in esxcli (thank you VMware)

    reset

    _____________________________________________________________________

    I hope this helps...

    A big thank you to William Lam for his great contribution: http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html

    Gilles Marcil

  • Cannot create the local data store more Go 558,75

    See attachment.

    New installation of ESXi 4.1.0 try adding a local data store.  Local volume is a to 4.55 RAID 5, fully initialized.

    Add storage

    Choose the device, etc.  Choose the size of 8MB block and "ability to mazimize.  Summary On screen looks like its going to do what I ask... I cliquerai finish.

    Produces final is 558,75 Go.  Any ideas?

    ESX(I) supports no more than a little less than 2 TB LUN. Divide your table into smaller LUNs

  • Change el en local data store storage limit

    Hola

    Tengo a servidor para instalar vsphere y quiero detect maquinas office in el local data store. Quiero saber como formatear el local datastore para I of mas soporte UN disco of 256 GB, I need por lo menos 1 TB.

    Saludos

    Hola

    I hope you guste esta imagen, porque so lo he present con el pdf

    Esta soon as I have that restore a 4 probing script en una verdad el.

    If esta u otra respuesta're util, por favor su marca used notificador.

    Gracias / looks

  • How can I move virtual machines from a local data store for a new iSCSI SAN?

    Hello guys,.

    Now that we have a new iSCSI SAN market how can I tranfer all the virtual machine to a local data store for a new SAN? Can I stop the VM in the host, and then copy the DataStore files with all the info on the new volume?

    Thank you

    Pesinet

    Alternatively, you can use VMware converter or cold Migration / Storage VMotion if you have the appropriate licenses.

    Duncan

    VMware communities user moderator | VCP | VCDX

    -

Maybe you are looking for

  • Downloaded and installed FF 36.0.3 but there are no release notes so is this a legitimate installation?

    So I made the last update to FF (36.0.3) warned. Then I went to take a look at the release notes in https://www.mozilla.org/en-US/firefox/releases/ for 36.0.3 but there is none. It was therefore a release legitimate without documentation or I just ge

  • My Ideapad Y570 staggers a reason any!

    If I for example, utorrent in the background downloading things, and I watch videos to youtube at the same time the videos just to pause for a second every once in a while, while making weird noises. I tried to put the battery on high performance, bu

  • Windows 7 starter with xbox 360

    good then it is a problem that has baffled me. so I tried to set up my laptop with windows 7 starter to my xbox.it says he can't because he is not a media center for the Starter edition.then I learned about the piece to option. what looked like it wo

  • can I use Microsoft Home and Student 2010 - Windows with vista

    I have had a problem with my computer and had to strip and reformatting, but lost all of my Microsoft Office 2007 and the disc program, I had cannot be reused. Can I replace it with 2010? Is - this compatiable?

  • BlackBerry Smartphones GPRS

    Hello Please let me know how to use GPRS card to locate almost anywhere. Earlier, I have android phone and very easy to use GPRS android but the extent of the bb that I'm not able to use as I am new to Blackberry. Help, please Sylvie