{"id":435,"date":"2010-02-01T14:28:13","date_gmt":"2010-02-01T19:28:13","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=435"},"modified":"2010-02-01T14:30:49","modified_gmt":"2010-02-01T19:30:49","slug":"split-giant-iso-into-smaller-files","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/02\/split-giant-iso-into-smaller-files\/","title":{"rendered":"Split Giant ISO Into Smaller Files"},"content":{"rendered":"<p>OK, so I uploaded a 3GB ISO file to my site for future downloads.  Unfortunately for me, whenever I attempted to download the file I was met by:<\/p>\n<blockquote><p>\nForbidden<\/p>\n<p>You don&#8217;t have permission to access \/path\/to\/file\/nameoffile.iso on this server.<\/p>\n<p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.<\/p><\/blockquote>\n<p>Dumb.  Good thing I have access to the log files.  The error from apache stated:<\/p>\n<blockquote><p>value too large for defined data type<\/p><\/blockquote>\n<p>More dumb.  As this is from my hosting company I can&#8217;t just go ahead and update the kernel or replace any config files I need.  So I just needed to be able to compress the file and make multiple archives.  Thanks to some command line tar I can do just that:<\/p>\n<p><code>tar cvzf - nameofyourfile.iso | split -d -b 700m - nameyouwantyourfiletobe.iso.tar.gz.<\/code><br \/>\nNotice the trailing &#8216;.&#8217;  &#8211; this is used to create filename.iso.tar.gz.01, filename.iso.tar.gz.02 etc.<\/p>\n<p>Now I just have to play the waiting game for it to finish.<\/p>\n<p>AND if you want to restore it later to ISO format:<br \/>\n<code>cat filename.iso.tar.gz.* | tar xvzf -<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, so I uploaded a 3GB ISO file to my site for future downloads. Unfortunately for me, whenever I attempted to download the file I was met by: Forbidden You don&#8217;t have permission to access \/path\/to\/file\/nameoffile.iso on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/02\/split-giant-iso-into-smaller-files\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Split Giant ISO Into Smaller Files<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":2,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/435\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}