ADSM-L

Symbolic Links - "Task force"

1997-03-10 07:25:50
Subject: Symbolic Links - "Task force"
From: nordi <nordi AT NUTECNET.COM DOT BR>
Date: Mon, 10 Mar 1997 09:25:50 -0300
Dear ADSMers, IBMers:


As you might already guess, I still have problems with symboliclinks,
despite whether IBM were able to reproduce it or not. I believe the problem
may be on the "AIX" (i.e., operating system level), so I was wondering if
WE (the ADSM support could help IBM to better isolate the problem).

There are many of us with different "ADSM levels", and of course that must
be one of our big problems. What I suggest is to apply a common test in
every "ADSM/AIX level "and to provide this information to IBM (via the
ADSL-L list).


Just to give you an example, I will apply the following test:

type "banner start"
create directories, files and links
run a selective backup
run a restore
show the ADSM options file, AIX level, ADSM level and list of PTFs
applied
type "banner end'"

get all the sysout from start to end and send it to the list.

Everybody with enough time could then try to run this simple test under
their AIX/ADSM configuration and send the result to the list.

I ran this tests under AIX 4.2, ADSM server 2.1.5.12 and ADSM AIX client
2.1.0.6.

----------------------------------------------------------------------------
----------------------------------------
----------------------------------------
TEST RESULTS : The problem IS still here.
TEST RESULTS : The problem IS still here.
----------------------------------------------------------------------------
----------------------------------------
----------------------------------------
(does anybody get the same under the SAME ADSM configuration??)
(does anybody get the same under the SAME ADSM configuration??)

Comments on this will be well-accepted.

Your ADSM-friend
Armando.



********** BEGIN of SYSOUT
**********************************************************

#
# banner start

  ####    #####    ##    #####    #####
 #          #     #  #   #    #     #
  ####      #    #    #  #    #     #
      #     #    ######  #####      #
 #    #     #    #    #  #   #      #
  ####      #    #    #  #    #     #

# instfix -i
    All filesets for 4.2.0.0_AIX_ML were found.
    All filesets for IX61160 were found.
    All filesets for IX61242 were found.
    All filesets for IX61975 were found.
    All filesets for IX62582 were found.
    All filesets for IX62699 were found.
    All filesets for IX62703 were found.
    All filesets for IX62734 were found.
    All filesets for IX62808 were found.
    All filesets for IX62809 were found.
    All filesets for IX62758 were found.
    All filesets for IX62760 were found.
    All filesets for IX62761 were found.
    All filesets for IX62762 were found.
    All filesets for IX62750 were found.
    All filesets for IX62781 were found.
    All filesets for IX62624 were found.
    All filesets for IX62782 were found.
# uname -a
AIX adsmsrv 2 4 003720314C00
# cd /usr
# mkdir test
# cd test
# ls -la
total 16
drwxr-xr-x   2 root     system       512 Mar 10 09:02 .
drwxr-xr-x  25 bin      bin          512 Mar 10 09:02 ..
# mkdir d1
# echo > f1
# ln -s d1 linktod1
# ln -s f1 linktof1
# ln -s linktod12 /usr/test/d1
# ln -s linktonull /usr/test/nothing
# ls -la
total 32
drwxr-xr-x   3 root     system       512 Mar 10 09:04 .
drwxr-xr-x  25 bin      bin          512 Mar 10 09:02 ..
drwxr-xr-x   2 root     system       512 Mar 10 09:04 d1
-rw-r--r--   1 root     system         1 Mar 10 09:03 f1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktof1 -> f1
lrwxrwxrwx   1 root     system        10 Mar 10 09:04 nothing -> linktonull
# ls -la >>f1
# pg f1

total 32
drwxr-xr-x   3 root     system       512 Mar 10 09:04 .
drwxr-xr-x  25 bin      bin          512 Mar 10 09:02 ..
drwxr-xr-x   2 root     system       512 Mar 10 09:04 d1
-rw-r--r--   1 root     system         1 Mar 10 09:03 f1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktof1 -> f1
lrwxrwxrwx   1 root     system        10 Mar 10 09:04 nothing -> linktonull
# pg linktof1

