1832978 Members
2696 Online
110048 Solutions
New Discussion

Re: Create links

 
YOGI_3
Frequent Advisor

Create links

i have one mount point /rawdata and in this i have one dir ixgfs_dia1/cache_copy1
i have second mount point /ixgfs_dia1 inthis i have IC/ixgfs_dia1
i want to create a link for /ixgfs_dia1/IC/cache_copy1 to /rawdata/ixgfs_dia1/cache_copy1 so that /ixgfs_dia1 mount point will not increase...
how to do it
There is never a wrong time to do the right things
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Create links

A link is simply an alias or another name for the same item. It cannot be used to provide additional storage capacity.


Bill Hassell, sysadmin
Pete Randall
Outstanding Contributor

Re: Create links

rm /rawdata/ixgfs_dia1/cache_copy1
ln -s /ixgfs_dia1/IC/cache_copy1 /rawdata/ixgfs_dia1/cache_copy1


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Create links

But, as Bill points out, this isn't really going to do what you want.


Pete

Pete
YOGI_3
Frequent Advisor

Re: Create links

Pete..
why
rm /rawdata/ixgfs_dia1/cache_copy1
There is never a wrong time to do the right things
V. Nyga
Honored Contributor

Re: Create links

Hi YOGI,

'why rm /rawdata/ixgfs_dia1/cache_copy1'

Because you can't create a link if the target already exists.

'ln -s '

Volkmar

And your profile says:
'I have assigned points to 63 of 147 responses to my questions'
So: 'There is never a wrong time to do the right things' ->
You should work for your points assingment

HTH
Volkmar
*** Say 'Thanks' with Kudos ***