cluster disk mirroring using LSM

From: Howard Arnold (arnoldh@celerent.com)
Date: Wed Aug 28 2002 - 02:15:21 EDT


Hi,

I usually use hardware to mirror the cluster disk, but as a way to test
cluster LSM mirroring I used another disk on an HSZ70 and migrated the data
to it. Once the data was there, and before I mirrored the data using LSM, I
thought that I would try and reboot the cluster and see if it would come up
on the new LSM volumes.

Well it hung while booting complaining about the AdvFS links saying that it
expects two volumes. I looked at /etc/fdmns/cluster_root before I rebooted
and it listed the cluster_root volume as rootdg.cluster_rootvol, but there
was only one link.

I then tried booting the shared OS disk and when I again tried to mount the
cluster_root I got an error that it expects two volumes. Is there a command
that I can run to fix this? I have tried /sbin/advfs/fixfdmn cluster_root
but it failed with

 fixfdmn: Checking the RBMT.
fixfdmn: The domain attributes on volume 2 has a different number of
         volumes compared to the number of volumes in /etc/fdmns.
         Set the number of volumes to 1? (y/[n]) y
fixfdmn: Clearing the log on volume /dev/disk/dsk8a.
fixfdmn: Checking the BMT mcell data.
fixfdmn: Checking the deferred delete list.
fixfdmn: Checking the root tag file.
fixfdmn: Unable to continue, no fileset information was found.

         fixfdmn is not able to continue, no changes made to domain,
exiting.

dsk8a was the original disk that I built the cluster with and I changed the
fstype in the disk of dsk8a back to AdvFS but it still failed. I then
changed the link to dsk11a and the fstype on it to AdvFS from LSMnopriv and
I was able to mount the disk.

I now have two questions:

Before you reboot with a cluster_root LSM disk do you have to have it
mirrored versus just using a single volume? I don't understand where advfs
is picking up the two volumes.

When you migrate data does it wipe out the old partition? I'm wondering why
I couldn't mount the old disk (dsk8a). It looked like it lost all the
fileset information on the disk.

Thanks again,

Howard



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:50 EDT