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

NAME
afs - Introduction to AFS files DESCRIPTION
A number of files must reside on the local disk of AFS server and client machines. They belong to the following general categories: o Configuration files define configuration parameters for specific server and kernel processes such as the Backup System Tape Coordinator or the Cache Manager. o Administrative files list information used in administration of server machines, such as a list of privileged users or server encryption keys. o Cache-related files contain cached data or information about cached data, on client machines. o Log files contain tracing messages about the operation of a specific process. o Database files contain database records used to administer the AFS cell. o Controller files control the behavior of a process. o Volume header files represent AFS volumes on server partitions. For a description of the format and contents of each file, see its reference page. Note for Windows users: Some files described in this document possibly do not exist on machines that run a Windows operating system. Also, Windows uses a backslash ("") rather than a forward slash ("/") to separate the elements in a pathname. SEE ALSO
Configuration files: BosConfig(5) CellServDB(5) NetInfo(5) NetRestrict(5) ThisCell(5) butc(5) cacheinfo(5) krb.conf(5) package(5) sysid(5) tapeconfig(5) uss(5) uss_bulk(5) Administrative files: KeyFile(5) UserList(5) Cache-related files: afs_cache(5) Log files: AuthLog(5) BackupLog(5) BosLog(5) FileLog(5) SalvageLog(5) VLLog(5) VolserLog(5) butc(5) fms.log(5) Database files: bdb.DB0(5) kaserver.DB0(5) kaserverauxdb(5) prdb.DB0(5) vldb.DB0(5) Controller files: FORCESALVAGE(5) NoAuth(5) SALVAGE.fs(5) salvage.lock(5) Volume header files: afs_volume_header(5) 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 AFS(5)