12-02-2011
Sure it's a valid point that if disk space max is being reached during sort, the same issue may be encountered while inserting into a DB. However, we don't really know all the details of the server. Who knows; maybe there is some additional mounted volume, or some external DB available (not on the same disk) that could be used.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have this file (filex)
07-11-2003 10:11:12!cccc!ddd!eeeeeeee
07-11-2003 09:11:11!dddd!kkkkk!xxxxxx
09-12-2003 14:18:43!aaaa!bbbbb!cccc
where I need to sort it by date+time in this order:
09-12-2003 14:18:43!aaaa!bbbbb!cccc
07-11-2003 10:11:12!cccc!ddd!eeeeeeee
07-11-2003... (3 Replies)
Discussion started by: gio123bg
3 Replies
2. Shell Programming and Scripting
hi everyone, i have a document where i have email addresess and names, i need to check if the email addresses are uniq, if they repeat erase one of them, how can i do that?
document sample:
aD00763357@cucei.udg.mx,ABRAHAM ANTONIO SEVERIANO
a199721111@cucei.udg.mx,ABRAHAM GONZALEZ... (4 Replies)
Discussion started by: sx3v1l_1n51de
4 Replies
3. Shell Programming and Scripting
hello all, I have a file with two numbers on each line, comma separated. I want to sort the contents of the file in increasing order (smallest to largest) of the numbers on the second line. i.e:
23,3
25,2
27,12
to become
25,2
23,3
27,12
Does anyone know how I can do this?
Thanks... (2 Replies)
Discussion started by: Khoomfire
2 Replies
4. Programming
i ahve a file like:
*************************************
sree
122132
12321
***********************************
phani
21321
3213214
******************************
dddsds
213213123
23213213
*******************************
i want to sort the file with respect to name how we can do this... (1 Reply)
Discussion started by: phani_sree
1 Replies
5. Shell Programming and Scripting
i have a data in afile like this
**************************************
sree
sree@yahoo.com
98662323432
*************************************
phani
phani@yahoo.com
98662323344
*************************************
i want to sort the file with respect to name.
how can i do this.
thank... (5 Replies)
Discussion started by: phani_sree
5 Replies
6. Shell Programming and Scripting
I have the file as follow:
A: 60
B: 80
C: 40
D: 11
E: 100
I want to sort the file and get the output to file as follow:
E: 100
B: 80
A: 60
C: 40
D: 11
Could any one help me please? (1 Reply)
Discussion started by: moutaz1983
1 Replies
7. Shell Programming and Scripting
I'm trying to write a script that will look in an /exports folder for the oldest export file and move it to a /staging folder. "Oldest" in this case is actually determined by date information embedded in the file names themselves.
Also, the script should only move a file from /exports to... (6 Replies)
Discussion started by: nikosey
6 Replies
8. UNIX for Dummies Questions & Answers
how would i sort a file on the third column based on numerical value instead of the ASCII order? (1 Reply)
Discussion started by: trob
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have two files, one of which I would like to sort based on the order of the data in the second. I would like to do this using a simple unix statement.
My two files as follows:
File 1:
12345 1 2 2 2 0 0
12349 0 0 2 2 1 2
12350 1 2 1 2 2 2
.
.
.
File2:
12350... (3 Replies)
Discussion started by: kasan0
3 Replies
10. Shell Programming and Scripting
Hi Unix Admins,
I wanted to sort a file in a specific order,
i.e the input file contains two fields and the first column is not unique and had to be sorted. example
Input File
-------
2014-10-21:Rand1
2014-11-02:Rand2
2014-11-02:Rand3
2014-11-02:Rand4
2014-11-03:Rand5
2014-11-04:Rand6... (4 Replies)
Discussion started by: Naveenezone
4 Replies
LEARN ABOUT PHP
fs_setvol
FS_SETVOL(1) AFS Command Reference FS_SETVOL(1)
NAME
fs_setvol - Set quota and messages for a volume containing a file or directory
SYNOPSIS
fs setvol [-path <dir/file path>+]
[-max <disk space quota in 1K units>]
[-offlinemsg <offline message>] [-help]
fs setv [-p <dir/file path>+]
[-ma <disk space quota in 1K units>]
[-o <offline message>] [-h]
fs sv [-p <dir/file path>+]
[-ma <disk space quota in 1K units>]
[-o <offline message>] [-h]
DESCRIPTION
The fs setvol command sets the quota (maximum possible size) of the read/write volume that contains each directory or file named by the
-path argument. To associate a message with the volume which then appears in the output of the fs examine command, include the -offlinemsg
argument.
To display all of the settings made with this command, use the fs examine command. The fs listquota command reports a fileset's quota, and
the fs quota command the percent of quota used.
To set quota on one volume at a time, use the fs setquota command.
CAUTIONS
Currently, the maximum size of a volume is 2 terabytes (2^31 bytes).
OPTIONS
-path <dir/file path>+
Names each file or directory for which to set the host volume's quota and offline message. Partial pathnames are interpreted relative
to the current working directory, which is also the default value if this argument is omitted.
Specify the read/write path to the file or directory, to avoid the failure that results from attempting to change a read-only volume.
By convention, the read/write path is indicated by placing a period before the cell name at the pathname's second level (for example,
/afs/.abc.com). For further discussion of the concept of read/write and read-only paths through the filespace, see the fs mkmount
reference page.
-max <disk space quota in 1K units>
Sets the maximum amount of file server disk space the volume can occupy. Provide a positive integer to indicate the number of one-
kilobyte blocks (1024 is one megabyte). A value of 0 sets an unlimited quota, but the size of the disk partition that houses the volume
places an absolute limit on the volume's size.
If the -path argument is omitted (so that the command sets the quota of the volume housing the current working directory), the -max
switch must be provided.
-offlinemsg
Associates a message with the volume which then appears in the output of the fs examine command. Its intended use is to explain why the
volume is currently offline.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command imposes a 6500 kilobyte quota on the volumes mounted at the home directories /afs/abc.com/usr/smith and
/afs/abc.com/usr/pat:
% cd /afs/abc.com/usr
% fs setvol -path smith pat -max 6500B<>
PRIVILEGE REQUIRED
The issuer must belong to the system:administrators group.
SEE ALSO
fs_examine(1), fs_listquota(1), fs_mkmount(1), fs_quota(1), fs_setquota(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_SETVOL(1)