VMware Cloud Community
mp_roma
Contributor
Contributor

Iso size is incorrect(newbie question)

Dear All,

i would copy an Windows Vista iso image from cdrom to /vmimages/tools-isoimages folder , but when i mount the cdrom (mount /mnt/cdrom ) when i try to see the size of the iso file into the cdrom it show me an incorrect size:

# du -h WVistaULT_SP1_ITA\(64bit\).iso

3.0M WVistaULT_SP1_ITA(64bit).iso

The real size is 3.3 GB...

Have you got any suggestion?

Thanks and sorry for my terrifying english

0 Kudos
9 Replies
Karunakar
Hot Shot
Hot Shot

Hi,

The size copied on the location /vmimages/tools-isoimages is itself showing wrong, this might be that the copy of the iso is not proper.

try to mount that iso in the ESX and check if there are all the required folders in the ISO.

Lets say, mount it on /tmp/test folder.

mount -t iso9660 -o loop /vmimages/tools-isoimages/WVistaULT_SP1_ITA\(64bit\).iso /tmp/test

now check in /tmp/test if all the folders are available or not.

-Karunakar

0 Kudos
mp_roma
Contributor
Contributor

Hi,

thanks for your answer, but i i've yet the problem.

I tried to do what you said me but doesn't function

This disc contains a "UDF" file system and requires an operating system

that supports the ISO-13346 "UDF" file system specification.

thanks

M.

0 Kudos
Karunakar
Hot Shot
Hot Shot

Hi ,

ESX has support for UDF type file systems.

try the option "mount -t udf ....................."

this should work

-Karunakar

0 Kudos
mp_roma
Contributor
Contributor

Thanks Karu,

I thing that the problem is not the mounting of iso image...the problem is that the windows vista image in the cdrom doesn't show me the real size.

I try this dvd in a windows host and a rhel5 host and both show the correct size...this is the linux rhel 5 output:

du -h /mnt/cdrom/WVistaULT_SP1_ITA\(64bit\).iso

3,6G /mnt/cdrom/WVistaULT_SP1_ITA(64bit).iso

this is the ESX 3.5 output:

du -h /mnt/cdrom/WVistaULT_SP1_ITA\(64bit\).iso

3.0M /mnt/cdrom/WVistaULT_SP1_ITA(64bit).iso

are there any limits in esx?

Thanks

0 Kudos
Karunakar
Hot Shot
Hot Shot

That was a very good isolation of the issue.

Up to my understanding there is no limitation on size for mounting a cd or a dvd.

but mean while can you try to mount it on to some other location like in /tmp

mount -t udf /dev/cdrom /tmp/test

Will try to search more onthis and let you know.

-Karunakar

0 Kudos
mp_roma
Contributor
Contributor

Thanks Karu...this is the outpu of mount -t udf /dev/cdrom /tmp/test

mount: block device /dev/cdrom is write-protected, mounting read-only

mount: wrong fs type, bad option, bad superblock on /dev/cdrom,

or too many mounted file systems

Regards.

M.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

You should place any of your iso's in other directories other than /vmimages. SPecifically I would use either a VMFS or NFS. The main reason that if a corruption happens to the ESX host, your best bet is to reinstall, if your ISOs are on the local drives it is one more thing to remember.

However you may wish to inspect the disk the ISO came from. It sounds like the ISO is corrupted.

The error also states that it is not an UDF disk type.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

SearchVMware Blog: http://itknowledgeexchange.techtarget.com/virtualization-pro/

Blue Gears Blogs - http://www.itworld.com/ and http://www.networkworld.com/community/haletky

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
mp_roma
Contributor
Contributor

Hi Texi,

thanks for your answer.

But my problem is not mounting the iso image, my problem is understand the reason because the command du -h on the iso images show an wrong size!

I can't believe it.

I haven't this problem on a redhat enterprise 5...only on vmware...my target is to copy that iso into a vmimages to create a virtual machine from that iso Smiley Happy

Thanks

M.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Use the VIC to do this. Using the Remote CDROM capability. However, since ESX can not mount it and its different sizes, certainly sounds corrupt to me. Remember ESX is NOT Linux. Also /vmimages unless you added space is not generally big enough for isos, create a fresh copy and upload it to a VMFS and try from there.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

SearchVMware Blog: http://itknowledgeexchange.techtarget.com/virtualization-pro/

Blue Gears Blogs - http://www.itworld.com/ and http://www.networkworld.com/community/haletky

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill