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
NOAUTH(5)							AFS File Reference							 NOAUTH(5)

NAME
NoAuth - Disables authorization checking DESCRIPTION
The NoAuth file, if present in a server machine's /var/lib/openafs/local directory, indicates to the AFS server processes running on the machine that it is not necessary to perform authorization checking. They perform any action for any user who logs into the machine's local file system or issues a remote command that affects the machine's AFS server functioning, such as commands from the AFS command suites. Because failure to check authorization exposes the machine's AFS server functionality to attack, there are normally only two circumstances in which the file is present: o During installation of the machine, as instructed in the OpenAFS Quick Start Guide. o During correction of a server encryption key emergency, as discussed in the OpenAFS Administration Guide. In all other circumstances, the absence of the file means that the AFS server processes perform authorization checking, verifying that the issuer of a command has the required privilege. Create the file in one of the following ways: o By issuing the bosserver initialization command with the -noauth flag, if the Basic OverSeer (BOS) Server is not already running. o By issuing the bos setauth command with off as the value for the -authrequired argument, if the BOS Server is already running. To remove the file, issue the bos setauth command with "on" as the value for the -authrequired argument. The file's contents, if any, are ignored; an empty (zero-length) file is effective. SEE ALSO
bos_setauth(8), bosserver(8) 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 NOAUTH(5)