Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* lsm:voliod: cannot open /dev/voliod: No such device or address
@ 1999-02-23  5:00 Huy Vu
  1999-02-26  5:00 ` system PRIVILEGED account
  0 siblings, 1 reply; 3+ messages in thread
From: Huy Vu @ 1999-02-23  5:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2245 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 4416 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lsm:voliod: cannot open /dev/voliod: No such device or address
  1999-02-23  5:00 lsm:voliod: cannot open /dev/voliod: No such device or address Huy Vu
@ 1999-02-26  5:00 ` system PRIVILEGED account
  1999-02-26  5:00   ` Michael Gros
  0 siblings, 1 reply; 3+ messages in thread
From: system PRIVILEGED account @ 1999-02-26  5:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2639 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4697 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lsm:voliod: cannot open /dev/voliod: No such device or address
  1999-02-26  5:00 ` system PRIVILEGED account
@ 1999-02-26  5:00   ` Michael Gros
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Gros @ 1999-02-26  5:00 UTC (permalink / raw)


Hi, 

It's been a few months since I did this, but here 
are my notes. 

Assuming: LSM is installed, and kernel rebuilt. Also 
layout on paper the disks pairs to be used if many.

Here are the steps from my notes using two disks as 
an example:

0) using two disks other than the root disk!
1) volinstall
   - sets up the inittab
2) disklabel -rw /dev/rrz1c rz28
   disklabel -rw /dev/rrz2c rz28
3) volsetup
   - creates the LSM structure on the disks
   - enter rz1 and rz2 then return on a blank line
     to continue
4) volassist make volume volume_test 4109967s mirror=yes rz1 rz2
   - replace 4109967s with the 'actual number of sectors's
5) volprint -htA
   - shows the LSM setup
6) newfs /dev/vol/volume_test rz28 
   - create filesytem 
   - I guess you can select UFS or ADVFS here
7) mount the filesystems to a mount point. 
   - add entries to /etc/fstab to mount them on boot

Mike


system PRIVILEGED account wrote:
> 
> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-02-26  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-23  5:00 lsm:voliod: cannot open /dev/voliod: No such device or address Huy Vu
1999-02-26  5:00 ` system PRIVILEGED account
1999-02-26  5:00   ` Michael Gros

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