problem with dd command or maybe AFS problem


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting problem with dd command or maybe AFS problem
# 1  
Old 08-25-2006
problem with dd command or maybe AFS problem

Hi, folks.

Sorry for bothering, but maybe someone could help me please.

The problem is the following:
there is some script that copies files from local file system to AFS. The copying is performed with dd command.
The script copies data into some AFS volumes.
The problem appeared with one volume.

Before I thought (and I could see it is so) that if we copy some file into AFS, and quota can be exceeded, dd fails (dd: write error: Disk quota exceeded), but this copied data (any part of it) will not be kept in AFS.
That is if "fs q" showed 80% used before dd, it shows 80% used after failure of dd.

In my case:
before dd we had 95%used, one file (about 40MB) is copied, dd failed, I receive only "afs: failed to store file (over quota)", and "fs q" shows 100% used.
And I see that part of the copied file data is kept on AFS.
The problem is this script is called in other script, and that wrapper script cannot complete in such case.

I'm sorry, maybe I explained it too mazy.

Thanks in advance.

Anta
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

I'm facing problem with rpm command, when running the command and appears this error:

exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1). 0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded. 0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies

2. Emergency UNIX and Linux Support

Problem with mv command

I was trying to move a file to a particular directory. In a hurry i forgot to give the dest directory, as below mv prod.log The file disappeared. :confused: Any idea where it might have moved??? And I have tried moving files based on date from one directory to another as... (8 Replies)
Discussion started by: siteregsam
8 Replies

3. UNIX for Dummies Questions & Answers

ps command problem

im using this code below clear ps -e -o pcpu,pid | grep \^"0.00" but this outputs nothing at all!only if i delete grep command its running properly, ps -e -f pcpu,pid !!! :@@@ why is this happening?????? (7 Replies)
Discussion started by: strawhatluffy
7 Replies

4. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

5. UNIX for Dummies Questions & Answers

problem with output of find command being input to basename command...

Hi, I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script. I am planning to do like this: if ; then... (2 Replies)
Discussion started by: new_learner
2 Replies

6. UNIX for Advanced & Expert Users

problem in CD command

hello guys,, here is my problemia have written a code as below var="vi" if ; then cd <some path> echo $PWD fi my problem is after exicution of this code the cintrol will return to the path from where its exicuted but how can i modify so this so that after exicution of this script the... (2 Replies)
Discussion started by: vidyadhar85
2 Replies

7. Solaris

ls command problem

I'm sort of a newbie to Unix. Still learning new things everyday. My security personnel use a script to do various checks on my Solaris 9 servers. In this script they use the ls -l command for a long listing. Well my problem is I don't see a group name for the files. I've done some looking... (2 Replies)
Discussion started by: buckhtr77
2 Replies

8. Shell Programming and Scripting

question on afs

Hi, can someone please help me with one problem? I have a script on local file system. This script is called by cron and calls other script which is on AFS file system. Everything works as it was expected with one exception. In /usr/spool/name/my-userid I can see the messages: 3004-614... (0 Replies)
Discussion started by: Anta
0 Replies

9. Filesystems, Disks and Memory

Mounting AFS drive

I have an old amiga IDE drive that I wish to read. Its formated in FFS and I understand I can mount this under linux as an AFS filesystem. The drive is already installed in the PC. Can anyone explain in newbie terms the steps t mounting and reading this drive? Thanks (1 Reply)
Discussion started by: SocketSlave
1 Replies

10. UNIX for Dummies Questions & Answers

problem with who command

Sorry for my poor english. Unix is SCO ODT ver 3.0 Mine problem is : when I login via some terminal emulator and type : who am i I see information like this : username ttyp02 Feb 28 09:53 after logoff and type who command (from some other terminal) I see that ttyp02 is still... (2 Replies)
Discussion started by: bane_yu
2 Replies
Login or Register to Ask a Question
PTS_LISTMAX(1)						       AFS Command Reference						    PTS_LISTMAX(1)

NAME
pts_listmax - Displays the max user id and max group id counters SYNOPSIS
pts listmax [-cell <cell name>] [-noauth] [-localauth] [-force] [-help] pts listm [-c <cell name>] [-n] [-l] [-f] [-h] DESCRIPTION
The pts listmax command displays the values of the "max user id" and "max group id" counters, which the Protection Server uses to track the AFS user IDs (AFS UIDs) it allocates to new users or machines, and the AFS group IDs (AFS GIDs) it allocates to new groups, respectively. When an administrator next issues the pts createuser command and does not include the -id argument, the new user or machine receives an AFS UID one greater than the "max user id" counter, and when a user issues the pts creategroup command and does not include the -id argument, the new group receives an AFS UID one less (more negative) than the "max group id" counter. To reset one or both counters, members of the system:administrators group can issue the pts setmax command. OPTIONS
-cell <cell name> Names the cell in which to run the command. For more details, see pts(1). -force Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the first error. -help Prints the online help for this command. All other valid options are ignored. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or -noauth options. For more details, see pts(1). -noauth Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1). OUTPUT
The command displays the counters in the following format: Max user id is <user_counter> and max group id is <group_counter>. EXAMPLES
The following example displays the output of this command: % pts listmax Max user name is 1271 and max group id is -382. PRIVILEGE REQUIRED
None SEE ALSO
pts(1), pts_setmax(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 2014-04-08 PTS_LISTMAX(1)