* [linux-lvm] Logical Volume disappears
@ 2002-02-07 12:21 Wolfe, Gordon W
2002-02-07 13:01 ` Andreas Dilger
2002-02-07 13:04 ` Heinz J . Mauelshagen
0 siblings, 2 replies; 5+ messages in thread
From: Wolfe, Gordon W @ 2002-02-07 12:21 UTC (permalink / raw)
To: IBM-linux-lvm (E-mail)
> I'm having a very strange problem. Perhaps you guys can help me.
>
>
> I needed to make a public repository for the contents of five CD's, so I
> set up a Linux server using SuSE 2.2.16 on S/390 under z/VM. For five
> CD's, I figured two volumes ought to hold the contents. An rpm query
> shows lvm-0.8-157, which is what came with the SuSe distribution.
>
> I added two 3390-3 full-pack volumes to Linux and did a dasdfmt on them.
> I went into YAST and created a logical volume group "vgcd" and a logical
> volume "lvcd" using these two volumes.
> I did a mke2fs on the logical volume /dev/vgcd/lvcd
> I was able to mount /dev/vgcd/lvcd as /mnt and was able to do a "df' and
> see them and copy some files to them
>
> So far, so good. Everything looking just fine.
>
> Now, the wierd part:
> I manually umounted /dev/vgcd/lvcd, shut down and rebooted Linux.
> After the reboot, the device /dev/vgcd/lvcd does not exist.
> vgscan says "vgscan -- no volume groups found"
> pvscan says "pvscan -- no valid physical volumes found"
> vgck says "vgck -- no volume groups found"
> pvdisplay /dev/vgcd/lvcd says "invalid physical volume name
> "/dev/vgcd/lvcd"
> ls /dev/lvcd says "No such file or directory"
> If I go back into YAST to do it all over, it says I can't create volume
> group "vgcd" because it already exists. But it doesn't show up in the
> list of volume groups.
>
>
> Can any of you point me in the right direction to see what the problem is?
>
>
"Never trust any computer you can lift."
Gordon Wolfe, Ph.D. (425)865-5940
VM Technical Services, The Boeing Company
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Logical Volume disappears
2002-02-07 12:21 Wolfe, Gordon W
@ 2002-02-07 13:01 ` Andreas Dilger
2002-02-07 13:05 ` Heinz J . Mauelshagen
2002-02-07 13:04 ` Heinz J . Mauelshagen
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Dilger @ 2002-02-07 13:01 UTC (permalink / raw)
To: Wolfe, Gordon W; +Cc: IBM-linux-lvm (E-mail)
On Feb 07, 2002 10:20 -0800, Wolfe, Gordon W wrote:
> I needed to make a public repository for the contents of five CD's, so I
> set up a Linux server using SuSE 2.2.16 on S/390 under z/VM. For five
> CD's, I figured two volumes ought to hold the contents. An rpm query
> shows lvm-0.8-157, which is what came with the SuSe distribution.
OK, well lvm-0.8 is _very_ old and undoubtably has a _huge_ number of
bugs. You should be able to use the recent LVM version on 2.2 kernels
still.
> > I manually umounted /dev/vgcd/lvcd, shut down and rebooted Linux.
> After the reboot, the device /dev/vgcd/lvcd does not exist.
> vgscan says "vgscan -- no volume groups found"
> pvscan says "pvscan -- no valid physical volumes found"
You probably need to add the names of the DASD devices to the list
that LVM searches.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Logical Volume disappears
2002-02-07 12:21 Wolfe, Gordon W
2002-02-07 13:01 ` Andreas Dilger
@ 2002-02-07 13:04 ` Heinz J . Mauelshagen
1 sibling, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-07 13:04 UTC (permalink / raw)
To: linux-lvm
In case /dev/vgcd/ still exists, "rm -rf" it and retry.
On Thu, Feb 07, 2002 at 10:20:28AM -0800, Wolfe, Gordon W wrote:
> > I'm having a very strange problem. Perhaps you guys can help me.
> >
> >
> > I needed to make a public repository for the contents of five CD's, so I
> > set up a Linux server using SuSE 2.2.16 on S/390 under z/VM. For five
> > CD's, I figured two volumes ought to hold the contents. An rpm query
> > shows lvm-0.8-157, which is what came with the SuSe distribution.
> >
> > I added two 3390-3 full-pack volumes to Linux and did a dasdfmt on them.
> > I went into YAST and created a logical volume group "vgcd" and a logical
> > volume "lvcd" using these two volumes.
> > I did a mke2fs on the logical volume /dev/vgcd/lvcd
> > I was able to mount /dev/vgcd/lvcd as /mnt and was able to do a "df' and
> > see them and copy some files to them
> >
> > So far, so good. Everything looking just fine.
> >
> > Now, the wierd part:
> > I manually umounted /dev/vgcd/lvcd, shut down and rebooted Linux.
> > After the reboot, the device /dev/vgcd/lvcd does not exist.
> > vgscan says "vgscan -- no volume groups found"
> > pvscan says "pvscan -- no valid physical volumes found"
> > vgck says "vgck -- no volume groups found"
> > pvdisplay /dev/vgcd/lvcd says "invalid physical volume name
> > "/dev/vgcd/lvcd"
> > ls /dev/lvcd says "No such file or directory"
> > If I go back into YAST to do it all over, it says I can't create volume
> > group "vgcd" because it already exists. But it doesn't show up in the
> > list of volume groups.
> >
> >
> > Can any of you point me in the right direction to see what the problem is?
> >
> >
> "Never trust any computer you can lift."
> Gordon Wolfe, Ph.D. (425)865-5940
> VM Technical Services, The Boeing Company
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Logical Volume disappears
2002-02-07 13:01 ` Andreas Dilger
@ 2002-02-07 13:05 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-07 13:05 UTC (permalink / raw)
To: linux-lvm
On Thu, Feb 07, 2002 at 11:58:36AM -0700, Andreas Dilger wrote:
> On Feb 07, 2002 10:20 -0800, Wolfe, Gordon W wrote:
> > I needed to make a public repository for the contents of five CD's, so I
> > set up a Linux server using SuSE 2.2.16 on S/390 under z/VM. For five
> > CD's, I figured two volumes ought to hold the contents. An rpm query
> > shows lvm-0.8-157, which is what came with the SuSe distribution.
>
> OK, well lvm-0.8 is _very_ old and undoubtably has a _huge_ number of
> bugs. You should be able to use the recent LVM version on 2.2 kernels
> still.
That's true, but this should at least work.
>
> > > I manually umounted /dev/vgcd/lvcd, shut down and rebooted Linux.
> > After the reboot, the device /dev/vgcd/lvcd does not exist.
> > vgscan says "vgscan -- no volume groups found"
> > pvscan says "pvscan -- no valid physical volumes found"
>
> You probably need to add the names of the DASD devices to the list
> that LVM searches.
SuSE's S/390 Linux supports them.
>
> Cheers, Andreas
> --
> Andreas Dilger
> http://sourceforge.net/projects/ext2resize/
> http://www-mddsp.enel.ucalgary.ca/People/adilger/
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Logical Volume disappears
[not found] <BC9564600E40C541983FCD6BEAF814FE03C94E6C@xch-knt-15.nw.nos.boeing.com>
@ 2002-02-07 15:29 ` 'Andreas Dilger'
0 siblings, 0 replies; 5+ messages in thread
From: 'Andreas Dilger' @ 2002-02-07 15:29 UTC (permalink / raw)
To: Wolfe, Gordon W; +Cc: linux-lvm
On Feb 07, 2002 12:59 -0800, Wolfe, Gordon W wrote:
> That's the whole problem. The CD's I need to have on line are the new SuSE
> Linux SLES7 which has the new LVM on it. I can't install it until I get the
> data on the CDs mounted where I can use it, which means I need LVM first.
Well, rather than configring your DASD to be logical volumes, then copying
CD images there, you could just create 4 minidisks, copy the CD images into
the raw devices, and mount them directly.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-07 15:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BC9564600E40C541983FCD6BEAF814FE03C94E6C@xch-knt-15.nw.nos.boeing.com>
2002-02-07 15:29 ` [linux-lvm] Logical Volume disappears 'Andreas Dilger'
2002-02-07 12:21 Wolfe, Gordon W
2002-02-07 13:01 ` Andreas Dilger
2002-02-07 13:05 ` Heinz J . Mauelshagen
2002-02-07 13:04 ` Heinz J . Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).