[afnog] how to change the maxsymlinks parameter on solaris

Peter Nyamukusa petern at africaonline.co.tz
Tue Mar 25 09:32:58 UTC 2008


Hi Stephane

>-----Original Message-----
>From: Stephane Bortzmeyer [mailto:bortzmeyer at nic.fr]
>Sent: Tuesday, March 25, 2008 11:09 AM
>To: Peter Nyamukusa
>Cc: AfNOG AfNOG
>Subject: Re: how to change the maxsymlinks parameter on solaris
>
>On Tue, Mar 25, 2008 at 10:27:47AM +0300,
> Peter Nyamukusa <petern at africaonline.co.tz> wrote
> a message of 33 lines which said:
>
>> The problem I am now faced with is that it looks like I am exceeding
>> the default MAXSYMLINKS see below:
>
>No, the problem looks like you created a loop by accident. I do not
>not the default value of MAXSYMLINKS but it is probably difficult to
>exceed it!


Your are right I can see that there is a loop ok what I am trying to do is
link my mailbox folder from its original place to some free space on another
partition so that all subsequent email is stored on that partition

/dev/dsk/c0t0d0s0 - contains users mail boxes mounted on /usr/home
/dev/dsk/c0t0d0s1 - has free space mounted on /backup

So from /usr/home/popusers/p/ I have moved petern to /backup
Then on backup created a simlink as follows 
#ln -s petern /usr/home/popusers/p/

and changed the permission on the symlink as below

ls -la /usr/home/popusers/p/petern
lrwxrwxrwx   1 popusers popusers       6 Mar 25 11:45
/usr/home/popusers/p/petern -> petern

But Like you said it's a loop I still trying to figure out how I can achieve
a symlink to solve this problem

Cheers
Peter
>
>> Unable_to_switch_to_/usr/home/popusers/p/petern:_symbolic_link_loop.





More information about the afnog mailing list