View unanswered posts | View active topics It is currently Fri Dec 15, 2017 1:27 pm



Reply to topic  [ 8 posts ] 
 Get back the data after repaired 
Author Message

Joined: Tue Dec 07, 2010 7:58 pm
Posts: 7
Reply with quote
Post Get back the data after repaired
Hello, my ESXI 4.0 missed the OS suddenly, after I used CD to repair,
the datastore is gone, anyone know how can I get back the data?

/dev/disks # ls -l /vmfs/devices/disks
-rw------- 1 root root 0 Dec 8 11:35 mpx.vmhba33:C0:T0:L1
-rw------- 1 root root 298999349248 Dec 8 11:35 naa.600508e00000 0000 18c538f794cde70f
-rw------- 1 root root 939524096 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:1
-rw------- 1 root root 4177920 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:4
-rw------- 1 root root 262127616 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:5
-rw------- 1 root root 262127616 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:6
-rw------- 1 root root 115326976 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:7
-rw------- 1 root root 299876352 Dec 8 11:35 naa.600508e00000000018c538f794cde70f:8
l--------- 0 root root 1984 Jan 1 1970 vml.0000010000766d68626133333a303a31 -> mpx.vmhba33:C0:T0:L1
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361 -> naa.600508e00000000018c538f794cde70f
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:1 -> naa.600508e00000000018c538f794cde70f:1
0200000000600508e00000000018cf38f794cde70f4c6f67696361
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:4 -> naa.600508e00000000018c538f794cde70f:4
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:5 -> naa.600508e00000000018c538f794cde70f:5
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:6 -> naa.600508e00000000018c538f794cde70f:6
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:7 -> naa.600508e00000000018c538f794cde70f:7
l--------- 0 root root 1984 Jan 1 1970 vml.0200000000600508e00000000018c538f794cde70f4c6f67696361:8 -> naa.600508e00000000018c538f794cde70f:8


Tue Dec 07, 2010 8:04 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Get back the data after repaired
Can you post the output of fdisk -l ?

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed Dec 08, 2010 12:47 am
Profile

Joined: Tue Dec 07, 2010 7:58 pm
Posts: 7
Reply with quote
Post Re: Get back the data after repaired
~ # fdisk -l

Disk /dev/disks/naa.600508e00000000018c538f794cde70f: 298.9 GB, 298999349248 bytes
64 heads, 32 sectors/track, 285148 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/disks/naa.600508e00000000018c538f794cde70fp1 5 900 917504 5 Extended
/dev/disks/naa.600508e00000000018c538f794cde70fp2 901 285148 291069952 fb VMFS
/dev/disks/naa.600508e00000000018c538f794cde70fp4 * 1 4 4080 4 FAT16 <32M
/dev/disks/naa.600508e00000000018c538f794cde70fp5 5 254 255984 6 FAT16
/dev/disks/naa.600508e00000000018c538f794cde70fp6 255 504 255984 6 FAT16
/dev/disks/naa.600508e00000000018c538f794cde70fp7 505 614 112624 fc VMKcore
/dev/disks/naa.600508e00000000018c538f794cde70fp8 615 900 292848 6 FAT16

Partition table entries are not in disk order


Wed Dec 08, 2010 1:01 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Get back the data after repaired
Did you go to Configuration > Storage and try a rescan? What sort of hardware are you using?

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed Dec 08, 2010 1:03 am
Profile

Joined: Tue Dec 07, 2010 7:58 pm
Posts: 7
Reply with quote
Post Re: Get back the data after repaired
Yes, I re-scanned, please see the attached jpg,
the server is IBM Blade HS22, w/SAS RAID 1.


Attachments:
File comment: screen
screen1.jpg
screen1.jpg [ 120.44 KiB | Viewed 4114 times ]
Wed Dec 08, 2010 1:30 am
Profile

Joined: Tue Dec 07, 2010 7:58 pm
Posts: 7
Reply with quote
Post Re: Get back the data after repaired
I also tried that

/dev/disks # vmkfstools -C vmfs3 -b 8M -S "datastore2" /vmfs/devices/disks/naa.600508e00000000018c538f794cde70f
Creating vmfs3 file system on "naa.600508e00000000018c538f794cde70f" with blockSize 8388608 and volume label "datastore2".
/vmfs/devices/disks/naa.600508e00000000018c538f794cde70f: Permission denied. (Have you set the partition type to 0xfb?)
Error: Permission denied
/dev/disks #


Wed Dec 08, 2010 1:39 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Get back the data after repaired
You might want to run it again and check /var/log/messages for any errors.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed Dec 08, 2010 1:40 am
Profile

Joined: Tue Dec 07, 2010 7:58 pm
Posts: 7
Reply with quote
Post Re: Get back the data after repaired
I found something about storeage.

Dec 8 17:31:13 Hostd: [2010-12-08 17:31:13.141 30DCAB90 verbose 'Cimsvc'] Ticket issued for CIMOM version 1.0, user root
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.102 30E0BB90 verbose 'App'] CloseSession called for session id=52893549-f6e8-5d06-801c-13eeb43695b3
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.102 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.refresh-1852795364" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.refresh-1852795364
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.refresh-1852795368" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.refresh-1852795368
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.refresh-1852795381" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.refresh-1852795381
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.rescanVmfs-1852795377" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.103 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.rescanVmfs-1852795377
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.refresh-1852795382" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.refresh-1852795382
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.refresh-1852795378" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.refresh-1852795378
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'App'] Looking up object with name = "haTask-ha-host-vim.host.StorageSystem.rescanAllHba-1852795376" failed.
Dec 8 17:31:15 Hostd: [2010-12-08 17:31:15.104 30E0BB90 verbose 'PropertyCollector'] GetPropertyProvider failed for haTask-ha-host-vim.host.StorageSystem.rescanAllHba-1852795376


Wed Dec 08, 2010 2:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.