Cannot add the iSCSI storage unless it is formatted

Hello

I have therefore 2 boxes of ESX 4.0 and I migrate all the machines to a new box of 5.5 ESXi.  Box 5.5 cannot see one of iSCSI targets that can the other 2.  The only way I can add by using the application client vSphere to add storage, where I can see it, but I'm not able to add without formatting.  Of course, this is not desirable.  Why this storage can be used without formatting?  All iSCSI targets are the same machine, they all were created the same way I can say, so why is it a unable to add without a format?

Well here is the solution to my problem:

http://www.experts-exchange.com/Software/VMware/Q_27032673.html

I had to mount the storage using the CLI instead of the vSphere client.

Tags: VMware

Similar Questions

  • Cannot add the NFS storage to the data device

    Hello

    I try to add the NFS storage unit of data.

    I followed the documentation, and when I ran the script supposed to mount/add NFS storage to the device, an error message indicating that the export is read-only, which is actually not the case:

    ./Mount-NFS-Store.pl nfs--servername.domain.com:/hzn-data-01

    NFS: servername.domain.com:/hzn-data-01

    HOST: servername.domain.com

    servername.domain.com is alive.

    Mount.NFS: deadline set for Fri Mar 8 21:33:13 2013

    Mount.NFS: try the options based on the text 'hard, rsize = 32768, wsize = 32768, intr, addr = 128.178.102.59'

    Mount.NFS: prog 100003, try around = 3, prot = 6

    Mount.NFS: try the port TCP XXX.XXX.XXX.XXX prog 100003 3 prot 2049

    Mount.NFS: prog 100005, try around = 3, prot = 17

    Mount.NFS: try XXX.XXX.XXX.XXX prog 100005 3 UDP port 1234 prot

    ServerName.domain.com:/HZN-Data-01 on/opt/zimbra/store10 type nfs (rw, sync, noatime, hard, rsize is 32768, wsize = 32768, intr)

    Error has occurred: directory does not exist or is not writable: / opt/zimbra/store10

    zmvolume failed at ligne./mount-nfs-store.pl 49.

    Of course, I tried to go to the mount point (in this case/opt/zimbra/store10) and quite capable of writing in it (touch, create the file + dir, etc...).

    The data device has root access to the NFS export. I have no idea about the cause of this error.

    Any clue?

    Thank you very much

    Eric

    In my view, that ashish ask you to run the following command, so that the folder is owned by the user «zimbra»

    chown-r zimbra:zimbra

  • Cannot add the vmkernel nic: a specified parameter was not correct. vSphere CLI + ESXi 4

    Hello. I try to add vmknic with frames in my distributed virtual switch.

    I read the vSphere command-line Interface Installation and reference Guideguide:

    "vicfg-vmknic - a-i DHCP"vmk5"

    I see the error message:

    Cannot add the vmkernel nic: a specified parameter was not correct.

    Vim.Host.VirtualNic.Specification.Ip

    What's wrong?

    I tried all the combinations of parameters with the same result.

    Ok! I've found a workaround.

    Since adding a vmkernel remote interface doesn't seem to work with DVS, I simply created one on a standard vSwitch and it then migrated to the DVS. And voila: the value 9000 MTU migrated intact with her! Here are the steps I followed:

    1. put the ESX host into maintenance mode - evacuate VMs manually if necessary

    2 remove the VMKernel iSCSI/NFS to the DVS interface

    3. create a standard virtual switch with no physical cards. He has no need to be a VMKernel VM Networking switch is fine. Make a note of the name you gave to the PortGroup created on the new vSwitch.

    4 using the remote control line, add the new interface vkernel specifying an appropriate jumbo MTU (9000) and the PortGroup on the standard new vSwitch. For example:

    esxcfg - vmknic.pl - Server

    If you get 3 answers, everything works. If you get failures, something has gone wrong. Go back and check that the interface is configured correctly using the command list esxcfg - vmknic.pl-.

    Enjoy!

    M

  • Cannot add the printer network Windows 7 64 bit

    My laptop Home Premium 64 - bit of Windows 7 (client) cannot add the network printer that sits on the Windows 7 Ultimate 64 bit computer. A client XP computer easily added the network printer. When you try to add the network printer, the Windows 7 client searches for the driver on the host computer and says "unable to connect to the printer - the operation has failed with error 0x000003e3. I downloaded the driver from the manufacturer of the printer to the client computer. I also disabled the firewall on the computers... Any help would be appreciated.

    Hello

    ·         What is the number and model of the printer that you are using?

    ·         How many computers are connected to the host computer?

    ·         You are on a domain network?

    Method 1:

    You can check the items below that explain how to install a printer in Windows 7.

    Install a printer

    http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    Find and install printer drivers

    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    Method 2:

    a. now follow the document below to add the printer to the Windows 7 computer.

    http://Windows.Microsoft.com/en-us/Windows7/share-a-printer

    b. If the steps above does not help try the procedure below.

    We need to change the port and check. Let us perform the steps below to install this printer and check.

    a. Click Start, click Control Panel, and double click on devices and printers.

    b. click Add a printer.

    c. Select "add a local printer.

    d. Select "create a new port". Select "Local Port" as the port type.

    e. in the "type a port name" box, type the address in the following format.

    \\[IP address of the host computer]------[the share name of the printer]

    And then click Next.

    f. Select the driver in the list of drivers. If no driver available, click the Windows Update button, wait the process finishes and then search for the driver again.

    g. complete the installation.

    For additional help, refer to the article below.

    Printer in Windows problems

    You can also check out the link below that addresses the same issue when you face:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/error-0x000003e3-when-trying-to-install-network/2348b57b-7448-E011-8dfc-68b599b31bf5?msgId=d577ab02-DC48-E011-8dfc-68b599b31bf5

  • get the 1726 error: cannot add the port monitor

    get the 1726 error: cannot add the port monitor hp discovery port monitor (hp photosmart 5525 series) running Windows XP, HP Photosmart 5525

    Could not complete the installation.

    Hi Jeff,

    The computer manufacturing must have created a partition on the disk or provided you CD to restore the computer to the way it was when you bought it. If you have a PC clone, then probably you need to reformat your hard drive and reinstall the operating system. If you have an OEM computer (example: HP, Dell, ETC) there is most likely instructions when you turn on/off press F11 or F12 to return the computer to the computer.

    Note: Do nothing until you have all of your backup data.

  • Cannot add the header HTML - CFWebstore on CF11

    Hello

    I get the error below on a new installation of CFWebstore v6.6 on CF11. I used a previous version of CFWebstore on CF7 and CF9 without problem. Looking for suggestions...

    Cannot add the HTML header. ColdFusion is unable to add the header specified in the output stream. It's probably because you used to define one of the ColdFusion Cookies of Session or authentication cookie. To do this, please use configuration at the application server level. The error occurred on line 213.

    Thanks in advance for any help!

    Gary

    I found this answer:

    To resolve this issue, connect to Coldfusion Admin, go to the memory Variables and uncheck "Disable the update from Coldfusion cookies using tags/functions of Coldfusion." Memorize your settings, and then restart your Web site.

  • Cannot add the new log file for the 11g database.

    Salvation of DBA

    I'm not able to add the log file, I receive the error message when the database is added.

    SQL > alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of size of 50 m;
    alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of 50 m of size
    *
    ERROR on line 1:
    ORA-01505: Error adding log files
    ORA-01577: cannot add the log file ' / oracle/DEV/db/apps_st/data/log03a.dbf'-fichier
    already a part of the database

    SQL > select a.group #, a.status, a member of the journal of v$ a, v$ logfile b where a.group # order of b.group = # 1;

    GROUP # MEMBER STATUS
    ---------- ---------------------------------------- ----------
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01a.dbf
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01b.dbf
    /Oracle/DEV/db/apps_st/data/log02a.dbf CURRENT 2
    /Oracle/DEV/db/apps_st/data/log02b.dbf CURRENT 2

    Kindly help me to add the new log file to my database.

    Thank you
    SG

    PGO

    Please see (how can redo log group be dropped when it ever becomes inactive?) [ID] 730827.1).

    Thank you
    Hussein

  • Cannot add the NFS share to store Cluster data

    Hello

    I have this scenario:

    Server - FREENAS with NFS share

    -cluster with 2 guests

    I added the NFS datastore successfully to each host in the cluster. The problem is when I try to add the NFS Datastore for the Cluster data store, I get the error: a specified poarameter was not correct. datastore.info.type.

    Any suggestions would be much appreciated.

    Thank you.

    Datastore1 and datastore2 data warehouses are data warehouses local? If so, you must remove these storages of data added before the NFS datatore to the cluster, first cause a cluster cannot be VMFS and NFS on the same cluster and second cause without making sense have warehouses of local data within a cluster data store.

  • Cannot add the program to enable the WIndows firewall

    I try to install Peachtree Accounting 2011 and firewall Windows gives me a message «firewall WIndows cannot add Peachree accounting 2011»

    to the exceptions list", so I can't install the program.  I tried almost everything.  Not very technologically trained but can follow instructions well.  Thank you

    Here is a fix for this problem:

    Tweaking.com - repair Windows Firewall 2.8.8

    http://www.MajorGeeks.com/files/details/tweaking_com_repair_windows_firewall.html

    I had a customer with the same problem - cannot add programs, and the link above has solved the problem.

  • Cannot add the table to partition to partition

    Hi guys,.

    my version of oracle is 11 GR 2

    I created the table with the following DDL

    CREATE TABLE PERSON

    (

    ID_PERSON VARCHAR2 (10 BYTE) NOT NULL,

    NAME_PREFIX VARCHAR2 (5 BYTE),

    NAME_LAST VARCHAR2 (40 BYTE) NOT NULL,

    NAME_FIRST VARCHAR2 (30 BYTE) NOT NULL,

    NAME_MID VARCHAR2 (30 BYTE),

    NAME_SUFF VARCHAR2 (5 BYTE),

    CD_GENDER VARCHAR2 (1 BYTE),

    DATE OF DATE_BIRTH,

    FL_AGE18 VARCHAR2 (1 BYTE),

    ID_SSN VARCHAR2 (BYTE 9),

    ID_DMV VARCHAR2 (20 BYTE),

    ID_PH_NBR VARCHAR2 (10 BYTE),

    ID_ALIEN VARCHAR2 (10 BYTE),

    ID_TRIBAL VARCHAR2 (10 BYTE),

    NAME_TRIBAL VARCHAR2 (40 BYTE),

    ID_CITY VARCHAR2 (5 BYTE) NOT NULL,

    ID_AD_RESIDENCE NUMBER (38),

    ID_AD_MAIL NUMBER (38),

    CD_NVRA VARCHAR2 (5 BYTE),

    DATE OF DATE_ACCEPT,

    DATE OF DATE_EFFECT,

    CD_STATUS VARCHAR2 (2 BYTE),

    CD_STAT_REASON VARCHAR2 (50 BYTE),

    DATE OF DATE_STAT_CHANGED,

    DATE OF DATE_LAST_ACTIVE,

    FL_RESI_PF VARCHAR2 (1 BYTE),

    CD_RESI_PF VARCHAR2 (4 BYTE),

    CD_RESI_OTH_PF VARCHAR2 (40 BYTE),

    FL_ID_PROVIDED VARCHAR2 (1 BYTE),

    FL_ID_NEVER_ISSUED VARCHAR2 (1 BYTE),

    CD_ID_VALIDATION VARCHAR2 (2 BYTE),

    DATE OF DATE_ID_VALIDATION,

    FL_SIGNATURE VARCHAR2 (1 BYTE),

    FL_US_CITIZEN VARCHAR2 (2 BYTE),

    CD_CITIZEN_PF VARCHAR2 (5 BYTE),

    FL_ACP_PERSON VARCHAR2 (1 BYTE),

    ID_ACP VARCHAR2 (BYTE 9),

    DATE OF DATE_ACP_START,

    DATE OF DATE_ACP_END,

    FL_POLL_WORKER VARCHAR2 (1 BYTE),

    FL_CHALLENGE VARCHAR2 (1 BYTE),

    FL_PREHAVA_PERSON VARCHAR2 (1 BYTE),

    DATE OF DATE_DEATH,

    FL_ELIGIBLE_DELETE VARCHAR2 (1 BYTE),

    FL_ELIGIBLE_PURGE VARCHAR2 (1 BYTE),

    FL_DISABLED VARCHAR2 (1 BYTE),

    FL_ELDERLY VARCHAR2 (1 BYTE),

    NAME_SEARCH VARCHAR2 (40 BYTE),

    AD_SORT_NUM VARCHAR2 (20 BYTE),

    ID_VALID_OTHER VARCHAR2 (50 BYTE),

    ID_UVI VARCHAR2 (16 BYTE),

    ID_CITYSHIP VARCHAR2 (5 BYTE),

    FL_PROTECTIVE_ORDE VARCHAR2 (1 BYTE),

    FL_INACTIVE VARCHAR2 (1 BYTE),

    FL_OVERRIDDEN VARCHAR2 (1 BYTE),

    FL_ALT_REG_SIGN VARCHAR2 (1 BYTE),

    FL_PERMANENT_ABSEN VARCHAR2 (1 BYTE),

    CD_SPEC_STATUS VARCHAR2 (1 BYTE),

    FL_UOCAVA_COMMUNICATION VARCHAR2 (1 BYTE),

    AD_UOCAVA_EMAIL VARCHAR2 (254 BYTE),

    CD_PARTY VARCHAR2 (5 BYTE),

    DATE OF DATE_PARTY_ENROLL,

    DATE OF DATE_ACCEPT_ORIGINAL,

    DATE OF DATE_MOVED,

    DATE_CHANGED DATE,

    AD_EMAIL VARCHAR2 (254 BYTE),

    CD_RACE VARCHAR2 (5 BYTE),

    FL_CITIZEN_HEARING VARCHAR2 (1 BYTE),

    ID_USER VARCHAR2 (20 BYTE),

    TM_STAMP TIMESTAMP (6).

    DATE OF DATE_LAST_CONTACT,

    NAME_PREV_LAST VARCHAR2 (40 BYTE),

    NAME_PREV_SEARCH VARCHAR2 (40 BYTE),

    DATE OF DATE_REG

    )

    TABLESPACE PERSON_DATA

    PCTUSED 0

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    LOGGING

    PARTITION BY RANGE (ID_CITY)

    (

    P_PERSON_1 PARTITION VALUES LESS THAN ('1')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_2 PARTITION VALUES LESS THAN ('2')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_3 PARTITION VALUES LESS THAN ('3')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_4 PARTITION VALUES LESS THAN ('4')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_5 PARTITION VALUES LESS THAN ('5')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_6 PARTITION VALUES LESS THAN ('6')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_7 PARTITION VALUES LESS THAN ('7')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_8 PARTITION VALUES LESS THAN ('8')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_9 PARTITION VALUES LESS THAN ('9')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    )

    )

    NOCOMPRESS

    NOCACHE

    NOPARALLEL

    MONITORING

    ALLOW THE MOVEMENT OF THE LINE;

    I tried to add the partition with the highest value 10

    change the voter table add partition P_PERSON_10 lower (10);

    change the voter table add partition P_PERSON_10 lower (10)

    Error on line 11

    ORA-14074: partition bound must gather greater than that of the last partition

    I want to add 100 to leave with max 100 value, please help me in this regard.

    Split partition also get the error

    Thanks in advance

    Kind regards

    REDA

    ID_CITY a VARCHAR2 is not a number.  Thus, although "less than ('10')" is correct for a VARCHAR2 ("equal or superior (10)"), where do you think the value '2' would go? '2' less than '10' is? Where would the '21' value?  Where would '56'?  Tip: '21' is less than '3' and 56 'is less than 6'.

    Also your first partition is defined as "less than ('1')", which makes no sense.

    Hemant K Collette

  • Cannot add the partition to an existing table.

    Hello

    I don't add the partition to an existing table that is not partitioned, get the error as a type of data not valid, then I'm not find syntax errors.

    ALTER TABLE MESSAGEX_XCHANGE

    ADD THE PARTITION OF RANGE (LAST_MODIFY_TIMESTAMP)

    (

    PARTITION old_data VALUES LESS THAN (To_TIMESTAMP('27/02/2014','DD/MM/YYYY')),

    You see for VALUES LESS THAN (To_TIMESTAMP('28/02/2014','DD/MM/YYYY')) of the PARTITION

    );

    Error report:

    SQL error: ORA-00902: invalid data type

    1. 00000 - "invalid data type".

    * Cause:

    * Action:

    Thank you

    Manon...

    You get this error because your edit statement has an invalid syntax. In addition, you cannot partition a table that is not already configured for partitioning!

    You have to physically re-create the partitioned table in order to add new partitions to it.

  • Add the new storage provider

    Hello

    I try to add the new provider (HP P2000 G3 MSA FC) storage for VMware vSphere Web Client 6, then these steps vSphere 6.0 Documentation Center

    What is the "URL" or where I can find it? I used http://192.168.190.30/ which is the web storage console IP, but get error "the specified provider URL is not valid.

    TIA

    Hello

    VASA Provider URL is accessible via HP OneView plugin for VMware vCenter...

    See details in the section "Support of VASA" on page 37 of this white paper from HP to address official:

    http://WWW8.HP.com/h20195/v2/getpdf.aspx/4AA1-0290ENW.PDF?ver=8.0

  • vifp addserver fails with the error cannot add the user

    This my first post on this forum that I couldn't find an answer via Google search. If I do not use correct terminology or fail to provide comprehensive information, please forgive me. I'm not an expert on VMWare, just a passionate curious tech. I found VMWare to be a very exciting and easy to use product. The VMWare knowledge base is excellent and so is the community of users.

    I have install VMWare ESXi 6.0 free House on servers Dell T420 and T110 II. I recently tested vMA 5 by installing it as a virtual machine on one of the servers. I watched the tutorial Youtube how to use vifp to add servers. I have network etc. on vMA installation and it works fine. Automatic update worked. I issue the command sudo vifp addserver 192.168.250.96, I am prompted for the password. When I enter the password, I get an error error: cannot add users. I checked the log file in /var/opt/vmware/vma/vifpd.log and the more descriptive message is:

    addServer: error occurred when adding users for 192.168.250.96... roll back. An error occurred during the creation of users on 192.168.250.96

    Then I noticed that since I'm on the console vMA to run these commands, as soon as the error occurs, I see that in the lower part, under recent tasks, I see an error: General system error: weak password. The details of the error says:

    vMA Error 1.JPG

    Weak password: not quite different characters or classes.

    Now my password is strong enough. I can't post it here but I'll post a similar password:

    4518Gabdhjg #01

    It is 14 characters and has the numbers, letter uppercase, lowercase letters and special characters. I read the VMWare documentation on passwords and for me, the password seems very well. Any help will be appreciated.

    Thank you

    Arun Gupta

    My bad. I didn't know that vMA 6.0 is available. I just downloaded and configured vMA 6.0 and the problem is solved. Sorry for disturbing everyone.

  • Add the disk storage format to the script

    All, morning

    I had this script that I use to extract data on the virtual machine and their use of the disk, however I need to say and to report on the type of commissioning the disk and I can not find the command for it

    $VMFS = get-Datastore-Refresh - name "LUN? _VMFS_DS "| Sort-Object $_. Name

    $report = @ data structure empty #)

    $allvms = get - VM | Sort-Object $_. # Name I like sorts my datas

    {foreach ($vm to $allvms)

    $vmview = $vm | Get-view # get - view to see the details of the FM

    foreach ($disk in $vmview. Storage.PerDatastoreUsage) {# disks for the virtual machine

    $dsview = (get-view $disk. Data store) # store data used by drives

    $dsview. Refresh # RefreshDatastoreStorageInfo() to get the latest data

    $vmview. Config.Name # Echo to the screen to view the progress

    $row = "" | Select VMNAME DATASTORE, VMSIZE_MB, VMUSED_MB, blank line # PERCENTAGE

    $row. VMNAME = $vmview. Config.Name # add the data to the line

    $row. DATA store is $dsview. Name

    $row. VMSIZE_MB = (($disk.Committed+$disk.Uncommitted)/1024/1024)

    $row. VMUSED_MB = (($disk.Committed)/1024/1024)

    $row. P = [int] (($row.)) VMUSED_MB / $row. (VMSIZE_MB) * 100)

    $report += $row # add the line to the structure

    }

    }

    $report | Export-Csv dump of # "C:\temp\vm_ds.csv" - NoTypeInformation .csv report

    $DSReport Virgin @ reinscriptible = () # for the information store

    {foreach ($LUN to $VMFS)

    $VMSizeSum = 0 # we will summarize the data from the previous report for this LUN

    $LUN. Name # Echo to the screen to view the progress.

    foreach ($row in $report) {# Generate sum for this LUN

    If ($row. DATA store - eq $LUN. Name) {$VMSizeSum += $row.} VMSIZE_MB}

    }

    # Create a blank line and add data to it.

    $DSRow = "" | Select Datastore_Name, Capacity_MB, FreeSpace_MB, Allocated_MB, Unallocated_MB

    $DSRow.Datastore_Name = $LUN. Name

    $DSRow.Capacity_MB = $LUN. CapacityMB

    $DSRow.FreeSpace_MB = $LUN. FreeSpaceMB

    $DSRow.Allocated_MB = [int] $VMSizeSum

    $DSRow.Unallocated_MB = $LUN. CapacityMB - [int] $VMSizeSum # NB than if we have overused # disk space it will be a negative number

    $DSReport += $DSRow # add the line to the structure.

    }

    $DSReport | Export-Csv "C:\temp\Datastores.csv" - NoTypeInformation # dump make .cs

    This report on everything I need, but it will indicate the type of commissioning. Could you help me at all?

    Thank you very much

    Alex

    Ah, it is a bit of a problem, I'm afraid.

    vSphere provides only the freespace on a level of data store, not by the hard drive.

    There are a number of ways to get the freespace by hard drive, but none of them are foolproof, as far as I know.

    For example have a peek at the post called Alan PowerCLI: using Virtual Machine disc

    This gives the freespace, but an internal view of the BONE. In other words, it shows the OS partition information.

    And mapping of the partitions of hard disk operating system is not simple.

    A good method, which works in most cases, is the method of Arnim Match VM and HDDs in Windows using PowerCLI

  • Best way to disconnect the iSCSI storage

    Hello

    I have a server cluster, connected to the Equallogic iSCSI storage. I want to delete and re-create a volume storage, but in a fairly safe way.
    Ideally, I would be able to take the volume out of action for a few days, but there are avaiable to reconnect if necessary. Normally, I would do this to simply put the volume offline. It can then be seen by the hosts, but I put it online as appropriate.
    East - meaning the best, though? It does not seem to cause some problems that are to do with map software iSCSI being unable to find the device, until a new analysis/reset of the host is according to me.
    Can anyone suggest a better way to do this?

    Hello.

    The procedure is described in http://kb.vmware.com/kb/1015084

    Good luck!

Maybe you are looking for