tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: J Bacher <jb@jbacher.com>
Subject: Mirroring an LSM Encapsulated Disk
Date: Thu, 25 Jul 2002 16:19:51 -0500	[thread overview]
Message-ID: <5.1.0.14.2.20020725135602.04351cc8@localhost> (raw)

Tru64 5.1a

My goal is composed of two parts:


1) to be able to take a valid AdvFS volume, encapsulate it, and mirror it


After direction yesterday to remove a volume so that I could encapsulate 
the disk for LSM, I am unable to mirror the encapsulated disk (dsk2c-AdvFS) 
to another disk that has been labeled, initialized and added to the disk 
group (disk03).

When mirroring the encapsulated disk, I receive "ERROR: Cannot allocate 
space to mirror 72205440 block volume".  My target drive has insufficient 
space once the LSMpriv region is taken into consideration.  How does one 
convert a volume with data on it to LSM and mirror it to another drive of 
the same size?

"voldg -g rootdg free" does not list the encapsulated disk.  "voldisk 
list", "volinfo" and "volprint", however, do show the encapsulated 
disk.  Why is that?


2) to take two new drives, init them for LSM, create the 
domain/fileset/mount on the first and mirror it to the second.

I tested using disk03 by init'g LSM first and creating the domain 
second.  I find that I have no block device for this volume in 
/dev/vol/rootdg.  I can see it the volume.  I can rename the volume.  But I 
can't run mkfdmn because the special device file doesn't exist.

However, no matter how many times I remove the disk from the group, zero 
out the label and start all over again, I still have no file for this 
device.  This is the first time that I've ever had this problem.



Apologies in advance for so much data following.  And, is there an ISBN 
available for documentation specific to LSM?

----------------------------------------------------------------------------------------------------------------------------------------------

# volprint

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg rootdg       rootdg       -        -        -        -        -       -

dm disk03       dsk5         -        72201328 -        -        -       -
dm dsk2c-AdvFS  dsk2c        -        72205440 -        -        -       -
<rest deleted>


# voldg -g rootdg free
DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
disk02       dsk4         dsk4         67434944  4766384   -
disk03       dsk5         dsk5         0         72201328  -
dsk0g        dsk0g        dsk0         1538176   4614389   -
dsk1g        dsk1g        dsk1         1538176   4766400   -
dsk3g        dsk3g        dsk3         1538176   4614389   -


# voldisk list
DEVICE       TYPE      DISK         GROUP        STATUS
dsk0a        nopriv    root01       rootdg       online
dsk0b        nopriv    usr01        rootdg       online
dsk0d        nopriv    swap01       rootdg       online
dsk0g        simple    dsk0g        rootdg       online
dsk1a        nopriv    var01        rootdg       online
dsk1g        simple    dsk1g        rootdg       online
dsk2c        nopriv    dsk2c-AdvFS  rootdg       online
dsk3a        nopriv    root02       rootdg       online
dsk3b        nopriv    dsk3b-AdvFS  rootdg       online
dsk3d        nopriv    swap02       rootdg       online
dsk3g        simple    dsk3g        rootdg       online
dsk4         sliced    disk02       rootdg       online
dsk5         sliced    disk03       rootdg       online


# mkfdmn /dev/vol/rootdg/disk03 test_domain
mkfdmn: can't access device /dev/vol/rootdg/disk03; [2] No such file or 
directory
mkfdmn: can't create new domain 'test_domain'

# ls -l
total 0
brw-------   1 root     system    40,  8 Jul 25 14:30 disk01
brw-------   1 root     system    40,  0 Feb 26 15:32 rootvol
brw-------   1 root     system    40,  1 Feb 26 15:32 swapvol
brw-------   1 root     system    40,  5 Feb 26 15:32 usrvol
brw-------   1 root     system    40,  6 Feb 26 15:32 varvol
brw-------   1 root     system    40,  7 Jul 23 15:15 vol-dsk2c



                 reply	other threads:[~2002-07-25 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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