* different RZ disks are not allowed for LVM in dUnix?
@ 1996-07-06 4:00 Codex Chen
1996-07-08 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-07-08 4:00 ` Chris Lo
0 siblings, 2 replies; 3+ messages in thread
From: Codex Chen @ 1996-07-06 4:00 UTC (permalink / raw)
Sorry if this ever appeared somewhere else.
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?
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?
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.
Sorry again if these problems are stupid for I am a newbie of LVM.
Thanks for any kindly hint and with regards,
--
Dept. of Computer Science | ambrosia@chpi.edu.tw
Chung Hua Polytechnic Institute |
HsinChu, Taiwan 30067, ROC | De-hsing Chen(Codex Chen)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: different RZ disks are not allowed for LVM in dUnix?
1996-07-06 4:00 different RZ disks are not allowed for LVM in dUnix? Codex Chen
1996-07-08 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1996-07-08 4:00 ` Chris Lo
1 sibling, 0 replies; 3+ messages in thread
From: Chris Lo @ 1996-07-08 4:00 UTC (permalink / raw)
Codex Chen (ambrosia@chpi.edu.tw) wrote:
: Sorry if this ever appeared somewhere else.
:
: 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?
: 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?
:
: 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.
:
: Sorry again if these problems are stupid for I am a newbie of LVM.
:
A *very* brief look at the manual of DUnix, they look so similar to
HPUX LVM. I bet you can use 'vgchange -a n vgXX' to disable the volume group...
--
Chris Lo A___A
chris@air.org ____ / o o \
cklo@HK.Super.Net _/~____ =^= /
Chris.Lo@p89.f487.n700.z6.fidonet.org <______>__m_m_>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: different RZ disks are not allowed for LVM in dUnix?
1996-07-06 4:00 different RZ disks are not allowed for LVM in dUnix? Codex Chen
@ 1996-07-08 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-07-08 4:00 ` Chris Lo
1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1996-07-08 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-07-08 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-06 4:00 different RZ disks are not allowed for LVM in dUnix? Codex Chen
1996-07-08 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-07-08 4:00 ` Chris Lo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox