From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731111774.tru64-unix-managers.marc@archive.invalid> From: Peter.Braack () degussa ! de Date: Mon, 07 Dec 1998 12:03:59 +0000 To: tru64-unix-managers Subject: SUMMARY: LSM voldisksetup: online aliased X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731111774 Dear admins, thanks to Viktor.Holmberg@abnamro.co.uk, he solved the problem within m= inutes. I made a mistake in using voldisksetup to import a diskgroup. See Victo= r's mail for the correct steps. Everything is fine now, thank you again. Greetings Peter Viktor.Holmberg@abnamro.co.uk am 07.12.98 12:36:17 An: Peter Braack/Degussa AG/DE@DEGUSSA Kopie: Thema: RE: Antwort: RE: LSM voldisksetup: online aliased Peter, OK. Let have a look. Firstly you might have wiped the disks with the voldisksetup command. Normally all you have to do to import an existsing diskgroup is the following scu -f /dev/rz0 reserve device for all devices IF USING A CLUSTER voldisk define /dev/re0 : : : voldisk define /dev/re5 voldisk online /dev/re0 : : : voldisk online /dev/re5 voldg -Cf diskgroup_name -C clear the host information in the diskgroup -f force Finally volume -g diskgroup_name startall or volume_name I would remove the disks that you have define by "voldisk rm disk_name ". There is a bug in 3.2g that wipes the disklabel. Take a copy first anyway! Hope this helps ################# Original Message: > > > Dear admins, > > > > here is one for the LSM gurus out there: > > > > We had a system running DU4.0b that has been updated from DU3.2. To= > > enlarge the existend / and /usr-Patritions, I booted from CD (4.0B)= , > > did the partitioning and restored the data. Then volencap was > > neccessary to put / and /usr under LSM again. > > Now the problem: > > We had a diskgroup (t20dg) based on some raidsets. With the enlarge= d > > filesystems I am not able to import that diskgroup. > > > > I run volsave every night so I know what the config was: > > > > # DEVICE DISK TYPE GROUP PRIVLEN NCONFIG CONFIGLEN NLOG > LOGLEN > > PUBLEN PUBPATH SYSTEMDISK > > re0 t20dg01 sliced t20dg 512 1 347 1 52 25134576 /dev/re0= g > > NO > > re1 t20dg02 sliced t20dg 512 2 173 2 26 25134576 /dev/re1= h > > NO > > re2 t20dg03 sliced t20dg 512 1 347 1 52 25134576 /dev/re2= h > > NO > > re3 re3 sliced t20dg 512 1 347 1 52 25134576 /dev/re3h N= O > > re4 re4 sliced t20dg 512 1 347 1 52 25134576 /dev/re4h N= O > > re5 re5 sliced t20dg 512 1 347 1 52 12330480 /dev/re5h N= O > > rz1 rz1 sliced rootdg 512 2 173 2 26 4109952 /dev/rz1g > YES > > > > Please notice the PUBPATH - re0 has partition g, re1-re5 have > > patrition h. > > Voldisksetup is successful for re0, but re1 - re5 only results in a= > > state "online aliased" due to the wrong PUBPATH (I guess). > > > > # voldisk list re1 > > Device: re1 > > devicetag: re1 > > type: sliced > > hostid: dsu20t > > disk: name=3D id=3D849860405.1175.dsu20t > > group: name=3Dt20dg id=3D849860383.1170.dsu20t > > flags: online ready private aliased > > pubpaths: block=3D/dev/re1g char=3D/dev/rre1g > > privpaths: block=3D/dev/re1h char=3D/dev/rre1h > > version: 1.1 > > iosize: 512 > > public: slice=3D7 offset=3D0 len=3D25134576 > > private: slice=3D6 offset=3D16 len=3D512 > > update: time=3D912768299 seqno=3D0.240 > > headers: 0 248 > > configs: count=3D2 len=3D173 > > logs: count=3D2 len=3D26 > > > > Any ideas how to convince voldisksetup to set the disks "online" ? > > > > Thanks in advance, will summarize > > Peter > > > > Peter.Braack@degussa.de =