Linux LVM users
 help / color / mirror / Atom feed
From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Get rid of files of a non existing volume group
Date: Sat Jul  6 03:27:02 2002	[thread overview]
Message-ID: <20020706082758.GC13154@tykepenguin.com> (raw)
In-Reply-To: <20020705205324.GA1287@glorybox.de>

On Fri, Jul 05, 2002 at 10:53:24PM +0200, Kai Weber wrote:
> Hi,
> 
> I have lost a hard disk (died). I had a volume group on this disk. Now I
> have replaced the disk with a new one and wanted to create the old scheme
> on this disk:
> 
> $ vgcreate datavg /dev/hdb1
> vgcreate -- directory /dev/datavg already exists
> 
> As you can see the old /dev/datavg still exists on my root-partition. How
> do I get rid of the old files? There is no VG datavg anymore, but I want to
> have the name back.
> 
> Can I 'rm -rf /dev/datavg' the files? Or should I do a vgextend?

You can safely delete the directory. When you re-created the VG and LVs then
nodes will be re-created.
 
> vgscan does not find the VG datavg anymore.

Well...er... if it's a totally new disk it won't. :)

patrick

  reply	other threads:[~2002-07-06  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05 15:53 [linux-lvm] Get rid of files of a non existing volume group Kai Weber
2002-07-06  3:27 ` Patrick Caulfield [this message]
2002-07-06  8:01   ` Kai Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020706082758.GC13154@tykepenguin.com \
    --to=caulfield@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox