From: djp@zeus.unx.dec.com (Dave Parker)
Subject: Re: HELP. Missing files in /USR/OPT directory?
Date: 1996/03/06 [thread overview]
Message-ID: <4hk3lj$m7l@nntpd.lkg.dec.com> (raw)
In-Reply-To: 4hm7cr$222@groa.uct.ac.za
In article <4hm7cr$222@groa.uct.ac.za>, PARCHER@ELECENG.UCT.AC.ZA (Paul Archer) writes:
|>Hi..
|>
|>I'm running Digital Unix 3.2c and I typed "rm *" as root in the /usr/opt
|>directory. (I thought I was somewhere else).
|>
|>I don't know if I lost any files, so please can you check out that directory
|>and tell me if there are any files there (or only sub-directories).
|>
|>As luck would have it, I have no backup, as the backup person has not got the
|>backup working yet!
|>
|>Hope you can help. Thanks ..
|>
|>
|>Paul : parcher@eleceng.uct.ac.za
|>
The base operating system product (i.e. Digital UNIX itself) does NOT install
any files in that directory. However, that directory is heavily used by most
layered products. If you had any installed, it's likely that you lost files.
Relying on information from others on whether they have any files in /usr/opt
is NOT the way to go as this will differ system by system.
Without a backup, there is no easy way to recover.
I'd suggest that you do the following:
1. Determine if you have any layered products installed. Do this by executing
setld -i. Look for subsets that are installed that don't start with the
string "OSF". Note these.
2. Look at the inventory file for each of these subsets in the /usr/.smdb.
directory and search for entries in /usr/opt. If there are any, note that
subset name. Alternately, you could just type setld -i <subset-name> and
grep the output for /usr/opt.
3. Attempt to delete those layered products that had files in /usr/opt. You
might lose whatever setup was associated with each product, but you don't
have much choice. Use setld -d <subset-name>
4. Reinstall the layered products.
Note that this only helps you recover files placed in /usr/opt by setld. Any
other files that were there are gone forever!
Backup, backup, backup.....
Dave
--
----------------------------------------------------------------------
Dave Parker djp@unx.dec.com
UNIX Engineering Digital Equipment Corp
The comments, opinions, etc. within are mine.....
parent reply other threads:[~1996-03-06 5:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <4hm7cr$222@groa.uct.ac.za>]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox