Mark,
Kind of a good gesture, can you include the latest information for
everyone so we all can have it.
TIA,
David
-----Original Message-----
From: tru64-unix-managers-owner_at_ornl.gov
[mailto:tru64-unix-managers-owner_at_ornl.gov] On Behalf Of Mark Schubert
Sent: Tuesday, July 20, 2004 2:16 AM
To: 'tru64-unix-managers_at_ornl.gov'
Subject: LSM for beginners
Hi,
I have an Alpha running V5.1A that is configured to use LSM. I know very
little about LSM, but need to add 2 new disks as a mirror into an
existing ADVFS domain. Ie. I want to extend the existing domain by
adding the mirror.
I realise I can extend ADVFS domains using addvol but that requires
ADVFS-UTILS license which I do not have.I would like to know in simple
terms how to add the new disks into LSM and the file system. Can anyone
help with the commands to do this?
I wish to extend the qad_domain (below). The current LSM config is also
below. Assume for the exercise that the disks are /dev/disk/dsk4c and
/dev/disk/dsk5c and they are both 18GB disks.Disks 2 and 3 are currently
mirrored for use by the qad_domain. Disks 0 and 1 are also mirrored for
use by root and usr.
#df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 992064 112582 873224 12% /
/proc 0 0 0 100% /proc
usr_domain#usr 14338176 2578563 2661576 50% /usr
usr_domain#var 14338176 26997 2661576 2% /var
usr_domain#apps 14338176 8961825 2661576 78% /apps
qad_domain#backup 17779712 2664952 6815832 29% /qad/backup
qad_domain#db 17779712 3774926 6815832 36% /db
qad_domain#bi 17779712 187320 6815832 3% /bi
qad_domain#tst 17779712 4309987 6815832 39% /tst
Following is output from the volprint command:
#volprint
Disk group: rootdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
PUTIL0
dg rootdg rootdg - - - - - -
dm dsk0d-swap dsk0d - 2733269 - - - -
dm dsk0g-AdvFS dsk0g - 28676359 - - - -
dm dsk0h dsk0h - 0 - - - -
dm dsk1d-swap dsk1d - 2733269 - - - -
dm dsk1g-AdvFS dsk1g - 28676359 - - - -
dm dsk1h dsk1h - 0 - - - -
dm root01 dsk0a - 1984135 - - - -
dm root02 dsk1a - 1984135 - - - -
dm swap01 dsk0b - 2167221 - - - -
dm swap02 dsk1b - 2167221 - - - -
v rootvol root ENABLED 1984135 - ACTIVE - -
pl rootvol-01 rootvol ENABLED 1984135 - ACTIVE - -
sd root01-01p rootvol-01 ENABLED 16 0 - - -
sd root01-01 rootvol-01 ENABLED 1984119 16 - - -
pl rootvol-02 rootvol ENABLED 1984135 - ACTIVE - -
sd root02-02p rootvol-02 ENABLED 16 0 - - -
sd root02-02 rootvol-02 ENABLED 1984119 16 - - -
v swapvol swap ENABLED 2167221 - ACTIVE - -
pl swapvol-01 swapvol ENABLED 2167221 - ACTIVE - -
sd swap01-01 swapvol-01 ENABLED 2167221 0 - - -
pl swapvol-02 swapvol ENABLED 2167221 - ACTIVE - -
sd swap02-02 swapvol-02 ENABLED 2167221 0 - - -
v vol-dsk0d gen ENABLED 2733269 - ACTIVE - -
pl vol-dsk0d-01 vol-dsk0d ENABLED 2733269 - ACTIVE - -
sd dsk0d-01 vol-dsk0d-01 ENABLED 2733269 0 - - -
pl vol-dsk0d-02 vol-dsk0d ENABLED 2733269 - ACTIVE - -
sd dsk1d-01 vol-dsk0d-02 ENABLED 2733269 0 - - -
v vol-dsk0g fsgen ENABLED 28676359 - ACTIVE - -
pl vol-dsk0g-01 vol-dsk0g ENABLED 28676359 - ACTIVE - -
sd dsk0g-01 vol-dsk0g-01 ENABLED 28676359 0 - - -
pl vol-dsk0g-02 vol-dsk0g ENABLED 28676359 - ACTIVE - -
sd dsk1g-01 vol-dsk0g-02 ENABLED 28676359 0 - - -
Disk group: qad
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
PUTIL0
dg qad qad - - - - - -
dm qad01 dsk2 - 35560968 - - - -
dm qad02 dsk3 - 35560968 - - - -
v vol01 fsgen ENABLED 35559424 - ACTIVE - -
pl vol01-01 vol01 ENABLED 35559424 - ACTIVE - -
sd qad01-01 vol01-01 ENABLED 35559424 0 - - -
pl vol01-02 vol01 ENABLED 35559424 - ACTIVE - -
sd qad02-01 vol01-02 ENABLED 35559424 0 - - -
A list of the necessary commands would be fabulous.
Thanks,
Mark.
Received on Tue Jul 20 2004 - 13:46:07 NZST