VMware Cloud Community
vmmax2479
Contributor
Contributor

problem Creating LUN

Hello All,

I have one ESX server with local storage. Vvhmba0:0:0 has 300+ GB available. trying to create a LUN with 20 GB and getting this message:

error during the configuration of the host: failed to update disk partition information. see attached for more details.

0 Kudos
6 Replies
vmmax2479
Contributor
Contributor

not sure if this helps but here is more info

# vmkfstools -P /vmfs/devices/disks/

DEVFS-1.00 file system spanning 1 partitions.

File system label (if any): devices

Mode: private

Capacity 364166049280 (711261815 file blocks * 512), 364166049280 (711261815 blocks) avail

UUID: 00000000-00000000-0000-000000000000

Partitions spanned:

devices

0 Kudos
dominic7
Virtuoso
Virtuoso

This happens on occasion and I'm not really sure why. You may need to make the filesystem manually from the command line.

/usr/sbin/vmkfstools -C vmfs3 vmhba0:0:X -S <vmfs label>

You didn't display enough of your partition table in your screenshot to determine what X should be. But if you scroll down it should have type VMFS, or if you do

sfdisk -l /dev/sdX ( non compaq/hp )

sfdisk -l /dev/cciss/c0dX ( compaq / hp )

You can see which partition has type 'fb'

vmmax2479
Contributor
Contributor

root@esx-test2 root# sfdisk -l /dev/cciss/c0d0

Disk /dev/cciss/c0d0: 44274 cylinders, 255 heads, 63 sectors/track

Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System

/dev/cciss/c0d0p1 * 0+ 12 13- 104391 83 Linux

/dev/cciss/c0d0p2 13 649 637 5116702+ 83 Linux

/dev/cciss/c0d0p3 650 935 286 2297295 83 Linux

/dev/cciss/c0d0p4 43938 44273 336 2698920 f Win95 Ext'd (LBA)

/dev/cciss/c0d0p5 43938+ 44006 69- 554211 82 Linux swap

/dev/cciss/c0d0p6 44007+ 44260 254- 2040223+ 83 Linux

/dev/cciss/c0d0p7 44261+ 44273 13- 104391 fc Unknown

what is the X should be?

see updated screenshot

thanks for your help

0 Kudos
dominic7
Virtuoso
Virtuoso

Device Boot Start End #cyls #blocks Id System

/dev/cciss/c0d0p1 * 0+ 12 13- 104391 83 Linux

/dev/cciss/c0d0p2 13 649 637 5116702+ 83 Linux

/dev/cciss/c0d0p3 650 935 286 2297295 83 Linux

/dev/cciss/c0d0p4 43938 44273 336 2698920 Win95 Ext'd (LBA)

/dev/cciss/c0d0p5 43938+ 44006 69- 554211 82 Linux swap

/dev/cciss/c0d0p6 44007+ 44260 254- 2040223+ 83 Linux

/dev/cciss/c0d0p7 44261+ 44273 13- 104391 fc Unknown

This actually looks kinda strange to me, if you look where the blocks start and end, it seems that there is a hole from 935 to 43938 which is where the majority of your drive space is. It looks like you've partitioned it in a way that is likely unrecoverable since you already have 4 primary partitions.

Did you take the defaults when you installed? Or did you custom modify the partitions?

vmmax2479
Contributor
Contributor

all

0 Kudos
janaki5ruby
Contributor
Contributor

hi,

I am doing mass storage project i have to appear TWO cd-rom DRIVE   & in that ONE  must be booted CD-DRIVE i did that too by transfering (2048 bytes)  & other must be  NORMAL CD-DRIVE i did to by changing code  . But i got o/p as  ONE lun is ENABLE and been BOOTED successfully & another LUN  is appear as cd-rom but it file system is RAW &  show 0 BYTES it can't be open it shown ERROR(" IT CANNOT BE FORMATED "). so plz suggest wht prob it ll reason for dis???.

thank for help...

regards,

janu.

0 Kudos