From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rich Glazier Newsgroups: gmane.os.tru64.managers Subject: migrating boot disk (root_domain) from one EVA to another Date: Wed, 04 Feb 2009 18:58:16 -0800 (PST) Message-ID: <139684.35795.qm@web32207.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233802725 6473 80.91.229.12 (5 Feb 2009 02:58:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 02:58:45 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Feb 05 04:00:00 2009 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1LUuT9-0004hn-A9 for gotm-tru64-unix-managers@gmane.org; Thu, 05 Feb 2009 03:59:59 +0100 Original-Received: (qmail 27684 invoked by uid 49509); 5 Feb 2009 02:58:29 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27675 invoked from network); 5 Feb 2009 02:58:28 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 5 Feb 2009 02:58:28 -0000 Original-Received: from emroute4.ornl.gov ([127.0.0.1]) by emroute4.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0KEK003M2O9GCH@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2009 21:58:28 -0500 (EST) Original-Received: from CONVERSION-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.4 #31561) id <0KEK00801O9GN8@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2009 21:58:28 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.4 #31561) id <0KEK00802O96N4@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2009 21:58:28 -0500 (EST) Original-Received: from web32207.mail.mud.yahoo.com (web32207.mail.mud.yahoo.com [68.142.207.138]) by emroute4.ornl.gov (PMDF V6.4 #31561) with SMTP id <0KEK00828O965U@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2009 21:58:18 -0500 (EST) Original-Received: (qmail 36674 invoked by uid 60001); Thu, 05 Feb 2009 02:58:18 +0000 Original-Received: from [65.114.238.246] by web32207.mail.mud.yahoo.com via HTTP; Wed, 04 Feb 2009 18:58:16 -0800 (PST) X-Envelope-from: rglazier2002@yahoo.com X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spam3.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,BOTNET_SERVERWORDS, FREEMAIL_FROM autolearn=no version=3.2.5 X-YMail-OSG: EvUA9b8VM1nSOkhlI2A26bvZeF6PI7K2TPp9ovYMuAumInaEYVqC.IbnrSewGleuM8LhqpwLMBxDayYaCIO822RsabT5z0_U5K6OfGvTrLqBGWbTfV2yE0VlSInD2_wq1dpY2UQ.NankGYH_9eRSbFITT9B7Q8swaYjYsquqoUTWLWSrdr7x4gpqwg_ziA-- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=TWo7CL5gwqgLBzoZQ3OkP5fVLRzk21LJa2QhZNmY3cbh86PC50IHwGiNOY8StN1Sl1IH9ODRB0EOiwJ/nybB92qnXnekj90UY3XnWvEout/jKjyIvPET1Dz2qj8jt/PxrR2ueGk+KcbEnhhgS/dnicI2/tTGQf6LKWW00af0IN4=; Xref: news.gmane.org gmane.os.tru64.managers:9363 Archived-At: 5.1A PK6, DS20E, EVA5000=0A=0AManagers,=0A=0AI know that the root domain is= the only domain in AdvFS that you can not add a volume to.=A0 We are migra= ting our storage from an old EVA5000 to a new EVA8100, and I've been using = addvol/rmvol to accomplish this for the non root domains.=A0=0A=0A=A0=A0=A0= (presented a new lun from the 8100, labeled it, added the volume into the = domain (addvol), and removed the =0A=A0=A0=A0 old 5000 volume from the doma= in (rmvol)).=0A=0AI can not do this for the bootable root disk; I boot off = the SAN.=A0 I need to migrate the root_domain another way.=A0 Here was my p= lan.=A0 Please see if this seems sounds.=A0 If there's a better way to do i= t, or if anyone has done it, please let me know.=0A=0A- present new root lu= n from 8100=0A- hwmgr sc sc=0A- hwmgr sh sc / hwmgr v d =A0(note Lun # /OSI= D of new disk)=0A- disklabel -rw new disk (making it bootable)=0A- mkfdmn /= dev/disk/dskxx root2_domain=0A- mkfset root2_domain root=0A- mkdir /root2= =0A- mount root2_domain#root /root2=0A- shutdown system application=0A- vdu= mp -0f - / | vrestore -xf - -D /root2=0A- change system to not reboot=0A=A0= =A0=A0 - consvar -s auto_action HALT=0A=A0=A0=A0 - consvar -l (see that it = changed)=0A=A0=A0=A0 - consvar -a (write it to NVRAM)=0A- bring to single u= ser mode (init s)=0A- change fstab file so that root2_domain#root mounts to= /=A0=0A- change fstab file- comment out root_domain#root mount=0A- shutdow= n system (halt) to SRM prompt, show old boot device=0A=A0=A0=A0=A0 -P00>>> = show bootdef_dev=A0 (pga...)=0A- go into wwidmgr and quickset to new lun pa= ths=0A=A0=A0=A0 - P00>>> wwidmgr -show wwid=A0 (take not of old boot disks)= =0A=A0=A0=A0 - P00>>> init=0A=A0=A0=A0 - P00>>> set mode diag=0A=A0=A0=A0 -= P00>>> init=0A=A0=A0=A0=A0 -P00>>> wwidmgr -clear all=0A=A0=A0=A0=A0 -P00>= >> init=0A=A0=A0=A0 - P00>>> wwidmgr -show wwid=A0=A0 (find UDID that match= es OSID from lun on 8100)=0A=A0=A0=A0 -=A0P00>>> init=0A=A0=A0=A0=A0 -P00>>= > wwidmgr -quickset -udid ##=A0 (## is OSID of lun.=A0do for one path from = each controller)=0A=A0=A0=A0=A0 -P00>>> init=0A=A0=A0=A0=A0 -P00>>> show de= v kgpsa*=A0 (find pga* names of devices to boot)=0A=A0=A0=A0=A0 -P00>>> ini= t=0A=A0=A0=A0=A0 -P00>>> set bootdev_dev=A0 pga*..., pgb*... =A0=0A- Change= console from HALT to BOOT=0A=A0=A0=A0=A0 -P00>>> set auto_action boot=0A- = b -fl s (boot to single user mode)=0A- If it boots from new disk, continue = to multiuser mode (CTRL D)=0A=0A=0AThanks for the help,=0A=0ARich=0A=0A=0A =