![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 1555081.1 : Sun Storage 7000 Unified Storage System: How to configure FTP append or proftp AllowStoreRestart
By default, when a ZFS appliance is rebooted, the ongoing ftp sessions are not resumed from where the upload has been stopped. This document tells how to change this behavior. In this Document
Applies to:Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases]Sun Storage 7110 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A] Sun Storage 7210 Unified Storage System - Version All Versions to All Versions [Release All Releases] Sun Storage 7310 Unified Storage System - Version All Versions to All Versions [Release All Releases] Sun Storage 7410 Unified Storage System - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. GoalTo discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance
This document explains how to set up the 'ftp' service so that uploads can resume from where they have been stopped. On the ZFS appliance, the 'ftp' service is based on 'proftp' with "AllowStoreRestart" not defined. This was mainly chosen by design, for security considerations.
"Care should be taken to disallow anonymous ftp "incoming" transfers to be restarted, as this will allow clients to corrupt or increase the size of previously stored files (even if not their own)."
Under the 2011.1.* Appliance Firmware Releases, here is what "curl" gives when "AllowAutoRestart" is not defined (or set to "off"). client # curl -a -T bigfile -u root:mypassword ftp://nasboxIpAddr/archives/mybigfile
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (25) Failed FTP upload: 451 SolutionIn some situations, especially when the 'ftp' upload session cannot be restarted from scratch (video stream), we need the "AllowAutoRestart" parameter to be set to "on". client # curl -a -T bigfile -u root:mypassword ftp://nasboxIpAddr/archives/mybigfile
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 8 29.9M 0 0 8 2686k 0 83079 0:06:17 0:00:33 0:05:44 ^^^^ It restarts from where the upload had been stopped The "proftpd_conf.akwf" workflow is available from Bug 15545622 - SUNBT6811666 appliance ftp: add file transfer resume support References<BUG:15545622> - SUNBT6811666 APPLIANCE FTP: ADD FILE TRANSFER RESUME SUPPORTAttachments This solution has no attachment |
||||||||||||||||
|