Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Backup problems under SCO

Posted on 2004-08-19
3
Medium Priority
?
494 Views
Last Modified: 2013-12-19
Were having some problems creating a backup of a SCO box we have over NFS. IT is running  sco_sv 3.2 5.0.5 and we are backing up over an NFS mount to a Red Hat 9 box.

Were using the following command: find /. -follow -depth -print -mount  | cpio -ovcmC32768 -Ofilename.cpio

weve also tried some variations piping through dd:
find /. -follow -depth -print -mount  | cpio -ovcmC32768 | dd of=filename.cpio conv=bmode bs=32k

these didnt help any. same results.

The job always core dumps at ~2gigs. Weve tried everything we can think of. Anybody got any ideas?




0
Comment
Question by:squatex
3 Comments
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 1000 total points
ID: 11846856
Obviously you are running into the "large file limit (2Gb)" problem. Since RH 9 can have files larger than 2GB I'd suspect this to be an SCO/NFS problem and a workaround might be to pipe the output from cpio to an rsh or ssh. Perhaps something along the lines of:

find /. -follow -depth -print -mount  | cpio -ovcmC32768 | ssh redhat-box dd of=filename.cpio

Since that would use the native RedHat dd it should allow greater than 2Gb files to be created.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 1000 total points
ID: 11848956
jlevie makes the good point, you are likely reach the SCO file size limit (If you are using
AFS, EAFS, HTFS, single file size <= 2GB!), SCO 5.0.2 or newer has DTFS file system
can handle file size > 2GB.

You can you "divvy" command to view which filesystem you are using (AFS, EAFS, HTFS), if you want to change it to DTFS, you have to backup all the data in that
partion and then restore it back to the partion.

Avoid use -C with cpio when you can (if you forgot which value was use, then you will
have trouble to restore it)

You can use ssh (if you are insude a secure LAN, use rsh) to backup up to the Linux
box:

eg:
find ./mount-dir -print | cpio -oacv | ssh redhat-box dd of=filename.cpio

or
find ./mount-dir -print | cpio -oacv | rsh redhat-box dd of=filename.cpio




   
0
 
LVL 4

Author Comment

by:squatex
ID: 11851047
Thanks both of you. Thats all it took to get the wheels turning.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question