From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97931969527568.tru64-unix-managers.marc@archive.invalid> From: JBeck () CareWiseInc ! com Date: Fri, 12 Jan 2001 17:14:52 +0000 To: tru64-unix-managers Subject: SUMMARY: ASE/AdvFS/LSM intertwining, X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97931969527568 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C07CBB.31D14640" 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
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
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
which consists of a single lsm volume in it's own =
diskgroup. I need
to replace this 4GB disk with a 2GB disk and I was =
looking for the
LEAST painful way to do this.
On the surface, I think this would work:
vdump filesystem
asemgr offline service
voldg deport diskgroup
remove 4GB drive and replace with 2GB =
drive
disklabel -wrn rze49 HSZ
voldisksetup -i rze49 nconfig=3D2 nlog=3D2 =
voldg init diskgroup adddisk rze49=3Drze49 =
voldg -g diskgroup free rze49
volassist -g diskgroup make vol1 =
big_number_returned_from_last_step
asemgr online service
vrestore filesystem
I want to end up with the ASE service and the =
advanced filesystems exactly
like they were before. The LSM configuration should =
be the same except
for the smaller volume size. The potential drawback =
of this is if ASE
or ADVFS "remembers" the old sizes, I'm =
probably screwed. Any ideas if
this will work? (otherwise I'll have to delete and =
redefine the ase
service,etc.) TIA.
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