Discussion Locked

UFSDUMP Error

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using the following line in the script:

ufsdump 0uf /dev/rmt/0cn /disk04/data/archive

The files in the archive folder are all compressed ones with extension .Z

DF -k output is

/dev/dsk/c2t0d0s3 7224905 4603273 2549383 65%/disk04

I am also using a DDS2 tape. But It is always asking for a second tape..

Thanks in advance..

8 replies

by cpfeiffe

When you dump the files (although there are many files in the directoy) it creates one dump file. ufsdump is not largefile aware. Look up the man page on largefile for more info. Basically this is an optional setting for file systems (whether or not they can contain largefiles and more importantly for your situation some commands are aware of largefiles and some are not. ufsdump is not. This basically means that you can not create a single file that is more than 2 GB. This is irregardlessof the space available on the tape. You show that you have 2.5 GB worth of data in the file system you are trying to dump. You could create two different file systems to hold the data and then dump them one at a time to the tape. This will put two separate dump files on the same tape to include all of your files. You could just move some files out and dump the same file system in two different stages. The tape will hold two different instances of the same file name so this isn't a problem. You have plenty of options for work around here, but be careful of the largefile (2 GB limit).

by ken.cunningham

As far as I can see from the man page for largefile, ufsdump is large file aware as long as we're dealing with a ufs type file system. This is the entry:

"The following /usr/sbin utilities are large file aware for ufs file systems:
clri dcopy edquota ff fsck
fsdb fsirand fstyp labelit lockfs
mkfs mount ncheck newfs quot
quota quotacheck quotaoff quotaon repquota
tunefs ufsdump ufsrestore umount"

what type are your filesystems (check in /etc/vfstab)? It's possible that the DDS2 tape drive isn't capable of the full compression that DDS3 and 4 are, but I can't be sure. Regards.

by ronypp

THanks for all teh comments. The vendor has changed the Drive, now its working fine..

by ghislain.levesque

is the tape rewind?
is there some link within the directory pointing to another filesystem?
What's the lenght of your tape? 60M, 90M?

This discussion is closed to new replies.