Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Backup problems under SCO

Posted on 2004-08-19
3
489 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 250 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 250 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 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