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 . |
What do you mean? Partition size? Filesystem limitation?
http://en.wikipedia.org/wiki/Compari...systems#Limits |
Quote:
One single file size limit , is it 2G ? p.s. I use 32bit system |
Which file-system? Just check the link I posted. It's all there.
|
thx reply ,
is there any command or configuration file can be used to check it ? thx |
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 ....
|
Quote:
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 " |
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. |
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....
|
Quote:
I am also looking for such script , can you please advise how to write a script to do that ? thx |
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. |
All times are GMT -5. The time now is 04:50 AM. |