ASE/AdvFS/LSM intertwining, replacing a big drive with a smaller one

From: <JBeck_at_CareWiseInc.com>
Date: Thu, 11 Jan 2001 15:02:07 -0800

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_at_carewiseinc.com
206.749.1878

CareWise Inc.
1501 4th Ave.
Suite 800
Seattle, WA 98101-1629
Received on Thu Jan 11 2001 - 23:03:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT