03-27-2009
Deleted usr
Hi
I normally backup with tar command but after deleting the usr folder, the tar command wouldn't work. Now I want to just start the server but it wouldn't startup.
I can get a backup from a similar server but I don't do a scratch installation which would delete data I have on the server.
8 More Discussions You Might Find Interesting
1. Solaris
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies
2. Solaris
I have accidentally deleted the sim link:
/usr/lib/secure/s8_preload.so.1 -> /.SUNWnative/usr/lib/brand/solaris8/s8_preload.so.1
and now I can't do almost anything in my Solaris 8 container.
I still have an open session to the machine. I can not create the link again because trying to run:... (1 Reply)
Discussion started by: qwertysas
1 Replies
3. AIX
Hi
Can ony one advise which files can be deleted in /usr in an aix hacmp node ? Im new to aix and Im not sure which files can be deleted ?
#df -g /usr
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd2 7.00 1.00 86% 67013 22% /usr
... (4 Replies)
Discussion started by: samsungsamsung
4 Replies
4. UNIX for Dummies Questions & Answers
Just wondering -- I just deleted one of the mailboxes on my mac, and was wondering where it went. I'd like to do an srm, and thought that it would go to my deleted messages mailbox, but it isn't there (and there were some messages in them.) Can anyone tell me? The mailbox doesn't contain any... (0 Replies)
Discussion started by: Straitsfan
0 Replies
5. Shell Programming and Scripting
Hi
I have the following code which was supposed to clean up a directory when the number of files in that directory exeeded 2.The code is given below.
#!/usr/bin/ksh
dir_num=`/usr/bin/find /var/.audit -type d | /usr/bin/wc -l`
if
then
oldest_file=`/usr/bin/ls -1t | /usr/bin/tail... (19 Replies)
Discussion started by: chacko193
19 Replies
6. Solaris
Hi Guys,
OS:- Solaris 10 64Bit
I have a small query.
On one server a user is facing sed command issue.
He gets error regarding sed for this location
/users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found
How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies
7. BSD
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
8. OS X (Apple)
OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)
Discussion started by: michaelayres
5 Replies
LEARN ABOUT OSF1
backup_delvolset
BACKUP_DELVOLSET(8) AFS Command Reference BACKUP_DELVOLSET(8)
NAME
backup_delvolset - Deletes one or more volume sets from the Backup Database
SYNOPSIS
backup delvolset -name <volume set name>+ [-localauth]
[-cell <cell name>] [-help]
backup delvols -n <volume set name>+ [-l]
[-c <cell name>] [-h]
DESCRIPTION
The backup delvolset command deletes each volume set named by the -name argument, and the volume entries each contains, from the Backup
Database. The backup listvolsets command lists the volume sets (and their volume entries) currently defined in the Backup Database.
CAUTIONS
Deleting a temporary volume set is possible only within the interactive session in which it was created. Exiting the interactive session
also destroys the temporary volume set automatically.
OPTIONS
-name <volume set name>+
Names each volume set to delete.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command deletes the volume set called user and all volume entries in it:
% backup delvolset user
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO
backup(8), backup_addvolentry(8), backup_addvolset(8), backup_delvolentry(8), backup_listvolsets(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_DELVOLSET(8)