bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: problem with gunzip <No space left on device>


From: Biradar, Prabhulingamma \(Prabha\)
Subject: RE: problem with gunzip <No space left on device>
Date: Thu, 28 Aug 2008 18:05:00 +0530

Hi Vitaly,

I am curious to know how the gunzip will check for free space available?

Below is the truss command output run on gunzip,

read(3, "D2B0C3B9 d zF894CBB4BE99".., 32768)    = 32768
write(4, " L A S S = " P a r a g r".., 32768)   = 32768
write(4, " O M C - R A N / 3 1 / h".., 32768)   = 32768
write(4, " D   V A L I G N = " t o".., 32768)   = 32768
write(4, " a p h B o d y " > < E M".., 32768)   = 32768
write(4, " >   & n b s p ; < / T D".., 32768)   = 32768
write(4, " " t o p " >   & n b s p".., 32768)   = 32768
write(4, "   i s   5 E S S   D C S".., 32768)   = 32768
write(4, " P   C L A S S = " C o p".., 32768)   Err#28 ENOSPC
fstat64(2, 0xFFBFE600)                          = 0

write(2, "\n", 1)                               = 1
gunzipwrite(2, " g u n z i p", 6)                       = 6
: write(2, " :  ", 2)                           = 2
tarname.tarwrite(2, : write(2, " :  ", 2)                            = 2
No space left on devicewrite(2, " N o   s p a c e   l e f".., 23)
= 23

write(2, "\n", 1)                               = 1
close(4)                                        = 0
unlink("tarname.tar")        = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF380000
munmap(0xFF380000, 8192)                        = 0
_exit(1)

Thanks,
Prabha

-----Original Message-----
From: Vitaly V. Ch [mailto:address@hidden 
Sent: Wednesday, August 27, 2008 5:16 PM
To: Biradar, Prabhulingamma (Prabha)
Cc: address@hidden
Subject: Re: problem with gunzip <No space left on device>

On Wed, Aug 27, 2008 at 11:50 AM, Biradar, Prabhulingamma (Prabha)
<address@hidden> wrote:
> Hi Vitaly,
>
> My machine has solaris 10 installed , looks like tune2fs is not
> supported...:(
>
> Any idea what are the equivavent commands I can use to check the free
> space on solaris 10?
Sorry, I'm not familiar with solaris.
\\wbr Vitaly Chernookiy
>
> Thanks,
> Prabha
>
> -----Original Message-----
> From: Vitaly V. Ch [mailto:address@hidden
> Sent: Wednesday, August 27, 2008 12:09 PM
> To: Biradar, Prabhulingamma (Prabha)
> Cc: address@hidden
> Subject: Re: problem with gunzip <No space left on device>
>
> Hi,
>
> On Wed, Aug 27, 2008 at 9:15 AM, Biradar, Prabhulingamma (Prabha)
> <address@hidden> wrote:
>> Hi Vitaly,
>>
>> Thanks so much for your reply, with / having 87M free the gunzip was
>> working fine. But with /cdocs partition even though we have 139M
free
>> it was failing.
>
> You must NOT base only on info from df. You also need info from dumpfs
> or tunefs:
>
> # tune2fs -l /dev/hda1
> tune2fs 1.38 (30-Jun-2005)
> ...
> Free blocks:              677266
> Free inodes:              1226276
> ...
>
> in this output You can see rest of available files quantity as "free
> inodes".
>
>>
>> /:lz>df -kh /
>> Filesystem             size   used  avail capacity  Mounted on
>> /                      963M   819M    87M    91%    /
>> /:lz>gunzip -l omcran_r31_v0_92_helpfiles.tar.gz
>>         compressed        uncompressed  ratio uncompressed_name
>>           25437089            85783552  70.3%
>> omcran_r31_v0_92_helpfiles.tar
>> /:lz>gunzip omcran_r31_v0_92_helpfiles.tar.gz
>> /:lz>echo $?
>> 0
>> /:lz>
>>
>>
>>
>> Thanks,
>> Prabha
>>
>> -----Original Message-----
>> From: Vitaly V. Ch [mailto:address@hidden
>> Sent: Wednesday, August 27, 2008 11:40 AM
>> To: Biradar, Prabhulingamma (Prabha)
>> Cc: address@hidden
>> Subject: Re: problem with gunzip <No space left on device>
>>
>> Hi,
>>
>> On Tue, Aug 26, 2008 at 1:23 PM, Biradar, Prabhulingamma (Prabha)
>> <address@hidden> wrote:
>>> Hi ,
>>>
>>>
>>>
>>> We are facing problem with gunzip command ,it is reporting no space
>> left
>>> on device.
>>>
>>>
>>>
>>> error
>>>
>>> gunzip: omcran_r31_v0_91_helpfiles.tar: No space left on device
>>>
>>>
>>>
>>>
>>>
>>> Below are the details,
>>>
>>>
>>>
>>> 1. @/>gzip -V
>>>
>>> gzip 1.3.3-patch.1
>>>
>>> (2002-03-08)
>>>
>>> Copyright 2002 Free Software Foundation
>>>
>>> Copyright 1992-1993 Jean-loup Gailly
>>>
>>> This program comes with ABSOLUTELY NO WARRANTY.
>>>
>>> You may redistribute copies of this program
>>>
>>> under the terms of the GNU General Public License.
>>>
>>> For more information about these matters, see the file named
COPYING.
>>>
>>> Compilation options:
>>>
>>> DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H
>>> HAVE_LSTAT
>>>
>>> Written by Jean-loup Gailly.
>>>
>>>
>>>
>>> 2. @/cdocs>gunzip -l omcran_r31_v0_91_helpfiles.tar.gz
>>>
>>>
>>>
>>> Result:
>>>
>>> compressed        uncompressed  ratio uncompressed_name
>>>
>>> 25826218            85349888    69.7% omcran_r31_v0_91_helpfiles.tar
>>>
>>>
>>>
>>> So the free space required to gunzip is 81Mb
>>>
>>>
>>>
>>> /cdocs:lz>df -kh /cdocs
>>>
>>> Filesystem             size   used  avail capacity  Mounted on
>>>
>>> /cdocs                 610M   416M   139M    75%    /cdocs
>>
>> It's like wrong. You exceed maximum quantity of files on Your
>> filesystem.
>>>
>>> /cdocs:lz>gunzip omcran_r31_v0_91_helpfiles.tar.gz
>>>
>>>
>>>
>>> gunzip: omcran_r31_v0_91_helpfiles.tar: No space left on device
>>>
>>> /cdocs:lz>
>>>
>>>
>>>
>>> Even though we have 139Mb free space we got no space left on device
>>> error.
>>>
>>>
>>>
>>> Your quick help on this will be greatly appreciated.
>>>
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Prabha
>>>
>>>
>>
>> \\wbr Vitaly Chernookiy
>>
>
> \\wbr Vitaly Chernookiy
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]