Sponsored Content
Operating Systems Solaris More > 1 TB single file cant copy Post 303019860 by katumping on Monday 9th of July 2018 05:13:16 AM
Old 07-09-2018
More > 1 TB single file cant copy

good evening,

hi, I have problem for copy file, size more > 1 TB, just only for single file.
error said, capacity not enough, even my storage I set to 4 TB, file always reject during finish copy.

but, if I copy with multiple file/separate file, total calculation file is 2 TB, always success.

problem only, if I copy single file to my server solaris 10.

I already try newfs -T to drive, but can't help with my issue

please
 

10 More Discussions You Might Find Interesting

1. Gentoo

How to copy single partition?

I presently backup my multi-OS multi-paritition boot drive (fedora core 4/ext3, WinXPServer/NTFS, WinXPHome/FAT32) with the command: telinit 1; cp /dev/sda /dev/sdb And this works. Is there a command to only copy a single partition instead of an entire device? And what about the grub... (12 Replies)
Discussion started by: siegfried
12 Replies

2. Shell Programming and Scripting

How to copy data into a single file plus title

Hi Can anyone help me with the task below? Example: The contents in fileA.txt are: HELLO HOW DO U DO? The contents in fileA.txt are: HI I AM FINE. how to combine the data in 2 files into one with the format below? Case A-fileA.txt HELLO HOW DO U DO? Case B-fileB.txt (4 Replies)
Discussion started by: c0384
4 Replies

3. UNIX for Dummies Questions & Answers

Copy single file to multiple directories

Please help - I need to copy a single file to multiple directories. Dir structure: Parent_Directoy Filename1 Child_Directory1 Child_Directory2 Child_Directory3 Child_Directory4 .... So I need to copy Filename1 to all of the... (2 Replies)
Discussion started by: kthatch
2 Replies

4. Shell Programming and Scripting

unzip single file and untar single file

Dear friends, My requirement below- 1] I have a zip file on unix server - ETL_Extracts_20100218175009.zip which is composed of various entity extracts namely... ENTITY1.txt, ENTITY2.txt, ENTITY3.txt etc.... How do I unzip only a single file ..say ENTITY2.txt from this zip file. CAn you... (2 Replies)
Discussion started by: sureshg_sampat
2 Replies

5. Shell Programming and Scripting

revision of copy script to allow for single quote

I have the following script that I use to copy a list of files from one dir to another, #!/usr/bin/bash # $1=filename of file with the list of files to copy # $2=column header for col in list file with filenames (filePath in most cases) # $3=src dir # $3=destination dir FILE_LIST="$1"... (6 Replies)
Discussion started by: LMHmedchem
6 Replies

6. UNIX for Advanced & Expert Users

How to extract data from single first cell and copy it notepad?

how to extract data from single first cell and copy it notepad sample source IN EXCEL DD-MM-YYYY LOANNUM LOANPARTID OUTPUT IN NOTEPAD DD-MM-YYYY I WANT ALONE DATE SHOULD BE EXTRACTED FROM EXCEL AND COPY IT IN NOTEPAD CAN ANYONE HELP REGARDING THIS USING SCRIPTS (2 Replies)
Discussion started by: gchandu
2 Replies

7. Shell Programming and Scripting

Paste 2 single column files to a single file

Hi, I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working.. output3.csv: flowerbomb everlon-jewelry sofft steve-madden dolce-gabbana-watchoutput2.csv: http://www1.abc.com/cms/slp/2/Flowerbomb http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Discussion started by: ajayakunuri
5 Replies

8. UNIX for Beginners Questions & Answers

How to copy a 2 Volume mksysb backup to a single tape?

Hi, I have an mksysb backup which consists of 2 Volume, how do I combine it into a single Volume or tape ? Appreciate it (1 Reply)
Discussion started by: AIXBlueCat
1 Replies

9. Shell Programming and Scripting

Copy files recursively to one single directory

I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies

10. Shell Programming and Scripting

Copy local files to single remote host but multiple folders using rsync

I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command. Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles" rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
smart_pointer(7rheolef) 					    rheolef-6.1 					   smart_pointer(7rheolef)

NAME
smart_pointer, smart_pointer_clone - reference counted safe pointer with true copy semantic DESCRIPTION
Here is a convenient way to implement a true copy semantic, by using shallow copies and reference counting, in order to minimise memory copies. This concept is generally related to the smart pointer method for managing memory. The true semantic copy is defined as follows: if an object A is assigned to B, such as A = B, every further modification on A or B does not modify the other. Notice that this class differs from the boost::shared_ptr class that implements safe pointers without the true copy semantic. CLONE VARIANT
The smart_pointer_clone variant uses a T* T::clone() const member function instead of the usual T::T() copy constructor for obtaining a true copy of the data. This variant is motivated as follows: when using hierarchies of derived classes (also known as polymorphic classes), the usual copy is not possible because c++ copy constructors cannot be virtual, so you cannot make a copy this way. This is a well-known problem with C++'s implementation of polymorphism. We uses a solution to the non-virtual copy constructor problem which is suggested by Ellis and Stroustrup in "The Annotated LRM". The solution is to require the T class to provide a virtual clone method for every class which makes a copy using new and the correct copy con- structor, returning the result as a pointer to the superclass T. Each subclass of T overloads this function with its own variant which copies its own type. Thus the copy operation is now virtual and furthermore is localised to the individual subclass. NOCOPY VARIANT
This variant of the smart pointer is designed for use on objects that cannot (or must not) be copied. An example would be when managing an object that contains, say, a file handle. It is essential that this not be copied because then you get the problem of deciding which copy is responsible for closing the file. To avoid the problem, wrap the file handle in a class and then manage a unique instance of it using a smart_pointer_nocopy. This ensures that the file handle cannot be copied and is closed when the last alias is destroyed. The interface to the nocopy variant is the same as smart_pointer but with all operations that perform copying forbidden. In fact, because all three variants are instances of a common superclass, the forbidden methods do exist but will cause an error and exit if they are called. The following modifiers cannot be used because they use copying of the pointed-to object and will thereore cause an error: T* operator-> (); T& operator* (); T* pointer (); T& data (); EFERENCES
[1] A. Geron and F. Tawbi, Pour mieux developper avec C++ : design pattern, STL, RTTI et smart pointers, InterEditions, 1999. Page 118. [2] STLplus, http://stlplus.sourceforge.net/stlplus3/docs/smart_ptr.html for the clone and nocopy variants. IMPLEMENTATION
template <class T, class C> class smart_pointer_base { public: // allocators: smart_pointer_base (T* p = 0); smart_pointer_base (const smart_pointer_base<T,C>&); smart_pointer_base<T,C>& operator= (const smart_pointer_base<T,C>&); ~smart_pointer_base (); // accessors: const T* pointer () const; const T& data () const; const T* operator-> () const; const T& operator* () const; // modifiers: T* pointer (); T& data (); T* operator-> (); T& operator* (); // implementation: private: struct counter { T* _p; int _n; counter (T* p = 0); ~counter (); int operator++ (); int operator-- (); }; counter *_count; #ifndef TO_CLEAN public: int reference_counter() const { return _count != 0 ? _count->_n : -1; } #endif // TO_CLEAN }; rheolef-6.1 rheolef-6.1 smart_pointer(7rheolef)
All times are GMT -4. The time now is 02:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy