tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mark Schubert <Mark.Schubert@cogita.com.au>
Subject: LSM for beginners
Date: Tue, 20 Jul 2004 19:16:14 +1200	[thread overview]
Message-ID: <7692D279C30720488E12F0C33F3B77C20E990E@adlnt2.cogita.local> (raw)

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.


             reply	other threads:[~2004-07-20  7:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20  7:16 Mark Schubert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-20 13:44 LSM for beginners Gutierrez, David
read-only archive

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