Solved

Backup problems under SCO

Posted on 2004-08-19
3
484 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
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.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

757 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now