total 32
drwxr-xr-x   3 root     system       512 Mar 10 09:04 .
drwxr-xr-x  25 bin      bin          512 Mar 10 09:02 ..
drwxr-xr-x   2 root     system       512 Mar 10 09:04 d1
-rw-r--r--   1 root     system         1 Mar 10 09:03 f1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktod1 -> d1
lrwxrwxrwx   1 root     system         2 Mar 10 09:03 linktof1 -> f1
lrwxrwxrwx   1 root     system        10 Mar 10 09:04 nothing -> linktonull
#
#
#
#
# dsmc
ADSTAR Distributed Storage Manager
Command Line Backup Client Interface - Version 2, Release 1, Level 0.6
(C) Copyright IBM Corporation, 1990, 1996, All Rights Reserved.

dsmc> selective /usr/test/* -subdir=yes
Selective Backup function invoked.

Session established with server ADSM: AIX-RS/6000
  Server Version 2, Release 1, Level 5.12
  Server date/time: 03/10/97   09:07:39   Last access: 03/10/97   09:07:11

Directory-->               512 /usr/test  Sent
Normal File-->             271 /usr/test/dsmerror.log  Sent
Normal File-->             451 /usr/test/f1  Sent
Symbolic Link-->             2 /usr/test/linktod1  Sent
Symbolic Link-->             2 /usr/test/linktof1  Sent
Symbolic Link-->            10 /usr/test/nothing  Sent
Directory-->               512 /usr/test/d1  Sent
Symbolic Link-->             9 /usr/test/d1/linktod12  Sent
Selective Backup processing of '/usr/test/*' finished with 0 failures.


Total number of objects inspected:        7
Total number of objects backed up:        8
Total number of objects updated:          0
Total number of objects rebound:          0
Total number of objects deleted:          0
Total number of objects failed:           0
Total number of bytes transferred:      799
Average file size:                       96
Elapsed processing time:           00:00:01
dsmc>
dsmc>
dsmc>
dsmc>
dsmc>
dsmc> q option

   MachineName:      'NOD.AIXSRV'
   Default SrvrName: ''
   Migrate SrvrName: 'LOCALSRV'
   Backup SrvrName:  'LOCALSRV'
   TcpPort:           1500
   TcpServerAddr:    '11.191.9.6'
   TcpBuffSize:       31744
   TcpWindowSize:     32768

   TcpDebug:          No
   TcpNoDelay:        No
   PvmHostNode:      ''
   PvmGatewayName:   ''
   PipeName:         '\PIPE\DSMSERV'
   NetBiosName:      'ADSM'
   ServNetbiosName:  'ADSMSERV1'
   NetbiosBufSize:    16384
   NetbiosSendTimeout:   60 seconds
   LanAdapter:        0
   Shmqueuename:      \QUEUES\ADSM\DSMSERV

   sym_dest_name:    ''
   partner_LU_name:  ''
   TP_name:          ''
   CPICBufSize:       31744
   Mode Name:
   MaxTxnByteLimit:   2072576
   CommMethod:        TCP/IP
   Replace:           Prompt
   followsym:         Yes
   subdir:            Yes
   400 Partner LU:   ''
   400 TPname:       ''
   400 Commbuffersize: 31744
   400 Sendbuffersize: 31744

   Schedule Log Retention Days:  10000
   Schedule Log Disposition:     D
   Error Log Retention Days:     10000
   Error Log Disposition:        D

   msgMode:           Verbose
   3270BufSize:       0
   3270LogTerm:       A
   3270CheckSum:      Yes
   3270HostCmd:      '@C@Z@B@FDSxxxMOD'
   3270HostCmdPause:  1 seconds
   3270HostTimeout:   10 seconds
   Compression:       No
   DS directory :    '/usr/lpp/adsm/bin'
   Language:         'en_US'
   Error log:        'dsmerror.log'
   Date Format:      '0'
   Time Format:      '0'
   Number Format:    '0'
   Directory MC:     'DEFAULT'

   ShortOptForm:      Standard
   checkThresholds:   5
   reconcileInterval: 24
   maxThresholdProc:  3
   maxReconcileProc:  3
   minRecallDaemons:  3
   maxRecallDaemons:  20
   migFileExpiration: 7
   restoreMigState:   Yes

   PasswordAccess:    Generate
   InclExcl:          /usr/lpp/adsm/bin/include.aix
   MailProg:
   ErrorProg:
   Users:             None
   Groups:            None
   VirtualMachine:    No
   VirtualRootUser:   Yes
   dsmcDefaultCommand:'LOOP'
   Tapeprompt:        No

   Slow Incremental:  No
   ScrollPrompt:      No
   ScrollLines:       20
   MaxCmdRetries:     2
   RetryPeriod:       20
   QuerySchedPeriod:  12
   PreSchedCmd :     ''
   PostSchedCmd:     ''
   SchedLogName:     'dsmsched.log'
   SchedMode:         Polling
   TcpClientPortNum:  1501
   TcpClientAddr:
   TraceMax:          0
   CommRestartDuration: 0
   CommRestartInterval: 15

   BackupDomainList:

      /

      /usr

      /var

      /home

      /ndsoft


Current trace classes enabled: None.

Tracing not active.


dsmc>
dsmc>
dsmc>
dsmc>
dsmc>
dsmc> restore /usr/test/* -subdir=yes
Restore function invoked.

ANS4098I Specified directory branch structure has been restored
File /usr/test/f1 exists, do you want to replace it? (Yes/No) y
Restoring            451 /usr/test/f1  Done
File /usr/test/linktof1 exists, do you want to replace it? (Yes/No) y
Restoring              2 /usr/test/linktof1  Done
File /usr/test/d1/linktod12 exists, do you want to replace it? (Yes/No) y
Restoring              9 /usr/test/d1/linktod12  Done
File /usr/test/dsmerror.log exists, do you want to replace it? (Yes/No) y
Restoring            271 /usr/test/dsmerror.log  Done
File /usr/test/linktod1 exists, do you want to replace it? (Yes/No) y
Restoring              2 /usr/test/linktod1  Done
File /usr/test/nothing exists, do you want to replace it? (Yes/No) y
Restoring             10 /usr/test/nothing  Done

Restore processing finished.

Total number of objects restored:         6
Total number of bytes transferred:      760
Total failures:                           0
Elapsed processing time:           00:00:14
dsmc>
dsmc> quit
# pwd
/usr/test
# ls -la
total 40
drwxr-xr-x   3 root     system       512 Mar 10 09:06 .
drwxr-xr-x  25 bin      bin          512 Mar 10 09:02 ..
drwxr-xr-x   2 root     system       512 Mar 10 09:04 d1
-rw-r--r--   1 root     system       271 Mar 10 09:06 dsmerror.log
-rw-r--r--   1 root     system       451 Mar 10 09:05 f1
-rw-r--r--   1 root     system       451 Mar 10 09:05 f1
lrwxrwxrwx   1 root     system         0 Mar 10 09:08 linktod1 ->
lrwxrwxrwx   1 root     system         0 Mar 10 09:08 linktod1 ->
lrwxrwxrwx   1 root     system         0 Mar 10 09:08 linktof1 ->
lrwxrwxrwx   1 root     system         0 Mar 10 09:08 nothing ->
#
# banner end

 ######  #    #  #####
 #       ##   #  #    #
 #####   # #  #  #    #
 #       #  # #  #    #
 #       #   ##  #    #
 ######  #    #  #####

********** END    of SYSOUT
**********************************************************


---------------------------------------------------------------------
Armando Lemos
Armando Lemos
Unibanco Technical Support
55 11 819.8583 (voice)
55 11 819.7958 (fax)
<Prev in Thread] Current Thread [Next in Thread>
  • Symbolic Links - "Task force", nordi <=