Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Michael Gros <mgros@resonet.com>
Subject: Re: lsm:voliod: cannot open /dev/voliod: No such device or address
Date: 1999/02/26	[thread overview]
Message-ID: <36D6F6EB.4A5F@resonet.com> (raw)
In-Reply-To: 36D6DF2C.A88E5356@telecel.nospam.pt

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



      reply	other threads:[~1999-02-26  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

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