File size varies with same 'ls -lh' command ran on two different versions of Redhat
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26
Rep:
File size varies with same 'ls -lh' command ran on two different versions of Redhat
Hi,
I ran ls -lh for same tar ball file on RHEL 3 and RHEL 5.3 box.
The sixth column of ls -lh output threw 6.3G on RHEL 5.3 box and
16E on RHEL 3 box. Both the machines have ext3 file system.
Find below the output for RHEL 3 and RHEL 5.3 respectively :
2.0T -rwxr-xr-x 1 root root 16E Oct 20 10:34 bac.tar.bz2
6.3G -rwxrwSrwx 1 root root 6.3G Oct 20 10:34 bac.tar.bz2
What is your configuration that two boxes connect to and can report on the same drive? What is the architecture of the two systems (x86, PPC, sparc, etc)?
If one has a direct connection and the other has a network connection, that can cause confusion? Further, if you have network connections involved, are both systems connecting with the same protocol (NFS, CIFS, Samba, etc). Are both systems net-access clients configured the same? Do they access the net-access server with the same config?
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26
Original Poster
Rep:
Quote:
Originally Posted by SaintDanBert
What is your configuration that two boxes connect to and can report on the same drive?
If one has a direct connection and the other has a network connection, that can cause confusion? Further, if you have network connections involved, are both systems connecting with the same protocol (NFS, CIFS, Samba, etc).
Are both systems net-access clients configured the same?
Do they access the net-access server with the same config?
Bonne chance,
~~~ 0;-Dan
We are actually creating backups of /home ; tar it up and save it to a windows xp box.
Both are x86 machines.
Both the machines are over network. RHEL-3 is connected via smbfs & RHEL-5 via cifs.
Over here you have a workstation with files and folders. You add and configure software so that its file system(s) are visible on your LAN. There are various "server" applications available.
Over there you have other workstations. You add and configure software so that it can see, connect with and use the LAN-available files and folders.
There are various "client" applications available and sometimes more than one for any given server.
In this situation, you will have two views of the various files. One view appears at the workstation where the files live physically. The other view appears at the workstations connected over the LAN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.