Return to rc.volman CVS log | Up to [cvs.NetBSD.org] / othersrc / nastore / etc |
File: [cvs.NetBSD.org] / othersrc / nastore / etc / rc.volman (download)
Revision 1.1.1.1 (vendor branch), Mon Feb 28 02:17:52 2000 UTC (24 years, 1 month ago) by wrstuden
Import of snapshot of nastore3 code. Includes kernel code for dmfs, dmfs user utilities, ms66 import and export, vvm, and volman. Also includes makefile magic to automatically generate .tgz source files from the source. Solaris support a bit of a question as zoularis is not working at the moment. |
# # Volume Manager Configuration File # # -- MODIFYING THIS FILE WHILE VOLD IS RUNNING HAS NO EFFECT # ON VOLD! # # Format: # # BEGIN_HOSTS # host1 host2 host3... # END_HOSTS # BEGIN_RC # [1st rc definition] # END_RC # ... other RCs ... # BEGIN_MOVES # rc1 rc2 [rc1->rc2, rc id or number may be used] # ...other moves ... # END_MOVES # # # RC definition section: # NUMBER integer [must be unique] # NAME string [must be unique] # ID string [must be unique] # TYPE string used to check w/in RC; e.g. ACS, VAULTRC # LOGIN string account for RC console cmds # SYSLOG string account for console broadcasts, per # /etc/syslog.conf (LOCAL1 maps to local1.* # in syslog.conf) # FLAGS # TIMER_MSGS RC needs timer msgs from vold # (ACSRC & VAULTRC historically this way) # ASYNC_UNMNT RC can cancel mount in progress # (manual RCs because no need to pester ops) # SET_LED RC should set LED on drive # (not ACSRC because no point) # MOUNT_OK RC can mount # (logical alternative: storage-only RC) # ALLOC_OK OK to alloc scratch in RC # HAS_QUOTA RC is quota controlled # RECYCLE_OK OK to recycle in RC # NODEMOUNT Label check to volnd will test/wait for mount # CACHEMOUNT RC will leave mounts on drive, so when # vold deletes /dev/vol/xxxxxx node, a '*' # will be added to indicate volume can be # kicked off if necessary # NONODE RC has no knowledge of nodes, reports # physical mount only, or if NODEMOUNT also # selected, just reports allocation as mount # - not tested, useful if ieee standard will # require volman to do all drive data access # MEDIA # Round_tape round tape # 34X0 3480/90 # D3 D3 (34X0 form) # # # DRIVES [each drive is on its own line # and ACS info only used for ACS] # # name num medium channel [ACS_lsm ACS_panel ACS_drive] # BEGIN_HOSTS jules pancho bails sun422 END_HOSTS BEGIN_RC NUMBER 1 NAME "ACS *90/D3 RC 1" ID ACSRC_1 TYPE ACS LOGIN acs # SYSLOG: define a 'local' console if continuous reporting # to a console acct is desired; may clutter syslog(3) # log file. Maps to /etc/syslog.conf entry, which # normally would correspond to LOGIN above: # local1.notice acs # SYSLOG LOG_LOCAL1 # PATH acsrc CAPACITY 3977 ACSID 0 VARY Vary34X0 FLAGS TIMER_MSGS MOUNT_OK ALLOC_OK HAS_QUOTA RECYCLE_OK CLEARFIRST MEDIA 34X0 D3 DRIVES # # name host controller/dev/medium/channel ACS_lsm ACS_panel ACS_drive # D3_1_1 ON bails 44 0 D3 44_1 0 1 1 34_1_0 ON bails 44 2 34X0 44_2 0 1 0 34_1_2 ON bails 44 1 34X0 44_3 0 1 2 END_RC BEGIN_RC NUMBER 4 NAME "IBM3494 RC 4" ID IBMRC_4 TYPE IBM LOGIN ibmrc # SYSLOG: define a 'local' console if continuous reporting # to a console acct is desired; may clutter syslog(3) # log file. Maps to /etc/syslog.conf entry, which # normally would correspond to LOGIN above: # local1.notice ibmrc # SYSLOG LOG_LOCAL1 CAPACITY 150 VARY Vary34X0 FLAGS TIMER_MSGS MOUNT_OK ALLOC_OK HAS_QUOTA RECYCLE_OK MEDIA MAGSTAR DRIVES # # name host controller/dev/medium/channel ACS_lsm ACS_panel ACS_drive # mag0 OFF sun422 0 0 MAGSTAR 39_0 0 0 0 mag1 OFF sun422 0 1 MAGSTAR 39_0 0 0 1 END_RC BEGIN_MOVES END_MOVES