tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary LSM questions
@ 2000-06-20 11:04 Alex Harkema
  0 siblings, 0 replies; only message in thread
From: Alex Harkema @ 2000-06-20 11:04 UTC (permalink / raw)
  To: tru64-unix-managers

It's not quite a summary, but it's the solution to me.
I didn't get a usefull answer from the mailinglist already, but I found out
a few things:

Mirroring rz8/rz9
rz9 doesn't have to be in rootdg already
Common is to mirror the OS disk before the encapsulate of the OS-disk

I had to write the original disklabel of the OS-disk rz8 (from _before_ the
encapsulate) to rz9.
The original label was in
/etc/vol/reconfig.d/disk.d/rz8e.encapdone/disklabel.orig
Eerst rz9 uit lsm-config halen:

# voldisk rm rz9 (disk was already in use by lsm, so I had to get it out)
# disklabel -R -r rz9
/etc/vol/reconfig.d/disk.d/rz8e.encapdone/disklabel.orig xxx

Next step is to put all partitions on the rz9 disklabel to 'unused'
# disklabel -r rz9
# disklabel -Fs /dev/rrz9x -where x represents the partitions: execute this
command for a,b and g, and maybe any other AdvFs partition in use

Mirroring will now succeed:
# volrootmir -a rz9
 Mirroring rootvol to rz9a.
  Mirroring swapvol to rz9b.
  Mirroring vol-rz8d to rz9d.
  Mirroring vol-rz8g to rz9g.

I still have a question left:
How to setup/change the (alpha)console variables so that the default
boot_dev is rz8, but when it's not there the OS should boot from rz9??

Any suggestions?
Regards,
Alex Harkema
harkemaa@vertis.nl

++ original posting ++

-

Fellow admins,
I have to install DU v 4.0F (patch kit 2) on a DS20 with
internal 7 x 4.3 Gig hdd
external 2 x 7 x 4.3 Gig hdd and
7 x 18.2 Gig hdd

I encounter a few problems setting up the lsm configuration. What am I doing
wrong?

= Is my disklabel for the root OS okay?

I installed the OS on the first 4.3 Gig harddisk. I performed an volencap
rz8
after this the disklabel looked like:
8 partitions:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE:
values t
  a:     749786          0     AdvFS                            # (Cyl.    0
- )
  b:    2046976     749786      swap                            # (Cyl.
331*- )
  c:    8380080          0    unused        0     0             # (Cyl.    0
- )
  d:    3103464    2797786     AdvFS                            # (Cyl.
1237*- )
  e:       1024    2796762   LSMsimp                            # (Cyl.
1237*- )
  f:          0          0    unused        0     0             # (Cyl.    0
- )
  g:    2478830    5901250     AdvFS                            # (Cyl.
2611*- )
  h:    3993432    4386648    unused        0     0             # (Cyl.
1940*- )
Does this seem strange to you, too? I mean partition D's offset is 2797786,
while the E partition starts at 2796762 - Any advise about this would be
appriciated.

= If the above is not a problem, I'd like to mirror this one with rz9. 
Do I have to put rz9 in the rootdg first? I tried to do this, (first
disklabel -z rz9, then disklabel -rw rz9) but it aborts with error:
  Initialization of disk device rz9 failed.
  Error: voldisk: Device rz9: define failed:
        Disk device is offline  
I also tried to write the existing partitioning of boot/root disk rz8 to
rz9:
# disklabel -r rz8 > /tmp/rz8label
# disklabel -R -r /dev/rrz9c /tmp/rz8label xxx
After this, trying to put this disk in rootdg, I got the same abort-error as
described above. Do I have to edit the disklabel I am going to write on
rz9?? (in /tmp/rz8label for example)

Trying to mirror immediately after writing a new disklabel to rz9:
# volrootmir -a rz9
Cannot encapsulate rz9e since the following disks/partitions are already
  in use by LSM: rz9
  Could not set up rz9 for mirroring.
Trying to mirror immediately after writing rz8's partitioning to rz9:
# volrootmir -a rz9
 
  Some partitions on rz9 seem to be in use.  Re-initialize
  the disklabel before using rz9 for mirroring the root disk.
Do I have to edit the disklabel I am going to write on rz9 (in /tmp/rz8label
for example)?

Another question:
creating file domains, with LSM volumes: 
= How do I create (using volassist command; I'm not charmed by dxlsm) a file
domain that's larger than a single disk.
for example i'd like to create a 5 Gig domain starting at disk03
# volassist make myvol1 5g disk03  (is this enough?)

Okay, those were a few questions at once, I hope this list can help me out
again ;-)
Any help, suggestions, experencies about the above topics would be
appriciated.

Thanx in advance.
I'll summarize as soon as possible

Alex Harkema
harkemaa@vertis.nl

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-20 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-20 11:04 Summary LSM questions Alex Harkema

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