Solved

Backup problems under SCO

Posted on 2004-08-19
3
491 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
[X]
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
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 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