LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2012, 09:35 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
check size limit


I use Redhat 4 server , can advise if I would like to know the file size limit of the server , how to check it ?

as I would to copy a very large file to it so I want to know first .
 
Old 04-15-2012, 09:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What do you mean? Partition size? Filesystem limitation?

http://en.wikipedia.org/wiki/Compari...systems#Limits

Last edited by Tinkster; 04-15-2012 at 09:40 PM.
 
Old 04-15-2012, 10:05 PM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Tinkster View Post
What do you mean? Partition size? Filesystem limitation?

http://en.wikipedia.org/wiki/Compari...systems#Limits
thx ,

One single file size limit , is it 2G ?

p.s. I use 32bit system

Last edited by ust; 04-15-2012 at 10:09 PM.
 
Old 04-15-2012, 10:12 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Which file-system? Just check the link I posted. It's all there.
 
Old 04-15-2012, 10:15 PM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx reply ,

is there any command or configuration file can be used to check it ?

thx
 
Old 04-16-2012, 12:39 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You've been using Linux since 2003 and haven't picked up
how to find out which file-systems you're using along
the way? Wow.

A few ways ....
  1. less /etc/fstab
  2. mount
 
Old 04-16-2012, 12:52 AM   #7
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Tinkster View Post
You've been using Linux since 2003 and haven't picked up
how to find out which file-systems you're using along
the way? Wow.

A few ways ....
  1. less /etc/fstab
  2. mount
thx reply ,

I use the command "ulimit -a" , the result is as below , is that mean my system do not have file size limit ? I can create the file its size reaches to the maximum of partition size ? thx

"
file size (blocks, -f) unlimited
"
 
Old 04-16-2012, 12:57 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That means that the shell and it's children can create files up to the partition
size or file-system inherent limitations.

Again, find out what file-system you're using, and check the table on wikipedia.
 
Old 04-16-2012, 02:26 AM   #9
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,203

Rep: Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675
if you want to check it by yourself just write a small app which will create a file and continuously fill it up. Wait for the error message....
 
Old 04-16-2012, 02:30 AM   #10
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by pan64 View Post
if you want to check it by yourself just write a small app which will create a file and continuously fill it up. Wait for the error message....
thx reply ,

I am also looking for such script , can you please advise how to write a script to do that ?

thx
 
Old 04-16-2012, 02:58 AM   #11
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,203

Rep: Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675
do you know there is a little app named yes so you need to write only:
yes > filename
this is not the optimal solution, maybe better to start with a big file (you make a copy of an avi and yes >> copy_of_big_file).
see also http://www.linuxforums.org/forum/sus...mmy-files.html
or http://www.skorks.com/2010/03/how-to...ne-with-linux/
for more solutions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to check OS back_log limit Stephan_Craft Linux - Server 1 02-09-2010 04:29 PM
tcp/ip buffer, how to check check actual size japotemp Linux - Newbie 2 01-23-2009 06:17 AM
~/ size limit bm1 Slackware 5 09-23-2004 07:10 AM
2.1 Gb size limit?? pk21 Linux - General 5 08-30-2003 02:40 PM
Size limit? pyropenguin Linux - Networking 1 12-18-2002 12:48 PM


All times are GMT -5. The time now is 06:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration