File size limitation in the EST 2012 x86_64 GNU/Linux


 
Thread Tools Search this Thread
Operating Systems Linux File size limitation in the EST 2012 x86_64 GNU/Linux
# 1  
Old 03-26-2015
File size limitation in the EST 2012 x86_64 GNU/Linux

Hello Friends,

I tried to take tar backup in my server, but it ended with an error.
It said that:
Code:
 /home/back/pallava_backup/fbackup_backup/stape_config
/home/back/romam_new.tar.gz
tar: /home/backup/back.tar.gz: Cannot write: No space left on device
tar: Error is not recoverable: exiting now
[root@OWP-15 back]#

But i checked the system, it has enough space to hold

Code:
[root@OWP-15 back]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                     276535241 155700449 106783874  60% /
/dev/mapper/VolGroup00-LogVol01
                     199146641 122482178  66545705  65% /home
/dev/sda1               118523     11323    101178  11% /boot
tmpfs                   916268         0    916268   0% /dev/shm

And tar backup was stopped exactly after it took 17GB of data

---------- Post updated at 05:55 PM ---------- Previous update was at 05:52 PM ----------

And i checked the file size limit in the system and i got
Code:
ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) 102400000
pending signals                 (-i) 14288
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 14288
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

created file size is as follow:

Code:
[root@OWP-15 back]#
[root@OWP-15 back]# cd /home/backup
[root@OWP-15 backup]#
[root@OWP-15 backup]#
[root@OWP-15 backup]# ls
back.tar.gz
[root@OWP-15 backup]# ll
total 16909071
-rw-r--r-- 1 root root 17247252480 Dec 31 06:04 back.tar.gz
[root@OWP-15 backup]#

# 2  
Old 03-26-2015
Disk quota?
Code:
quota -v

Kernel and file system?
Code:
uname -sr
mount | grep -w /home

# 3  
Old 03-27-2015
Try it without the compression option. I'm not sure how GNU tar on your system handles compression under the hood, but I think some older versions just create a temp tar file and then compresses that. Perhaps the uncompressed temp file filled up the disk then was deleted upon failure.
# 4  
Old 03-27-2015
There are lots of reasons your tar my fail.

What version of tar are you using and what options are you passing to tar when your script invokes it? Are you using a 32-bit version of tar or a 64-bit version? Output of file utility will tell you that information.
# 5  
Old 03-30-2015
Wrench

I got below output when excuting mentioned commands

Code:
[root@OWP-15 ~]# quota -v
[root@OWP-15 ~]#
[root@OWP-15 ~]#
[root@OWP-15 ~]# uname -sr
Linux 2.6.18-348.el5
[root@OWP-15 ~]#
[root@OWP-15 ~]#
[root@OWP-15 ~]# mount | grep -w /home
/dev/mapper/VolGroup00-LogVol01 on /home type ext3 (rw)
[root@OWP-15 ~]#

Thanks in advance

---------- Post updated at 03:01 PM ---------- Previous update was at 02:56 PM ----------

I tried without compression but it failed.

I think there is no problem with tar.

I tried to copy a file which one size greater than 17 GB <Actual Size is 22 GB>

via NFS.

It failed too.


Thanks in advance
# 6  
Old 03-30-2015
Hi.

I see in ext3 - Wikipedia, the free encyclopedia that the maximum file size for 1 KiB blocks is 16 GiB

Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
# 7  
Old 03-30-2015
This is a likely problem. To confirm the current block size:
Code:
dumpe2fs /dev/mapper/VolGroup00-LogVol01 | grep size

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

File size limitation in Linux

Hi friends, I tried to take a backup of my PC using tar command. But it ended with an error tar: /home/backup/back.tar.gz: Cannot write: No space left on device tar: Error is not recoverable: exiting now But i checked the disk space and there is enough space is available. ]# df Filesystem... (11 Replies)
Discussion started by: siva3492
11 Replies

2. Solaris

How to extend 2 GB file size limitation

Hello All, I am using a SunOS machine. My application creates output files for the downstream systems. However output files are restricted to 2GB of file size in SunOS due to which I am forced to create multiple files which is not supported by the downstream due to some limitations. Is... (5 Replies)
Discussion started by: pasupuleti81
5 Replies

3. Shell Programming and Scripting

fetchmail - log file size limitation

Hi, I am using fetchmail in my application so as to download mails to the localhost where the application is hosted from the mailserver.Fetchmail is configured as as to run as a daemon polling mails during an interval of 1sec. So my concern here is, during each 2sec it is writing two... (10 Replies)
Discussion started by: DILEEP410
10 Replies

4. Shell Programming and Scripting

Size limitation in Tar command

Hi to every body there, I am new this forum and this is my first post. I am a new user of Unix, is there any size limitation of files while creating tar file. Thanks in advance (4 Replies)
Discussion started by: Manvar Khan
4 Replies

5. Linux

File size limitation for rcp

Hi I am trying to rcp a file from Solaris box to Linux. When the file size is 2,205,255,047, the rcp fails with the message Jan 10 01:11:53 hqsas167 rsh: pam_authenticate: error Authentication failed However when I rcp a file with smaller size - 9,434,477 - the rcp completes with... (2 Replies)
Discussion started by: schoubal
2 Replies

6. Shell Programming and Scripting

File size limitation of unix sort command.

hi , iam trying to sort millions of records which is delimited and i cant able to use sort command more than 60 million..if i try to do so i got an message stating that "File size limit exceeded",Is there any file size limit for using sort command.. How can i solve this problem. thanks ... (7 Replies)
Discussion started by: cskumar
7 Replies

7. HP-UX

HP-UX 11i - File Size Limitation And Number Of Folders Limitation

Hi All, Can anyone please clarify me the following questions: 1. Is there any file size limitation in HP-UX 11i, that I can able to create upto certain size of file (say 2 GB) and not more then that???? 2. At max. how many files we can able to keep inside a folder???? 3. How many... (2 Replies)
Discussion started by: sundeep_mohanty
2 Replies

8. UNIX Desktop Questions & Answers

Size Limitation for a user directory

Hi all, I want to set a size limitation for some user in the system, for an example, each user only have 5MB free space in the system. The user cannot user more than 5 MB space. Is it possible to do this? Thanks! (1 Reply)
Discussion started by: felix_koo
1 Replies
Login or Register to Ask a Question