• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3509
  • Last Modified:

mount or add vmfs volume ESX 3 server

I had an raid array go down.
I can see the newly rebuilt array but can not get it into a datastre without fratting it.
I has been resigged bu i sill cant mount the array.
Is there a way to get the array back into the datastore without formatting it?
Is there a way to mount it and copy the vms somewhere else?
I have shell access and the VI Client.

Any help would be greatly appreciated.
TIA
0
havesum2
Asked:
havesum2
  • 9
  • 6
  • 3
1 Solution
 
65tdCommented:
Has the ESX host been restarted?
Is the array directly attached?
0
 
havesum2Author Commented:
yes restarted andit is directly attached
It will let me add it under storage but it wants to destroy the volume when doing so.
I cant do this.

Thanks
0
 
vmwarun - ArunCommented:
How did you rebuild the array ? Does you Server support Hot Swap of Hard Drives ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
havesum2Author Commented:
dell helped me rebuild it.
Its an md1000
0
 
vmwarun - ArunCommented:
Nice to hear that.
0
 
havesum2Author Commented:
still wont let me use it in esx without formatting the array
it sees it just fine
just cant add it without formatting it
0
 
65tdCommented:
Is the host 3.5 or 3.5i?
0
 
vmwarun - ArunCommented:
What level of RAID was present in the Array initially ?
0
 
havesum2Author Commented:
raid 5
0
 
havesum2Author Commented:
esx server 3i 3.5.0 123629
0
 
65tdCommented:
Are you sure the array contains data?

Does fdisk -l see anything?

Could try mounting it via the service console and seeing if there is any data, syntax and example :
'mount -t vmfs <filesystem> /vmfs', e.g. 'mount -t vmfs vmhba0:1:0:1 /vmfs'.

Also see:
http://www.experts-exchange.com/Software/VMWare/Q_23476603.html
0
 
havesum2Author Commented:
tried that and got

/dev # mount -t vmfs vmhba2:0:0:1 /vmfs                                          
mount: Mounting vmhba2:0:0:1 on /vmfs failed: No such device
/dev # mount -t vmfs vmhba2:0:0:0 /vmfs
mount: Mounting vmhba2:0:0:0 on /vmfs failed: No such device
/dev # cd disks
/dev/disks # mount -t vmfs vmhba2:0:0:0 /vmfs
mount: Mounting vmhba2:0:0:0 on /vmfs failed: No such device
/dev/disks # mount -t vmfs vmhba2:0:0:1 /vmfs
mount: Mounting vmhba2:0:0:1 on /vmfs failed: No such device
/dev/disks # fdisk -l

Disk /dev/disks/vmhba2:0:0:0: 2046.2 GB, 2046283481088 bytes
255 heads, 63 sectors/track, 248779 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                 Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba2:0:0:1             1 18446744073709533047 18446744073560385222+  fb  VMFS

Disk /dev/disks/vmhba1:0:0:0: 72.7 GB, 72746008576 bytes
64 heads, 32 sectors/track, 69376 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

                 Device Boot    Start       End    Blocks   Id  System
/dev/disks/vmhba1:0:0:1             5       750    763904    5  Extended
/dev/disks/vmhba1:0:0:2           751      4845   4193280    6  FAT16
/dev/disks/vmhba1:0:0:3          4846     69376  66079744   fb  VMFS
/dev/disks/vmhba1:0:0:4   *         1         4      4080    4  FAT16 <32M
/dev/disks/vmhba1:0:0:5             5        52     49136    6  FAT16
/dev/disks/vmhba1:0:0:6            53       100     49136    6  FAT16
/dev/disks/vmhba1:0:0:7           101       210    112624   fc  VMKcore
/dev/disks/vmhba1:0:0:8           211       750    552944    6  FAT16

thanks
0
 
havesum2Author Commented:
still no luck

anyone have any other ideas?
0
 
havesum2Author Commented:
May be getting closer

/dev/disks # mount -t vmhba2:0:0:1 /vmfs/
mount: Can't find /vmfs/ in /etc/fstab
0
 
65tdCommented:
Looks good to me .
Try mounting to mnt instead of vmfs.

can you navigate to /dev/disks/vmhba2:0:0:1 via cd?


Document talking about mounting vmfs, maybe old (ESX2.5):
http://vmware.co.nz/support/esx15/doc/esx15_disks6.html

just uses the following command in the doc:
mount-vmfs vmhba0:2:0:1
0
 
65tdCommented:
An interesting doc on VMFS management for reference:

http://www.vmware.com/files/pdf/vmfs_resig.pdf
0
 
havesum2Author Commented:
All attempts failed.
Format :(
0
 
65tdCommented:
Too bad.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 9
  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now