dumping to tape from /tmp


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers dumping to tape from /tmp
# 1  
Old 11-27-2006
dumping to tape from /tmp

I'm trying to dump files to tape and im just wondering can i dump from /tmp swap partition?

ufsdump 0ubf 126 /dev/rmt/1 swap/tmp/blah.tar

DUMP: Cannot open dump device `swap/tmp/blah.tar': No such file or directory

ufsdump 0ubf 126 /dev/rmt/1 /tmp/NotificationServer_1.bku
DUMP: `/tmp/NotificationServer_1.bku' is not on a locally mounted filesystem
DUMP: The ENTIRE dump is aborted.

Doh ufsdump is for partitions....anyone know how to do files? or directories?

Last edited by kingdbag; 11-27-2006 at 06:10 PM..
# 2  
Old 11-27-2006
Ok, so cpio seems to be what I need but now with me playing around on my test machine i seemed to have used up the remaining last gig of free harddrive space and i think its some tape temp file someplace i can't find... is there a command to find directories that are taking up a lot of disk space? My partition backup failed and I found a link someplace stating that if it fails it will fill up the drive is this true? if so how do i free that gig back up?

cpio: cannot fseek on tmpfile /var/tmp/cpiospaqNb, errno 28, No space left on device
1 errors

Filesystem Size Used Avail Use% Mounted on
/dev/dsk/c0t0d0s0 4.9G 4.9G 0 100% /
swap 1.1G 48K 1.1G 1% /var/run
swap 1.1G 32K 1.1G 1% /tmp
/dev/dsk/c0t0d0s7 11G 8.5G 2.3G 79% /export/home

Last edited by kingdbag; 11-27-2006 at 07:46 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Dumping database results and doing checksums

hey I am dumping two database results into two text files and doing checksums on them. Anyone know how to do this. I originally was doing line by line comparison and diff but I need something faster for larger gb size files. anyone got tips? (5 Replies)
Discussion started by: Samuel12
5 Replies

2. IP Networking

dumping traffic of a singel application

I would like to know if there is a way to dump the network traffic of a single application. I tried with tcpdump but I couldn't find a way. Is there a patch, which enables that or does someone know an other application to do this? (2 Replies)
Discussion started by: smf15
2 Replies

3. Red Hat

Core Dumping?

How to now if the server is core dumping into the same filesystem? (4 Replies)
Discussion started by: 300zxmuro
4 Replies

4. Programming

strcat() dumping core

strcat dumping core in the situation like main() { char* item; char* p=sat_item; char type; item=(char*) malloc(strlen(p)); strncpy(type,p,4); type='\0'; strcat(item,type); //dumping core } I couldn't get why strcat dumping core? (3 Replies)
Discussion started by: satish@123
3 Replies

5. UNIX for Dummies Questions & Answers

Dumping network packets

Hi, My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development. Now, I'd like to capture RAW... (1 Reply)
Discussion started by: smanu
1 Replies

6. UNIX for Dummies Questions & Answers

dumping data and compressing

I have a utility provided by our vendor to dump data from their system. It is expsysdb -s prod proddata.dmp "-s" and "prod" are parameters and "proddata.dmp" is the file name that the data is dumped to (this can be any name). Our current system (AIX 4.3) has a file size limit set to 1... (7 Replies)
Discussion started by: jyoung
7 Replies

7. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

8. UNIX for Advanced & Expert Users

Dumping multiple Folders

How would i go about dumping my /home/ directory and my /root directory i currently have..... dump -f /root/backup.dp /home/ /root/ ...but dump only seems to see only my first source directory and not the second (/root in this case) anyone know a way around this..or if it is even... (1 Reply)
Discussion started by: Freakytah
1 Replies

9. UNIX for Dummies Questions & Answers

Dumping files to tape

Can anyone please help.... how can I dump just a single file to tape using the ufsrestore command!!! I'm a newbie to unix and It's driving me mad.. Thanks in advance. (2 Replies)
Discussion started by: Jonathan
2 Replies
Login or Register to Ask a Question