[linux-lvm] What have I done!?

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Oct 5 07:05:22 UTC 2001


On Thu, Oct 04, 2001 at 12:57:21PM -0500, Steven Lembark wrote:
> 
> 
> -- Andreas Dilger <adilger at turbolabs.com>
> 
> >> Is there a way that I can blow the whole thing away and start over?  I
> >> think I've screwed things up too badly to try to resurrect them.  I'd
> >> really like to blow it all away and start over and see if this stuff
> >> happens again, but again I can't use the lv* tools to remove the
> >> configurations because of the errors I mention in my initial post so I
> >> need a manual way to blow away the entire LVM configuration and start
> >> from scratch again.
> >
> > "pvcreate -ff" I think
> 
> If you really want to wipe things clean:
> 
>     (1) vgexport /dev/vgname; # avoids collisions w/ stale config info.
>     (2) for disk in your disks here; do pvcreate -ff $disk; done;
> 
> The export isn't strictly necessar:  rm -rf and a vgscan should do the
> same basic thing with a few nastygrams added in.  Personally, I get
> enough nastygrams to prefer avoiding a few more :-)

I'm curious: which ones are thouse?

> 
> 
> --
> Steven Lembark                                               2930 W. Palmer
> Workhorse Computing                                       Chicago, IL 60647
>                                                             +1 800 762 1582
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at 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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list