LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-22-2010, 07:13 AM   #1
visitashu
LQ Newbie
 
Registered: Jan 2006
Location: Bangalore : INDIA
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26

Rep: Reputation: 0
Question 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

Do we know how 'ls ' deals with larger numbers ?

Thanks,
 
Old 10-22-2010, 08:00 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Is ls aliased to anything on either of the systems?
 
Old 10-22-2010, 01:29 PM   #3
visitashu
LQ Newbie
 
Registered: Jan 2006
Location: Bangalore : INDIA
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by David the H. View Post
Is ls aliased to anything on either of the systems?
No, it is not aliased.
 
Old 10-22-2010, 02:45 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
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?

Bonne chance,
~~~ 0;-Dan
 
Old 10-25-2010, 01:00 AM   #5
visitashu
LQ Newbie
 
Registered: Jan 2006
Location: Bangalore : INDIA
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SaintDanBert View Post
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.

I did not get net-access part.
 
Old 10-25-2010, 09:41 AM   #6
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
RE: "net access"

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.

Cheers,
~~~ 0;-Dan
 
Old 10-27-2010, 12:58 AM   #7
visitashu
LQ Newbie
 
Registered: Jan 2006
Location: Bangalore : INDIA
Distribution: Ubuntu, RedHat, Gentoo, Linux Mint, Arch Linux, Fedora
Posts: 26

Original Poster
Rep: Reputation: 0
net-access

No, I have not done anything like this for our environment.
 
  


Reply

Tags
ls, redhat



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dd command - Exceeded file size farisinos Linux - Newbie 3 02-21-2008 09:07 AM
wGet is there a command for file size? SonoranFun Linux - Software 2 01-02-2006 03:56 PM
command: file size? psychobuffalo Linux - Newbie 5 08-24-2005 10:30 AM
redhat command to display the size of directory please! sandrinechen Linux - Newbie 4 04-19-2004 03:19 AM
redhat 9.0 file limit size.. johnyy Linux - Software 2 09-16-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration