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
KA-FORWARDER(8) 					       AFS Command Reference						   KA-FORWARDER(8)

NAME
ka-forwarder - Forward AFS Authentication Server requests to another server SYNOPSIS
ka-forwarder [-p <port>] <server>[/<port>] [...] DESCRIPTION
ka-forwarder listens for requests for an AFS Authentication Server and forwards them to a remove fakeka server. fakeka is a server that answers AFS Authentication Server protocol requests using a regular Kerberos KDC and is provided with some Kerberos 5 implementations. fakeka has to run on the same host as the Kerberos KDC, however, and AFS clients send all native AFS authentication requests to the AFS database servers. If you don't want to run your Kerberos KDCs and your AFS database servers on the same host, run ka-forwarder on the AFS database servers and point it to fakeka running on the Kerberos KDCs. ka-forwarder takes one or more servers to which to forward the requests. The default port on the remote server to which to forward the command is 7004, but a different port can be specified by following the server name with a slash ("/") and the port number. If multiple servers are given, ka-forwarder will send queries to each server in turn in a round-robin fashion. CAUTIONS
Due to the way that ka-forwarder distinguishes from client requests and server responses, any messages from one of the servers to which ka- forwarder is forwarding will be considered a reply rather than a command and will not be forwarded. This means that the servers running fakeka will not be able to use native AFS authentication requests and rely on ka-forwarder to send the requests to the right server. ka-forwarder does not background itself. It should either be run in the background via the shell, or run via the Basic OverSeer Server (see bosserver(8)). OPTIONS
-p <port> By default, ka-forwarder listens to the standard AFS Authentication Server port (7004). To listen to a different port, specify it with the -p option. EXAMPLES
Forward AFS Authentication Server requests to the fakeka servers on kdc1.example.com and kdc2.example.com: % ka-forwarder kdc1.example.com kdc2.example.com & Note the "&" to tell the shell to run this command in the background. PRIVILEGE REQUIRED
ka-forwarder only has to listen to port 7004 and therefore does not require any special privileges unless a privileged port is specified with the -p option. SEE ALSO
bosserver(8), fakeka(8), kaserver(8) COPYRIGHT
Copyright 2006 Russ Allbery <rra@stanford.edu> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS. OpenAFS 2012-03-26 KA-FORWARDER(8)