From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: J Bacher Newsgroups: gmane.os.tru64.managers Subject: Mirroring an LSM Encapsulated Disk Date: Thu, 25 Jul 2002 16:19:51 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.2.20020725135602.04351cc8@localhost> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: main.gmane.org 1027633359 11645 127.0.0.1 (25 Jul 2002 21:42:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2002 21:42:39 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17XqNV-00031J-00 for ; Thu, 25 Jul 2002 23:42:34 +0200 Original-Received: (qmail 24903 invoked by uid 5); 25 Jul 2002 21:22:46 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24895 invoked from network); 25 Jul 2002 21:22:46 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 25 Jul 2002 21:22:46 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZT00DBHQ1WHT@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Jul 2002 17:22:45 -0400 (EDT) Original-Received: from ns.shawneelink.net (ns.shawneelink.net [216.240.66.11]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZT00ANGQ1Q75@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Jul 2002 17:22:39 -0400 (EDT) Original-Received: from JB.jbacher.com (ns.shawneelink.net [216.240.66.11]) by ns.shawneelink.net (8.11.6/8.11.6) with ESMTP id g6PLIvj01913 for ; Thu, 25 Jul 2002 16:18:57 -0500 (CDT) X-Sender: jb@localhost Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:1108 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1108 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 - - - - # 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