* SUMMARY: ASE/AdvFS/LSM intertwining,
@ 2001-01-12 17:14 JBeck
0 siblings, 0 replies; only message in thread
From: JBeck @ 2001-01-12 17:14 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C07CBB.31D14640", Size: 10661 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C07CBB.31D14640
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks to:
Alan alan@nabeth.cxo.dec.com
Rasal Kumarage Rasal.Kumarage@asx.com.au
John P Speno speno@isc.upenn.edu
Robert Mulley gnscon@one.net.au
Jim Fitzmaurice jpfitz@fnal.gov
Alan answered in less than an hour with:
------------------------------------------------------------------------=
You might be able to do whole thing online if you have
the AdvFS Utilities license. Without the complication
of LSM and ASE, the usual solution for this problem
would be:
addvol the new volume to the domain
rmvol the old volume from the domain
watch AdvFS copy the data online...
LSM doesn't complicate matters much, but ASE probably
does. I don't know how you'd wrap it around using
addvol/rmvol.
------------------------------------------------------------------------=
This method was pretty much echoed by all the others, but
Robert Mulley went into a bit better detail and responded with:
------------------------------------------------------------------------=
-
I would probably do this a slower way but would keep down time to a
minimum. It relies on you having the ADVFS-advanced utilities =
installed.
Also relies on you having an extra slot to put the 2 G disk in.
1. Create new LSM volume on 2G disk
2. Add new disk to ADVFS file domain using addvol
3. Using the asemgr tell ase about the new disk in the advfs file
domain. This can be down without stopping service under 1.6
4. Use rmvol to remove the 4G disk from the AdvFS file domain. rmvol
will move all data off the 4G onto the 2G, might take some time,
especially on a busy system.
5. Same as step three, telling asemgr that you've removed the disk.
Then you should be done. With no downtime.
Good luck and don't forget to backup before undertaking this procedure.
------------------------------------------------------------------------=
----
-------------------
What he included was also updating ASE and he stated an assumption
"relies on you having an extra slot to put the 2 G disk in" that I =
forgot
to mention. All of my slots are full. What I think I'm going to do is=20
remove one of the shelf power supplies, slide the HSZ battery over
to the empty slot, slap a 2GB drive in, go through the procedure
above, remove the 4GB drive, slap in another 2GB drive and go
from the 'temporary' 2 back to a permanent 2. I've got my monthly
outage scheduled for next Thursday, so downtime wasn't a huge
factor, but being able to do this on-line before my outage helps.
Thanks again!
Original request:
I'm running 4.0F,pk3, and ASE 1.6. I've got a disk service defined=20
which consists of a single lsm volume in it's own diskgroup. I need=20
to replace this 4GB disk with a 2GB disk and I was looking for the=20
LEAST painful way to do this.=20
On the surface, I think this would work:=20
vdump filesystem=20
asemgr offline service=20
voldg deport diskgroup=20
remove 4GB drive and replace with 2GB drive=20
disklabel -wrn rze49 HSZ=20
voldisksetup -i rze49 nconfig=3D2 nlog=3D2=20
voldg init diskgroup adddisk rze49=3Drze49=20
voldg -g diskgroup free rze49=20
volassist -g diskgroup make vol1 big_number_returned_from_last_step=20
asemgr online service=20
vrestore filesystem=20
I want to end up with the ASE service and the advanced filesystems =
exactly=20
like they were before. The LSM configuration should be the same except=20
for the smaller volume size. The potential drawback of this is if ASE=20
or ADVFS "remembers" the old sizes, I'm probably screwed. Any ideas if=20
this will work? (otherwise I'll have to delete and redefine the ase=20
service,etc.) TIA.=20
Jeff Beck
jbeck@carewiseinc.com=A0=A0
206.749.1878
CareWise Inc.
1501=A0 4th Ave.
Suite 800
Seattle,=A0 WA=A0=A0 98101-1629=20
------_=_NextPart_001_01C07CBB.31D14640
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>SUMMARY: ASE/AdvFS/LSM intertwining, replacing a big drive with =
a smaller one</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thanks to:</FONT>
<BR><FONT SIZE=3D2>Alan =
=
=
alan@nabeth.cxo.dec.com</FONT>
<BR><FONT SIZE=3D2>Rasal Kumarage =
Rasal.Kumarage@asx.com.au</FONT>
<BR><FONT SIZE=3D2>John P Speno =
speno@isc.upenn.edu</FONT>
<BR><FONT SIZE=3D2>Robert Mulley =
gnscon@one.net.au</FONT>
<BR><FONT SIZE=3D2>Jim Fitzmaurice =
jpfitz@fnal.gov</FONT>
</P>
<P><FONT SIZE=3D2>Alan answered in less than an hour with:</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------</FONT>
<BR><FONT SIZE=3D2>You might be able to do whole thing online if you =
have</FONT>
<BR><FONT SIZE=3D2>the AdvFS Utilities license. Without the =
complication</FONT>
<BR><FONT SIZE=3D2>of LSM and ASE, the usual solution for this =
problem</FONT>
<BR><FONT SIZE=3D2>would be:</FONT>
<BR><FONT SIZE=3D2>addvol the new volume to the domain</FONT>
<BR><FONT SIZE=3D2>rmvol the old volume from the domain</FONT>
<BR><FONT SIZE=3D2>watch AdvFS copy the data online...</FONT>
<BR><FONT SIZE=3D2>LSM doesn't complicate matters much, but ASE =
probably</FONT>
<BR><FONT SIZE=3D2>does. I don't know how you'd wrap it around =
using</FONT>
<BR><FONT SIZE=3D2>addvol/rmvol.</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------</FONT>
</P>
<P><FONT SIZE=3D2>This method was pretty much echoed by all the others, =
but</FONT>
<BR><FONT SIZE=3D2>Robert Mulley went into a bit better detail and =
responded with:</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
----------</FONT>
<BR><FONT SIZE=3D2>I would probably do this a slower way but would keep =
down time to a</FONT>
<BR><FONT SIZE=3D2>minimum. It relies on you having the ADVFS-advanced =
utilities installed.</FONT>
<BR><FONT SIZE=3D2>Also relies on you having an extra slot to put the 2 =
G disk in.</FONT>
</P>
<P><FONT SIZE=3D2>1. Create new LSM volume on 2G disk</FONT>
<BR><FONT SIZE=3D2>2. Add new disk to ADVFS file domain using =
addvol</FONT>
<BR><FONT SIZE=3D2>3. Using the asemgr tell ase about the new disk in =
the advfs file</FONT>
<BR><FONT SIZE=3D2>domain. This can be down without stopping service =
under 1.6</FONT>
<BR><FONT SIZE=3D2>4. Use rmvol to remove the 4G disk from the AdvFS =
file domain. rmvol</FONT>
<BR><FONT SIZE=3D2>will move all data off the 4G onto the 2G, might =
take some time,</FONT>
<BR><FONT SIZE=3D2>especially on a busy system.</FONT>
<BR><FONT SIZE=3D2>5. Same as step three, telling asemgr that you've =
removed the disk.</FONT>
</P>
<P><FONT SIZE=3D2>Then you should be done. With no downtime.</FONT>
</P>
<P><FONT SIZE=3D2>Good luck and don't forget to backup before =
undertaking this procedure.</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
--------------------------------</FONT>
<BR><FONT SIZE=3D2>What he included was also updating ASE and he stated =
an assumption</FONT>
<BR><FONT SIZE=3D2>"relies on you having an extra slot to put the =
2 G disk in" that I forgot</FONT>
<BR><FONT SIZE=3D2>to mention. All of my slots are full. What I think =
I'm going to do is </FONT>
<BR><FONT SIZE=3D2>remove one of the shelf power supplies, slide the =
HSZ battery over</FONT>
<BR><FONT SIZE=3D2>to the empty slot, slap a 2GB drive in, go through =
the procedure</FONT>
<BR><FONT SIZE=3D2>above, remove the 4GB drive, slap in another 2GB =
drive and go</FONT>
<BR><FONT SIZE=3D2>from the 'temporary' 2 back to a permanent 2. I've =
got my monthly</FONT>
<BR><FONT SIZE=3D2>outage scheduled for next Thursday, so downtime =
wasn't a huge</FONT>
<BR><FONT SIZE=3D2>factor, but being able to do this on-line before my =
outage helps.</FONT>
<BR><FONT SIZE=3D2>Thanks again!</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Original request:</FONT>
<BR><FONT SIZE=3D2>I'm running 4.0F,pk3, and ASE 1.6. I've got a disk =
service defined </FONT>
<BR><FONT SIZE=3D2>which consists of a single lsm volume in it's own =
diskgroup. I need </FONT>
<BR><FONT SIZE=3D2>to replace this 4GB disk with a 2GB disk and I was =
looking for the </FONT>
<BR><FONT SIZE=3D2>LEAST painful way to do this. </FONT>
</P>
<P><FONT SIZE=3D2>On the surface, I think this would work: </FONT>
</P>
<P><FONT SIZE=3D2> vdump filesystem </FONT>
<BR><FONT SIZE=3D2> asemgr offline service </FONT>
<BR><FONT SIZE=3D2> voldg deport diskgroup </FONT>
<BR><FONT SIZE=3D2> remove 4GB drive and replace with 2GB =
drive </FONT>
<BR><FONT SIZE=3D2> disklabel -wrn rze49 HSZ </FONT>
<BR><FONT SIZE=3D2> voldisksetup -i rze49 nconfig=3D2 nlog=3D2 =
</FONT>
<BR><FONT SIZE=3D2> voldg init diskgroup adddisk rze49=3Drze49 =
</FONT>
<BR><FONT SIZE=3D2> voldg -g diskgroup free rze49 </FONT>
<BR><FONT SIZE=3D2> volassist -g diskgroup make vol1 =
big_number_returned_from_last_step </FONT>
<BR><FONT SIZE=3D2> asemgr online service </FONT>
<BR><FONT SIZE=3D2> vrestore filesystem </FONT>
</P>
<P><FONT SIZE=3D2>I want to end up with the ASE service and the =
advanced filesystems exactly </FONT>
<BR><FONT SIZE=3D2>like they were before. The LSM configuration should =
be the same except </FONT>
<BR><FONT SIZE=3D2>for the smaller volume size. The potential drawback =
of this is if ASE </FONT>
<BR><FONT SIZE=3D2>or ADVFS "remembers" the old sizes, I'm =
probably screwed. Any ideas if </FONT>
<BR><FONT SIZE=3D2>this will work? (otherwise I'll have to delete and =
redefine the ase </FONT>
<BR><FONT SIZE=3D2>service,etc.) TIA. </FONT>
</P>
<P><FONT SIZE=3D2>Jeff Beck</FONT>
<BR><FONT SIZE=3D2>jbeck@carewiseinc.com=A0=A0</FONT>
<BR><FONT SIZE=3D2>206.749.1878</FONT>
</P>
<P><FONT SIZE=3D2>CareWise Inc.</FONT>
<BR><FONT SIZE=3D2>1501=A0 4th Ave.</FONT>
<BR><FONT SIZE=3D2>Suite 800</FONT>
<BR><FONT SIZE=3D2>Seattle,=A0 WA=A0=A0 98101-1629 </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C07CBB.31D14640--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-12 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-12 17:14 SUMMARY: ASE/AdvFS/LSM intertwining, JBeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox