From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,bd809feec1568ee2 X-Google-Attributes: gidfee84,public From: Michael Gros Subject: Re: lsm:voliod: cannot open /dev/voliod: No such device or address Date: 1999/02/26 Message-ID: <36D6F6EB.4A5F@resonet.com>#1/1 X-Deja-AN: 448821973 Content-Transfer-Encoding: 8bit References: <36D2560E.AD6F84AD@usa.net> <36D6DF2C.A88E5356@telecel.nospam.pt> Content-Type: text/plain; charset=iso-8859-1 X-Trace: 198.235.216.4 920058043 192.219.253.202 (Fri, 26 Feb 1999 14:40:43 EDT) Organization: Bell Canada MIME-Version: 1.0 NNTP-Posting-Date: Fri, 26 Feb 1999 14:40:43 EDT Newsgroups: comp.unix.osf.osf1 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 2>&1 ##LSM > lsm:23:wait:/sbin/lsmbstartup -n /dev/console > 2>&1 ##LSM > vol:23:wait:/sbin/vol-reconfig /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