Hello admins..
thanks to "Pat OBrien" ..
His answer is below.. I have needed the required commands and some LSM
logic..
Later I have seen in the mail list archives that;
volencap dsh0h dsk1h
volreconfig
commands will make a mirrored volume..
But I could not try this...
Pat's answer...
perform a lsm command voldg free to verify the quantity of free blocks in
the h partition really exist.  There are many  ways to perform your desired
task, and hp lsm support will direct you in several methods.  Me, I would
first add the h partitoin to lsm, and then put a lsm name on the partition,
and then use the volmake command to create a subdisk and plex from each disk
ds0c & dsk1c and then create a mirrored volume from the plexes, and then
start the volume and add an advfs filesystem on the volume.  the trick is in
adding the partiton to lsm.  I do not remember those commands so well, and
always createa filesystem to hold the space when partitioning a root volume
which I will then do this with.
-----Original Message-----
From: selcuk karaca [mailto:selcuk.karaca_at_aski.gov.tr]
Sent: Wednesday, September 03, 2003 10:59 AM
To: tru64-unix-managers_at_ornl.gov
Subject: using a partition under LSM
Hello admins...
My system:
ES40 - tru64Unix 5.1 PK4
I have read the LSM documentation but I could not extract the required
info... So I apply to your knowledge...
Firstly I have found LSM concepts difficult to learn. I know it is a kind of
(maybe extended) Software RIAD but the underlying concepts are difficult to
grasp (at least for me )
So My problem is;
I have 2 disks (dsk0c & dsk1c) . Their partitions are  under LSM control.. I
know I have h partitions unused (LSM structure is factory installed, h
partitions are never used.. ) and want to use it as an advFS disk
space...But I dont know how to make these h partitions as a mirror volume
and use it under advFS..?
The following is disklabel of dsk0c (dsk1c is the same...) and volprint
outputs...
root#> disklabel dsk0c
8 partitions:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE:
values not exact
  a:    1048576          0     AdvFS                            # (Cyl.
   0 - 206*)
  b:   25165824    1048576  LSMnoprv                            # (Cyl.
206*- 5160*)
  c:   35565080          0    unused        0     0             # (Cyl.
   0 - 7000)
  d:          0          0    unused        0     0             # (Cyl.
   0 - -1)
  e:          0          0    unused        0     0             # (Cyl.
   0 - -1)
  f:       4096   35560984   LSMsimp                            # (Cyl.
7000*- 7000)
  g:    5242880   26214400  LSMnoprv                            # (Cyl.
5160*- 6192*)
  h:    4103704   31457280    unused        0     0             # (Cyl.
6192*- 7000*)
root#MEVLANA:/dev/vol/rootdg> volprint -Aht
Disk group: rootdg
DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
V  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEX
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID
MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE
MODE
dg rootdg       default      default  0        1038312520.1025.MEVLANA
dm dsk0f        dsk0f        simple   4096     0        -
dm dsk0g-AdvFS  dsk0g        nopriv   0        5242880  -
dm dsk1f        dsk1f        simple   4096     0        -
dm dsk1g-AdvFS  dsk1g        nopriv   0        5242880  -
dm root01       dsk0a        nopriv   0        1048576  -
dm root02       dsk1a        nopriv   0        1048576  -
dm swap01       dsk0b        nopriv   0        25165824 -
dm swap02       dsk1b        nopriv   0        25165824 -
v  rootvol      root         ENABLED  ACTIVE   1048576  ROUND     -
pl rootvol-01   rootvol      ENABLED  ACTIVE   1048576  CONCAT    -
RW
sd root01-01p   rootvol-01   root01   0        16       0         dsk0a
ENA
sd root01-01    rootvol-01   root01   16       1048560  16        dsk0a
ENA
pl rootvol-02   rootvol      ENABLED  ACTIVE   1048576  CONCAT    -
RW
sd root02-02p   rootvol-02   root02   0        16       0         dsk1a
ENA
sd root02-02    rootvol-02   root02   16       1048560  16        dsk1a
ENA
v  swapvol      swap         ENABLED  ACTIVE   25165824 ROUND     -
pl swapvol-01   swapvol      ENABLED  ACTIVE   25165824 CONCAT    -
RW
sd swap01-01    swapvol-01   swap01   0        25165824 0         dsk0b
ENA
pl swapvol-02   swapvol      ENABLED  ACTIVE   25165824 CONCAT    -
RW
sd swap02-02    swapvol-02   swap02   0        25165824 0         dsk1b
ENA
v  vol-dsk0g    fsgen        ENABLED  ACTIVE   5242880  SELECT    -
pl vol-dsk0g-01 vol-dsk0g    ENABLED  ACTIVE   5242880  CONCAT    -
RW
sd dsk0g-01     vol-dsk0g-01 dsk0g-AdvFS 0     5242880  0         dsk0g
ENA
pl vol-dsk0g-02 vol-dsk0g    ENABLED  ACTIVE   5242880  CONCAT    -
RW
sd dsk1g-01     vol-dsk0g-02 dsk1g-AdvFS 0     5242880  0         dsk1g
ENA
Selcuk KARACA
Unix System Administrator
Turkiye
Received on Wed Sep 10 2003 - 05:59:35 NZST