NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

okcspb's avatar
okcspb
Aspirant
May 08, 2016

zip i/o error - compressing files using cron task - Raidiator 4.2.26 (27)

 

Hello. I need to backup shared folders, so i logged in through ssh and made a couple of scripts to zip shares and remove obsolete archives, but i have a problem there:

 

...

  adding: c/proj/WIP/WP_TASKS/ARCHIVE 2015/08-2015/28-08-15_6.xlsx (deflated 90%)
  adding: c/proj/WIP/WP_TASKS/ARCHIVE 2015/08-2015/21-08-15_7.xlsx

zip I/O error: File too large
zip error: Output file write failure (write error on zip file)
chmod: cannot access ‘/c/backups/proj//proj-08-08-16-22-49-40.zip’: No such file or directory

 

Looks like there is no disk space available, huh? It was the first thing i've checked:


abacus:/c/backups/proj# df -H
Filesystem      Size  Used Avail Use% Mounted on
/dev/md0        4.3G  2.1G  2.1G  51% /
tmpfs            17k     0   17k   0% /USB
/dev/c/c        8.0T  6.2T  1.9T  77% /c
/c/common       8.0T  6.2T  1.9T  77% /home/ftp/common
/dev/sdh1       3.1T  1.8T  1.3T  59% /USB/USB_HDD_1
/USB/USB_HDD_1  3.1T  1.8T  1.3T  59% /home/ftp/USB_HDD_1

 

Zip is crashing when compressed file is reached 1000Mb. I don't know, why - are there any quotas or other limitations for root?

 

abacus:/c/backups/proj# ls -l -h
total 1000M
-rw-r--r-- 1 root root 1000M May  8 22:02 zi603GQ1

 

 

It's likely i wouldn't meet such problem with compressed tar, but I strongly prefer ZIP, because of its internal structure, i mean, it takes a whole eternity to just take a peek into TAR.GZ.

2 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    Not sure what the limitations for this are. Could be available RAM or some other restriction. Legacy desktop x86 ReadyNAS came with 1GB RAM.

     

    What's the output of this?:

    # df -i

    • okcspb's avatar
      okcspb
      Aspirant

       

      Surely NAS isn't the most resourceful computer, but i remember times when an ancient Celeron with 256 Mb RAM and Windows was pretty able with hundred-gigabytes compression tasks.

       

      abacus:~# df -i
      Filesystem                  Inodes  IUsed     IFree IUse% Mounted on
      /dev/md0                     65536  15959     49577   25% /
      tmpfs                       126593      2    126591    1% /USB
      /dev/c/c                 121716736 151178 121565558    1% /c
      /c/common                121716736 151178 121565558    1% /home/ftp/common
      /dev/sdh1                303611298  26297 303585001    1% /USB/USB_HDD_1
      /USB/USB_HDD_1           303611298  26297 303585001    1% /home/ftp/USB_HDD_1

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More