From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3E5CA74E.4030105@machturtle.com> From: David Corbin MIME-Version: 1.0 Subject: Re: [linux-lvm] "umount" LVM stuff References: <3E58E03E.3020401@machturtle.com> <20030223181304.V14285@zealot.blacknet.de> <3E5919A3.2010404@machturtle.com> <20030224021555.Y14285@zealot.blacknet.de> <20030224022433.Z14285@zealot.blacknet.de> <3E5A0961.80905@machturtle.com> <20030225162138.C832@sistina.com> In-Reply-To: <20030225162138.C832@sistina.com> Content-Transfer-Encoding: 7bit Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Wed Feb 26 05:39:02 2003 List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-lvm@sistina.com Heinz J . Mauelshagen wrote: >Following this thread it kind of looks like you worked around >using LVM commands (i.e. removed a VG w/o using lvremove + vgremove). > >If so, not a good idea :( > > Well, not to my knowledge I didn't. But my knowledge of LVM is very tiny. All I remember doing was "vgchange -a n". >What does pvscan list ? > > pvscan -- reading all physical volumes (this may take a while...) pvscan -- ACTIVE PV "/dev/md0" of VG "vg0" [109.77 GB / 109.77 GB free] pvscan -- total: 1 [109.78 GB] / in use: 1 [109.78 GB] / in no VG: 0 [0] >What does vgck say ? > vgck -- VGDA of "vg0" in lvmtab is consistent vgck -- VGDA of "vg0" on physical volume is consistent > >On Mon, Feb 24, 2003 at 07:00:33AM -0500, David Corbin wrote: > > >>Goetz Bock wrote: >> >> >> >>>On Mon, Feb 24 '03 at 02:15, Goetz Bock wrote: >>> >>> >>> >>> >>>>>Attempts to access the logical volume I used to fail. >>>>> >>>>> >>>>> >>>>> >>>>You have disabled it, it's gone. >>>> >>>> >>>> >>>> >>>Don't panik :-> >>> >>>your LVM will reappear, once you enable it again (vgchange -a y) >>>still, read some docs. >>> >>> >>> >>> >>I have read some docs. I've spent hours combing the Net for the >>answers, without success. >> >>I *had* a working system. But, I use the LVM commands so rarely, I can >>never repeat what I did (notes or not). >> >>piano:/home/dcorbin# sh -x /etc/init.d/lvm start >>+ modprobe lvm >>+ modprobe lvm-mod >>+ '[' -e /proc/lvm ']' >>+ '[' -e /etc/lvmtab ']' >>+ '[' -x /sbin/vgscan ']' >>+ echo 'Setting up LVM Volume Groups...' >>Setting up LVM Volume Groups... >>+ /sbin/vgscan --verbose >>+ /sbin/vgchange -a y --verbose >> >>piano:/home/dcorbin# mount /data >>mount: special device /dev/vg0/data does not exist >> >>The reason you hear "panic" in my typing is the last line. :) >>---- >>Fundamentally, I'm building a critical data file server. LVM has caused >>me enough problems and delays, that I'm about ready to bypass it, saying >>it is putting my data at risk. Feel free to convince me otherwise. >> >>Thanks >>David >> >> >>_______________________________________________ >>linux-lvm mailing list >>linux-lvm@sistina.com >>http://lists.sistina.com/mailman/listinfo/linux-lvm >>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ >> >> > > >