VMware Cloud Community
fd254
Contributor
Contributor

Move ESX Server to another Volume.

HI Vmusers!

After move volume from vDisk1 to vDisk5 and assigned him same lun (1) ESX Server can't boot propertly.

6458_6458.jpg

My opinion is ESX can't mount root file system, because the UUID is changed.

I try to access to storage system with Ubuntu LiveCD. Now i see many partitions, some of it have EXT3 FS, but i have no ideas how to change UUID in grub.conf to new UUID on new Volume.

0 Kudos
1 Reply
psreekanth75
Enthusiast
Enthusiast

Hi,

Not sure how to find new UUID of root file system(of COS) at this stage, try following work around(not tested) as you got shell access.

1) check #fdisk -l output and find device on which root file system(of COS) is sitting which will be in the form of /dev/sd<x>(scsi device ID format)

2) Then take backup of /etc/fstab and replace root file system entry

From UUID=ae749b56-9fcc-48d2-95ca-edc589b2c6db / ext3 defaults 1 1 To

/dev/sd<x> / ext3 defaults 1 1

Ex:fdisk -l output here /dev/sdd is COS vmdk

Disk /dev/cciss/c0d1: 73.3 GB, 73372631040 bytes

255 heads, 63 sectors/track, 8920 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/cciss/c0d1p1 1 8920 71649836 fb VMware VMFS

Disk /dev/sdd: 8812 MB, 8812232704 bytes

255 heads, 63 sectors/track, 1071 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sdd1 1 76 610438+ 82 Linux swap / Solaris

/dev/sdd2 77 331 2048287+ 83 Linux

/dev/sdd3 332 1071 5944050 5 Extended

/dev/sdd5 332 1071 5944018+ 83 Linux

And replace UUID for following entry with /dev/sdd

UUID=e6b7cd63-d666-4c4b-aa25-99c71cfc3ca8 / ext3 defaults 1 1

once you are able to boot successfully, find the UUID and replace device name with UUID

0 Kudos