From owner-freebsd-emulation Tue Sep 18 22:30: 9 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id A492B37B426; Tue, 18 Sep 2001 22:29:50 -0700 (PDT) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id f8J5TG814942; Wed, 19 Sep 2001 14:59:16 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Wed, 19 Sep 2001 14:57:39 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id OAA06230; Wed, 19 Sep 2001 14:52:58 +0930 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QFD1LDRV; Wed, 19 Sep 2001 14:52:55 +0930 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id OAA03136; Wed, 19 Sep 2001 14:52:58 +0930 (CST) Message-ID: <3BA82BBD.56E99417@dsto.defence.gov.au> Date: Wed, 19 Sep 2001 14:53:09 +0930 From: "Thyer, Matthew" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Olsson Cc: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: About HP OmniBack disk agent in FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [cc'd to the lists for future reference for people wishing to run Hewlett Packard OpenView OmniBack disk agent on FreeBSD] You are trying to do a lot more than me. I cannot browse, I have simply defined my datalist manually specifying that I only want to backup the /export filesystem (dont choose from the browse list but just type it in). I will be interested to see what mods you have made to /usr/omni/bin/.util to be able to see the list of mounted filesystems. I dont do any browsing except when I am restoring, then I browse the OmniBack database to choose what to restore but as far as I know, you cannot browse the list of mounted filesystems or the files in them when you are actually communicating with the FreeBSD box. I may well have run "brandelf -t Linux /usr/omni/bin/*" to make vbda work. Compare the below with your system: % sudo file /usr/omni/bin/* /usr/omni/bin/#inet: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/cat_d: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, not stripped /usr/omni/bin/cat_e: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, not stripped /usr/omni/bin/echo_d: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, not stripped /usr/omni/bin/echo_e: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, not stripped /usr/omni/bin/fsbrda: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/inet: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/install: directory /usr/omni/bin/obkbackup: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), not stripped /usr/omni/bin/obkrestore: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), not stripped /usr/omni/bin/omnigetmsg: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/rbda: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/rrda: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/srun: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/utilns: directory /usr/omni/bin/vbda: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped /usr/omni/bin/vrda: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped Also ignore anything that gets redirected under /compat/linux as you'll end up backing up the wrong stuff. % ls -l /usr/compat/linux/ total 10 drwxr-xr-x 2 root root 1024 Jul 26 15:15 bin drwxr-xr-x 2 root root 512 Feb 7 1996 boot drwxr-xr-x 6 root root 1024 Aug 24 10:45 etc drwxr-xr-x 3 root root 2048 Jul 26 15:15 lib drwxr-xr-x 4 root root 512 Jul 26 15:14 mnt drwxr-xr-x 2 root root 512 Aug 24 1999 opt dr-xr-xr-x 1 root root 0 Sep 19 14:40 proc drwxr-xr-x 2 root root 512 Jul 26 15:14 sbin drwxr-xr-x 17 root root 512 Jul 26 15:15 usr drwxr-xr-x 13 root root 512 Jul 26 15:15 var So you wont get all of /bin, /boot, /etc, /lib, /mnt, /opt, /sbin, /usr or /var backed up in the normal way with OmniBack. The solution to that problem is to set up your FreeBSD boxes as file servers where all data is under /export. If you really really want to backup the other filesystems, you can NFS mount them on a Linux box and use OmniBack on that Linux box as OmniBack can be used to backup NFS mounted filesystems. You could use on Linux box to do all FreeBSD 'other' filesystems. e.g. mount freebie1:/ tux:/backup/freebie1/root mount freebie1:/var tux:/backup/freebie1/var mount freebie2:/ tux:/backup/freebie2/root Peter Olsson wrote: > > Hello! > > Sorry to disturb you. I need some help if you have the time. > > I had a working disk agent installed in a linux. I tarred /usr/omni > and copied it to a freebsd. I got the freebsd imported as a client in > our win2000 OmniBack Manager. After some hacking in /usr/omni/bin/.util > to get a working df command I can see the mountpoints /, /usr and /var. > > When I try to browse down the directory tree it doesn't work. The command > being run is "/usr/omni/bin/fsbrda -browse /usr" which doesn't seem to > work in freebsd. After a while the result is "Cannot browse: invalid > mountpoint". This is probably what you write about as the significant > problem below? > > And when I choose for example to backup /var and I come to the > final screen where the backup operation is made, it doesn't work > either. vbda doesn't seem to understand freebsd. > > Have you had this problem and know what to do about it? > >From your text below it seems you have been able to both browse and > backup directory /export/home in freebsd. How did you do this? > > Is there anything I have to change under /usr/omni after copying it > from the linux? (By the way, is changing .util the right thing to do?) > > Is there some way of setting up the mountpoints and directories statically > for the freebsd client system in OmniBack win2000 Manager? > > Thanks! > > Peter Olsson -- Matthew Thyer Phone: +61 8 8259 7249 Science Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Edinburgh PO Box 1500 Edinburgh South Australia 5111 IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message