tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: "cluster" file system
@ 2001-03-21 21:23 jim caldwell
  0 siblings, 0 replies; only message in thread
From: jim caldwell @ 2001-03-21 21:23 UTC (permalink / raw)
  To: tru64-unix-managers


The answer in short is to use "cdlinvchk" and "mkcdsl"

Special thanks to  Scott M. Fafrak
whos reply along with original question are below

=====================Scott's recipe====================================
To get started:

  # cdslinvchk

This will provide you with a list of the links that are missing.  Check
/var/adm/cdsl_check_list.

At this point, if you are using V5.0A or V5.1, use can the mkcdsl(8) command
or the "ln -s" command to recreate the CDSLs.  If you have V5.0, then you
have to use "ln -s".  Check the reference pages for specific syntax, but
effectively:

  # cd <directory where the link should be>
  # mkcdsl <file>

  Example:

    I removed /var/adm/sendmail/protocols.map, so when I ran cdslinvchk I
saw:

    # cdslinvchk
    Failed CDSL inventory check. See details in /var/adm/cdsl_check_list

    # cat /var/adm/cdsl_check_list
    Expected CDSL: ./usr/var/adm/sendmail/protocols.map ->
../../cluster/members/{me
    mb}/adm/sendmail/protocols.map
    An administrator or application has removed this CDSL.

    # cd /var/adm/sendmail
    # mkcdsl protocols.map
    # cdslinvchk
    Successful CDSL inventory check

OR, you can use "ln -s" -- but you will need to do a little more typing.

    # cd /var/adm/sendmail
    # ln -s ../../cluster/members/{memb}/adm/sendmail/protocols.map
    # cdslinvchk
    Successful CDSL inventory check

To my knowledge, there is no automatic way of fixing broken CDSLs.

=======================Original Question========================

>I deleted (very wrongly) some files of the 
>type ../../cluster/members/{memb}/adm/sendmail/...
>
>is there anyway to recreate these short of
>reinstalling the O/S?
>
>thanks,
>jim

----------------------------------------------------------------------------
James W. Caldwell                         (voice) 415-476-8603
Department of Pharmaceutical Chemistry    (fax)   415-502-1411  
Mail Stop 0446                            (email) caldwell@heimdal.ucsf.edu
513 Parnassus Avenue                      (video) farbauti.compchem.ucsf.edu 
University of California                          (netmeeting) 
San Francisco, CA 94143-0446               
----------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-21 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-21 21:23 SUMMARY: "cluster" file system jim caldwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox