close

Lost datastore in ESXi 4

I switch 2 disks to switch between esx and xenServer in my r710.
When I change to esx from xenserver to esx, the datastore was not usable.
And I found the following steps to resolve the issue.


-------------------------
Hello,

I know this topic is old but he help me to solve a problem on my DELL Poweredge 1950.
I have 2 disks in RAID 1, and one of them have crashed.

When I reboot the server, i can't see the datastore (raid rebuild ...)
I try to do esxcfg-volume -l to list the volumes and mount it but no value was returned.
To solve that, first of all, do this command : fdisk -l You must see a line with fb and vmfs in the column block and id system, your datastore is stored here
/dev/disks/naa.6001ec90e0cfb90016e0bbd84f9301b9p3 4996 476416 482735104 fb VMFS

Then, follow this step :

1. ls -alh /vmfs/devices/disks

Return that :
drwxr-xr-x 1 root root 512 Mar 1 19:25 .
drwxr-xr-x 1 root root 512 Mar 1 19:25 ..
-rw------- 1 root root 465.3G Mar 1 19:25 naa.6001ec90e0cfb90016e0bbd84f9301b9
-rw------- 1 root root 896.0M Mar 1 19:25 naa.6001ec90e0cfb90016e0bbd84f9301b9:1
-rw------- 1 root root 4.0G Mar 1 19:25 naa.6001ec90e0cfb90016e0bbd84f9301b9:2
-rw------- 1 root root 460.4G Mar 1 19:25 naa.6001ec90e0cfb90016e0bbd84f9301b9:3
[......]

2. chmod 775 naa.6001ec90e0cfb90016e0bbd84f9301b9*

3. esxcfg-volume -l

Return that:
VMFS3 UUID/label: 4e8492a2-f0d7ded0-696a-001ec9b80c6c/datastore1
Can mount: Yes
[.......]

4. esxcfg-volume -M 4e8492a2-f0d7ded0-696a-001ec9b80c6c

Return that:
Persistently mounting volume 4e8492a2-f0d7ded0-696a-001ec9b80c6c

On the vsphere client, refresh your storage.
Now you can see your datastore !

arrow
arrow
    全站熱搜

    hlolo 發表在 痞客邦 留言(0) 人氣()