OpenVZ Forum


Home » General » Support » Differences in file sizes compared with stock CentOS distro
Differences in file sizes compared with stock CentOS distro [message #39616] Tue, 18 May 2010 02:15 Go to next message
techvd is currently offline  techvd
Messages: 2
Registered: May 2010
Junior Member
Hi,

This is the first time I've ever used OpenVZ and I'm learning things as I go. I have a basic question. I used the centos5 precreated template to setup my VM. Even though that tar file does not include the version, this seems like CentOS 5.4. I also a physical machine that is installed with CentOS 5.4 as well. When I compare most system binaries between these 2 variants, the files are quite different. I have the same version of the package these files belong to installed on both these systems and yet they're different. Could somebody tell why that could be? Is the standard centos5 template built on a custom build of CentOS or something?

Here's a simple example.
+ OpenVZ Machine
# cat /etc/redhat-release
CentOS release 5.4 (Final)
# rpm -q MAKEDEV
MAKEDEV-3.23-1.2
The file is 22724 bytes with MD5 ef6a9e22ec0e3a260e43f1e045868e7c.

+ On real Machine
# cat /etc/redhat-release
CentOS release 5.4 (Final)
# rpm -q MAKEDEV
MAKEDEV-3.23-1.2
The file is 27312 bytes with MD5 3dcffa24bd93c6248535b449b35ea26c.

Both files even have the same modified date of Jan 6 2007.

I hope that makes sense.
Thanks,
Vijay
Re: Differences in file sizes compared with stock CentOS distro [message #39618 is a reply to message #39616] Tue, 18 May 2010 10:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

run rpm -qi MAKEDEV on host and guest

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Differences in file sizes compared with stock CentOS distro [message #39619 is a reply to message #39618] Tue, 18 May 2010 19:05 Go to previous messageGo to next message
techvd is currently offline  techvd
Messages: 2
Registered: May 2010
Junior Member
Thanks for the reply! Here's the output from host and guest. For some reason the guest doesn't display the signature. Other than that, only the size of the package seems to be different.

OUTPUT FROM HOST
================
# rpm -qi MAKEDEV
Name : MAKEDEV Relocations: (not relocatable)
Version : 3.23 Vendor: CentOS
Release : 1.2 Build Date: Sat 06 Jan 2007 10:50:04 AM PST
Install Date: Sun 13 Dec 2009 03:48:51 PM PST Build Host: builder3.centos.org
Group : System Environment/Base Source RPM: MAKEDEV-3.23-1.2.src.rpm
Size : 660343 License: GPL
Signature : DSA/SHA1, Tue 03 Apr 2007 05:25:30 PM PDT, Key ID a8a447dce8562897
URL : http://www.lanana.org/docs/device-list/
Summary : A program used for creating device files in /dev.

OUTPUT FROM GUEST
=================
# rpm -qi MAKEDEV
Name : MAKEDEV Relocations: (not relocatable)
Version : 3.23 Vendor: CentOS
Release : 1.2 Build Date: Sat 06 Jan 2007 09:53:07 PM MSK
Install Date: Mon 26 Apr 2010 01:39:28 PM MSD Build Host: builder5.centos.org
Group : System Environment/Base Source RPM: MAKEDEV-3.23-1.2.src.rpm
Size : 657299 License: GPL
Signature : (none)
URL : http://www.lanana.org/docs/device-list/
Summary : A program used for creating device files in /dev.
Re: Differences in file sizes compared with stock CentOS distro [message #39623 is a reply to message #39619] Fri, 21 May 2010 11:27 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

make sure that your systems have the same architecture.
It seems that you compare MAKEDEV.x86_64 with MAKEDEV.i386.
Previous Topic: VEs on NFS Share
Next Topic: Two Interfaces
Goto Forum:
  


Current Time: Sun Sep 01 00:10:35 GMT 2024

Total time taken to generate the page: 0.05718 seconds