Huy Vu wrote:
Hi all,

I tried everything but no luck to setup LSM for the first time after installation of DEC Unix 4.0D.

Here is the configuration of diskboot (rz8):

 /etc/fstab

root_domain#root /       advfs rw 0 0
/proc     /proc procfs rw 0 0
usr_domain#usr   /usr    advfs rw 0 0
/dev/rz8b  swap1  ufs sw 0 2

# disklabel rz8

 /dev/rrz8a:
type: SCSI
disk: RZ1CB-CA
label:
flags:
bytes/sector: 512
sectors/track: 113
tracks/cylinder: 20
sectors/cylinder: 2260
cylinders: 3708
sectors/unit: 8380080
rpm: 7200
interleave: 1
trackskew: 9
cylinderskew: 9
headswitch: 0    # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  1043481        0     AdvFS                        # (Cyl.    0 - 461*)
  b:   525723  1043481      swap                        # (Cyl.  461*- 694*)
  c:  8380080        0    unused        0     0         # (Cyl.    0 - 3707)
  d:        0        0    unused        0     0         # (Cyl.    0 - -1)
  e:        0        0    unused        0     0         # (Cyl.    0 - -1)
  f:        0        0    unused        0     0         # (Cyl.    0 - -1)
  g:  3074683  1569204     AdvFS                        # (Cyl.  694*- 2054*)
  h:  3710097  4669983    unused        0     0         # (Cyl. 2066*- 3707)
 

I tried vol-startup in /etc/inittab , also with volencap command but not successful :-(

/etc/inittab:

lsmr:s:sysinit:/sbin/lsmbstartup -b </dev/console >/dev/console 2>&1 ##LSM
lsm:23:wait:/sbin/lsmbstartup -n </dev/console >/dev/console 2>&1 ##LSM
vol:23:wait:/sbin/vol-reconfig </dev/console >/dev/console 2>&1 ##LSM

Tried to  startup manually the vold deamon:

# volstartup
lsm:voliod: cannot open /dev/voliod: No such device or address

Start vold:

Fatal errors prevent /sbin/volstartup from continuing.
Stop.

even though  all of devices are there:

# ls -al /dev/vol*
crw-r--r--   1 root     system    41,  0 Feb 23 01:40 /dev/volconfig
crw-r--r--   1 root     system    41,  1 Feb 23 01:40 /dev/volevent
crw-r--r--   1 root     system    41,  3 Feb 23 01:40 /dev/volinfo
crw-r--r--   1 root     system    41,  2 Feb 23 01:40 /dev/voliod

Did I miss something to startup LSM ?

Thank you in advance for any help...

H.V
 
 

You haven't built LSM into the kernel. You must rebuild the kernel with doconfig and select the option 'Logical Storage Manager (LSM)'. If you don't see this option, you haven't loaded the LSM subsets.

Luís Fonseca