tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ASE/AdvFS/LSM intertwining, replacing a big drive with a smaller one
@ 2001-01-11 23:02 JBeck
  0 siblings, 0 replies; only message in thread
From: JBeck @ 2001-01-11 23:02 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_01C07C22.855E2030", Size: 4475 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_01C07C22.855E2030
Content-Type: text/plain;
	charset="iso-8859-1"

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=2 nlog=2
 voldg init diskgroup adddisk rze49=rze49
 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  
206.749.1878

CareWise Inc.
1501  4th Ave.
Suite 800
Seattle,  WA   98101-1629 



------_=_NextPart_001_01C07C22.855E2030
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>ASE/AdvFS/LSM intertwining, replacing a big drive with a smaller one</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">I'm running 4.0F,pk3, and ASE 1.6. I've got a disk service defined</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">which consists of a single lsm volume in it's own diskgroup. I need</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">to replace this 4GB disk with a 2GB disk and I was looking for the</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">LEAST painful way to do this.</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">On the surface, I think this would work:</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;vdump filesystem</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;asemgr offline service</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;voldg deport diskgroup</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;&nbsp; remove 4GB drive and replace with 2GB drive</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;disklabel -wrn rze49 HSZ</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;voldisksetup -i rze49 nconfig=2 nlog=2</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;voldg init diskgroup adddisk rze49=rze49</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;voldg -g diskgroup free rze49</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;volassist -g diskgroup make vol1 big_number_returned_from_last_step</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;asemgr online service</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">&nbsp;vrestore filesystem</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">I want to end up with the ASE service and the advanced filesystems exactly</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">like they were before. The LSM configuration should be the same except</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">for the smaller volume size. The potential drawback of this is if ASE</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">or ADVFS &quot;remembers&quot; the old sizes, I'm probably screwed. Any ideas if</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">this will work? (otherwise I'll have to delete and redefine the ase</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Fixedsys">service,etc.) TIA.</FONT>
</P>
<BR>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Jeff Beck<BR>
jbeck@carewiseinc.com&nbsp;<BR>
206.749.1878<BR>
</FONT><BR>
<FONT COLOR="#000000" SIZE=2 FACE="Arial">CareWise Inc.<BR>
1501&nbsp; 4th Ave.<BR>
Suite 800<BR>
Seattle,&nbsp; WA&nbsp;&nbsp; 98101-1629</FONT><FONT COLOR="#000000" FACE="Arial"> </FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C07C22.855E2030--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-11 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-11 23:02 ASE/AdvFS/LSM intertwining, replacing a big drive with a smaller one JBeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox