Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: different RZ disks are not allowed for LVM in dUnix?
Date: 1996/07/08	[thread overview]
Message-ID: <4rrq2h$lq8@nntpd.lkg.dec.com> (raw)
In-Reply-To: 4rm7tf$fnc@news.csie.nctu.edu.tw



In article <4rm7tf$fnc@news.csie.nctu.edu.tw>, ambrosia@chpi.edu.tw (Codex Chen) writes:

First, it is worth noting that LVM is being retired in favor
of LSM, which provides many more features (mirroring that
works, striping, etc).  Unless you're stuck at DEC OSF/1
V1.3 please consider using LSM instead of LVM.

>I was trying to merge two different hard disks (say, RZ26 & RZ28)
>to one vg of LVM in dUnix 3.2c.
>Proceeding to the newfs and then I realized that there should
>be existing the same RZ disks in the vg?

Newfs will use whatever geometry you tell it.  Since the geometry
of the two disks is different you need to find a reasonable
compromise between the two.  First, I'd suggest not specifying
a disk type in /etc/disktab to see if LVM will invent something
reasonable itself.  It may support the I/O control that newfs
uses to get the geometry.

If not, find the capacity of the volume and factor it down to
see if a reasonable geometry reveals itself.  The two disks
should have the same number of tracks per cylinder, so you
may be able to work from there.

>From the examples of the manuals I guessed I should use vgextend
>to merge the different size of disks. Is that right or did I 
>have another method to do this?

LVM doesn't offer many options for creating volume; a single volume
per disk, multiple volumes per disk and concatenated volumes of
multiple disks.  As I recollect, vgextend will probably create the
concatenated volume that you can use for the two disks.
>
>BTW, shame to say, is there any recovery steps if I incidently
>deleted the files under /dev/vgNN ? I thought it was REALLY not
>the right approach to disable the lvm mechanism.

I don't recall.  As I recollect the special files are just what
major number is used by LVM with a minor number encoded to correspond
to the volume number.  It may be something as simple as the first
volume being minor number 1, the second minor number 2 and so on.

>Sorry again if these problems are stupid for I am a newbie of LVM.

Again, if you have the option, use LSM instead.

>Dept. of Computer Science		| ambrosia@chpi.edu.tw
>Chung Hua Polytechnic Institute 	|
>HsinChu, Taiwan 30067, ROC		| De-hsing Chen(Codex Chen)
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




      parent reply	other threads:[~1996-07-08  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-06  4:00 different RZ disks are not allowed for LVM in dUnix? Codex Chen
1996-07-08  4:00 ` Chris Lo
1996-07-08  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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