[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] "umount" LVM stuff



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/










[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]