10-15-2008
Thanks for your help, otheus.
I am administrating DHCP on a head node together with a central /etc/hosts.
You are right about ssh private keys, however this is not my problem. I need to login from just one machine (head node) to the clones and this remote login seems to work with the new machines (because the private key of my head node corresponds to the (identical) public key on my clones. However: (example)
head# ssh clone5
Unable to get valid context for root
Last login: Tue Oct 14 19:45:14 2008
Connection to 192.168.1.5 closed.
I am going to check now sockets, devices, and named pipes (together with the tar options). And... yes, good point, I am not sure about /boot neither, I'll check that also.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example:
machine# mkfs -F ufs /dev/md/dsk/d40
size not specified
ufs usage: mkfs special size(sectors) \
-m : dump fs cmd line used to make this partition
-V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies
2. UNIX for Dummies Questions & Answers
I'm new to Unix, :confused:
What is a TAR Command? What does it do? I need simple explanation. (4 Replies)
Discussion started by: technie07
4 Replies
3. Shell Programming and Scripting
Hi
I am very poor at scripting.:o
I need to develop a script that should tar up all the filesystems on the machine on to a single filesystem called /tarfilesystem.
Any suggestions ...
Thank You very much (1 Reply)
Discussion started by: urrahman_zia
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
5. UNIX for Dummies Questions & Answers
As you will verify, I am a really naive user of AIX 5.1. As such I wonder if you could possibly let me know of a command or procedure I could use to automatically, globally and safely, remove all useless files from my machine. I'm not referring to my own files because I perfectly know which of them... (1 Reply)
Discussion started by: ahjchr
1 Replies
6. Shell Programming and Scripting
HI,
if I have a tarfile called pmapdata.tar that contains
tar -tvf pmapdata.tar
-rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt
-rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt
-rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies
7. What is on Your Mind?
I have been wondering how do Systems Administrators do the jump into Systems Engineering? Is it only a matter of time and experience or could I actually help myself get there?
Opinions? Books I could read?
Thanks a lot for your help! (0 Replies)
Discussion started by: svalenciatech
0 Replies
8. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
9. Shell Programming and Scripting
I have a tar file that contains multiple .Z files. Hence I need to issue a tar command followed by a gzip command to fully extract the files. How do I do it in a single command?
What I'm doing now is
tar xvf a.tar (this will output 1.Z and 2.Z)
gzip -d *.Z (to extract 1.Z and 2.Z) (9 Replies)
Discussion started by: ericlim
9 Replies
10. UNIX for Dummies Questions & Answers
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies
LEARN ABOUT OSF1
advfs_rmfset
advfs_rmfset(3) Library Functions Manual advfs_rmfset(3)
NAME
advfs_rmfset - Removes a fileset or a clone fileset
SYNOPSIS
#include <sys/advfs_syscalls.h>
int advfs_rmfset(
char domain,
char fileset );
LIBRARY
AdvFS Library (libadvfs)
PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain.
DESCRIPTION
This function removes an AdvFS fileset from the named file domain.
Once you have removed a fileset using this function, the fileset and its files are not recoverable. The only way to restore the fileset
and its files is by using a backed up version of the fileset.
RESTRICTIONS
This function only removes AdvFS filesets; it does not remove UFS file systems.
The program that calls this function must be running with root privileges.
A fileset or clone fileset cannot be removed with this function if it is mounted.
A fileset that has a clone fileset cannot be removed with this function until the clone fileset has been removed.
RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of
errno to the specific error.
ERRORS
The function sets errno to the specified errors for the following failure conditions: The calling program is not running with root privi-
leges. The AdvFS lock for domain could not be acquired because one of the following operations was already running on the domain: balance,
defragment, rmfset, or rmvol. This fileset is still mounted; it must be unmounted before it can be removed. This fileset has a clone
fileset, which must be removed before this fileset can be removed. An I/O error occurred on one of the disks in the file domain. One or
both of the names for the fileset and the domain are NULL or set to . The file domain specified by the domain parameter does not exist.
The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not
enough memory available for the operation.
SEE ALSO
Commands: rmfset(8)
Functions: advfs_clonefset(3)
advfs_rmfset(3)