03-26-2008
soft link for directory in root FS
Hi,
In root folder there is one directory "/usr/sap/P38/TRX00/index" as the data is going to increase so to aviod root fs become 100% full ,we have to create one soft link that would point to another point mount created with on same disk ultimatly that New Fs(/test) will store data instead of root .But i dn't understand how to create it i.e what would be the source and link ,and link would be file or directory becasue if we create as dir it will create link inside the index directory.
Please help as it is very necessary.Thanks in advance.
Regards,
solaris123
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all!
I'd like to know the differences between hard links and soft links. I've already read the ln manpage, but i'm not quite sure of what i understood.
Does a hard link sort of copy the file to a new name, give it the same inode number and same rights?
What exactly should I do to do this:... (3 Replies)
Discussion started by: penguin-friend
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Can any one please explain me what is the difference between hard link and soft link in UNIX.
Thanks in advance
Raja Chokalingam. (2 Replies)
Discussion started by: RAJACHOKALINGAM
2 Replies
3. UNIX for Dummies Questions & Answers
I am curious about one thing.
Lets say I have a file file-a to which new generations are created on demand by simply archiving it (ex: file-a.tar.gz) and having the new one created with the same original filename file-a.
Now what I want to know is if I create a hard/soft link to file-a, what... (1 Reply)
Discussion started by: Browser_ice
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
PLease let me know the usage of Hard Link vs Soft Link
i.e what is the basic difference and what happens when one file is changed or deleted in both the cases???
thanks (3 Replies)
Discussion started by: skyineyes
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Experts,
Please help me out to find out difference between a hard link and a soft link.
I am new in unix plz help me with some example commands ( for creating such links).
Regards
S.Kamakshi :) (2 Replies)
Discussion started by: kamakshi s
2 Replies
6. Shell Programming and Scripting
Hi ,
When installing oracle software a set of directories are created under
the home directories.
Since the home directory is usually not big , i would like to create a soft link
from the home directory to mount point with alot of free space , that way the logs will not be wriiten under the... (1 Reply)
Discussion started by: yoavbe
1 Replies
7. Shell Programming and Scripting
hi
i have create a soft link using below command.
ln -s <filename> <dirmane>where file name i use is t1 and dir name was t2.
i deleted the dir t2 using command rm -rf to remove the soft link .
however again i create a file a using the name t2 and when i just try to link t1 to t2 ... (1 Reply)
Discussion started by: scriptor
1 Replies
8. Solaris
I did restore from netbackup for root file system on separate slice instead of corrupted one. After restoration I found there are number of soft link issues lie
e.g
libabcxyx > /mnt/usr/lib
it should be
libabcxyz > /usr/lib
does any have solution to change symbolic link changed in... (1 Reply)
Discussion started by: nimish_mehta
1 Replies
9. Shell Programming and Scripting
can u help me out how change the hooked file below.
VEUEMASTER.txt -> /sbvnj/kfls//VSUE_OBR_MAER.txt.201503230800 (4 Replies)
Discussion started by: ramkumar15
4 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I tried creating a soft link with the file itself. It got created successfully.
bash-3.2$ ls -l a
lrwxrwxrwx 1 ebrigup other 1 Oct 5 19:14 a -> a
bash-3.2$
Can anyone explain what is the possible use of it. I dont see any except practically wasting an inode... (2 Replies)
Discussion started by: brij123
2 Replies
LEARN ABOUT ULTRIX
fitset
fitset(8) System Manager's Manual fitset(8)
Name
fitset - determine if subset fits on a system
Syntax
fitset [ -d ] [ root-path ]
Description
The utility is used to determine if the files in a software subset will fit on a system.
Subset inventory records are read from the standard input. For each record, the space required to install the file described in that record
is deducted from the available free space on the file system to which it would be installed. Only currently mounted UFS file systems are
used in the computations. Space requirements for files already on the disk will be modified to account for the size of the resident copy.
After all records have been read, the free space computed for all file systems is checked. If the space required to install the files would
cause any file system to be more than 90% full, returns an exit status of -1.
The utility uses to size all subsets before attempting to install them. The root-path argument is the pathname of the top directory for
the hierarchy into which the files are going to be installed. If no root-path is specified, the directory '/' is assumed.
Options
-d Enable debugging. This will make print voluminous status information on standard output. This information is the initial file system
statistics, the file system location of the file from each input record and the statistics for the file system after the space
required to install the file has been deducted.
Restrictions
NFS mounts are ignored. If software would be installed to an NFS mounted directory, it is sized against the file system containing the NFS
mount point.
The program does not detect the use of symbolic links in paths to root-path or any of the mount points. This can cause to size a subset
incorrectly if root-path is a symbolic link or a symbolic link exists in the path of any of the pathnames used with the command to mount
local file systems.
Examples
To determine if a particular subset will fit on the system, redirect the contents of the subset inventory file into For example:
fitset < /usr/etc/subsets/ULTUUCP400.inv
To determine if the same subset will fit in a hierarchy rooted at the command would be:
fitset /var/tmp/root < /usr/etc/subsets/ULTUUCP400.inv
Diagnostics
fitset: root path must be absolute
A relative pathname was specified for root-path. This path must be absolute.
fitset: cannot stat root-path (error message)
The root-path cannot be accessed. The error message provides more information.
fitset: root-path is not a directory.
Either root-path is not a directory or it is a symbolic link to something which is not a directory.
Files
Subset inventory files
See Also
stl_inv(5), setld(8)
Guide to Preparing Software for Distribution on ULTRIX Systems
fitset(8)