I am extremely thankful to the following for giving valuable tips:
1) Lucien_HERCAUD_at_paribas.com
2) sarasin_at_cop.dec.com
I am reproducing the original replies. The first one is using command line
interface and the second using LSM GUI.
My original question was like this.
----------------------------------------------------------------------------
------------
I am very new to LSM and I have been assigned the task of adding some disks
on a DEC7000 machine with 50Gb of hard disk space in a advfs/lsm
environment. There are 15 x RZ28's and 5 x rz29's. The system has two
diskgroups rootdg and kerridges. The kerridges disk group has a volume named
vol01 with two plexes vol01-01 and vol01-02 each having four subdisks. This
volume is running out of disk space. I have to add two RZ29's in this
volume. I have gone through the LSM documentation but to me everything
appears very confusing. I dont want to bring down the whole machine by
giving a wrong command.
----------------------------------------------------------------------------
------------
First response:
----------------
1. To add a new disk in the LSM disk group
# disklabel -wr /dev/rrzNNc RZ29B (e.g. for RZ29B type)
# voldiskadd rzNN
... and answer to questions (specify disk group and DM name)
Repeat above operation for all new disks you need to add.
2. To create an LSM volume for ADVfs usage:
# volassist -U gen -g DiskGroup make vol02 8192M (i.e. size) rz20
rz21
(these are optional and direct LSM to use these DM's for the new
volume; otherwise LSM gets space where available)
3. To mirror a volume
# volassist -U gen mirror vol02 rz28 rz29 (these are optional and
direct LSM to use these DM's for the mirrors; otherwise LSM
gets space where available)
4. To add a volume to an ADVfs domain
# addvol /dev/vol/DiskGroup/vol02 MyDomain (the MyDomain is to
get either in /etc/fdmns or seen as the first part of the
<Domain#fileset> entity when doing a "df" command)
----------------------------------------------------------------------------
------------
Second response:
-----------------
The volume with two plexes is a mirror. If an advanced file system is
running on the mirror the best way to grow the volume would be this.
1) Create a new volume using one of your new disks.
2) Select the second disk and your new volume with MB3 and from the
basic menu
select volume ops.. add mirror ... simple mirror
You will now have a volume with two plexes ( this is a mirror ).
3) Now from the basic menu select ADVFS ops. This will start the advfs
gui. You wiil see your new volume and be able to add it to the
domain that contains volume 1.
You have now completed your task.
If the volume 1 has a ufs file system on it you are out of luck. You
must create a larger volume and restore the data to it. UFS can not
be grown on the fly.
Also note that you must add a new volume to the ADVFS domain as we
do not currently support growing an existing volume ( your volume 1)
for example.
---------------------------------------------------------------------------
-------------
Best regards
Rajesh kapoor
email : rkapoor_at_hotmail.com
Received on Wed Jan 01 1997 - 12:25:19 NZDT