From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a80d70ad76c9d789 X-Google-Attributes: gidfee84,public 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 Message-ID: <4rrq2h$lq8@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 167248519 distribution: world references: <4rm7tf$fnc@news.csie.nctu.edu.tw> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 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