SUMMARY: Confused about LSM - DU 4.0D

From: Judith Reed <jreed_at_wukon.appliedtheory.com>
Date: Tue, 17 Mar 1998 09:34:11 -0500

Well, after totally eliminating all trace of LSM from my intended mirror,
and setting up the mirror disk with all partitions except "C" of zero size,
I used the "volrootmir -a rz1" command-line form of the root mirroring
utility, rather than the GUI. First time thru, it failed because partition "a"
was of size zero, and asked me to make it the same size as that of partition
"a"
on the disk to be mirrored. I changed the size of partition "a" in the
disklabel, issued the "volrootmir -a rz1" command again, and it went ahead
and duplicated the partition table of the disk to be mirrored, onto the mirror
disk, and setup the mirrors.

I suspect that the problem I had was in trying to use the GUI (as per the
documentation) to do the root mirror. It has been our experience that despite
what the documentation says, there are some operations that just never
work correctly when done with the GUI on our SUN implementation (SEVM) of
the Veritas volume manager - this is probably also true of the DEC
implementation.

SUN's implementation of this product is enough different, even though the
essential functionality is the same, to be very confusing. Observe the
partition table of a DEC mirror disk, first, and then a SUN mirror disk.
SUN uses slice 2 as its virtual disk, and carves out pieces of it. DEC
mirrors each slice to its corresponding slice on the mirror disk.
So much for standardization!
----
DEC:
  a:   262144        0     AdvFS                        # (Cyl.    0 - 115*)
  b:  1570816   262144      swap                        # (Cyl.  115*- 811*)
  c:  8380080        0    unused        0     0         # (Cyl.    0 - 3707)
  d:        0        0    unused        0     0         # (Cyl.    0 - -1)
  e:     1024  1832960   LSMsimp                        # (Cyl.  811*- 811*)
  f:        0        0    unused        0     0         # (Cyl.    0 - -1)
  g:  2048000  1835008     AdvFS                        # (Cyl.  811*- 1718*)
  h:  4497072  3883008     AdvFS                        # (Cyl. 1718*- 3707)
----
SUN:
  0 unassigned    wm       0               0         (0/0/0)          0
  1 unassigned    wm       0               0         (0/0/0)          0
  2     backup    wu       0 - 2732        1.98GB    (2733/0/0) 4154160
  3 unassigned    wm       0               0         (0/0/0)          0
  4          -    wu    2732 - 2732        0.74MB    (1/0/0)       1520
  5 unassigned    wm       0               0         (0/0/0)          0
  6 unassigned    wm       0               0         (0/0/0)          0
  7          -    wu       0 - 2732        1.98GB    (2733/0/0) 4154160
Judith Reed
jreed_at_appliedtheory.com
> I'm trying to configure LSM on DU 4.0d. We received the system pre-installed,
> with the root filesystems configured as ADVFS filesystems. 
> 
> I've been mucking about with LSM all morning, had it configured so that
> root and swap were encapsulated and mirrored, and was trying to mirror 
> /usr and /usr/local to the same mirror disk that swap and / used.
> I've used SEVM on suns, so have some familiarity with this, but am finding
> that the DEC implementation does not work as expected.
> 
> Oddity:
> 	* Rather than taking my target disk as the mirror disk and also as
> 	a logical disk, and carving out pieces to be used to mirror / and
> 	swap, LSM appears to create volumes out of partitions, so that I end
> 	up with LSM disks entitled "rz16d" and "rz16g". Under Solaris,
> 	the entire disk is incorporated as an LVM logical disk, and then
> 	subdisks are put on partitions.
> Problem/oddity:
> 	* after finding that I couldn't mirror all of disk A to disk B because
> 	evidently disk A partitions use all available space, and since disk B
> 	is the same size as disk A, and evidently LSM wants partitions to 
> 	mirror to that are slightly bigger than the original partitions, I
> 	tried dismantling the entire structure, using volunroot, etc. I'm
> 	left with an LSM config with one LSM disk called "rz16d" which I 
> 	can't remove, as the system thinks it is the last volume in LSM
> 	and that you can't remove that last volume. 
> 
> Can someone tell me:
> 	a. How to release "rz16d" so I can start all over again?
> 	b. How to mirror rz16, which contains:
> 		/, /usr, /usr/local, swap
> 	   which filesystems use all available blocks on rz16, to the
> 	   identically sized empty disk rz9?
> 
> Many TIA! 
> -- 
> Judith Reed
> jreed_at_appliedtheory.com
> (315) 453-2912 x335
> 
> 
Received on Tue Mar 17 1998 - 15:36:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT