All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Krichel <krichel@openlib.org>
To: Linux LVM <linux-lvm@redhat.com>
Subject: [linux-lvm] vg not intact after other disks are exchanged
Date: Fri, 30 Dec 2005 12:18:08 -0600	[thread overview]
Message-ID: <20051230181808.GA15333@openlib.org> (raw)


  hi LVM gurus!

  I have a Dell computer with a scsi (mounted as root), and
  four ide disks hda to hdd. I have hdb, hdc and hdd in a volume
  group vg1. hda is separate.
 
  I am running lvm2 2.01.04-5 from Debian testing.

  Trouble with the scsi disk let me to take it out and replace
  hda with a differnt physical disk that can act as root. After
  changing the boot sequence in the bios the machine boots up fine.
  I left the three other ide disks untouched. But, when
  I want to activate the vg, I have a problem

fasolt:~# pvscan
  Couldn't find device with uuid 'N0i9f3-0xqW-iPyq-7EG9-e4kI-Oa3F-jPfRpC'.
  Couldn't find device with uuid 'N0i9f3-0xqW-iPyq-7EG9-e4kI-Oa3F-jPfRpC'.
  PV /dev/hdc         VG vg1   lvm2 [186.30 GB / 0    free]
  PV unknown device   VG vg1   lvm2 [167.68 GB / 0    free]
  PV /dev/hdb1        VG vg1   lvm2 [372.61 GB / 0    free]
  Total: 3 [726.59 GB] / in use: 3 [726.59 GB] / in no VG: 0 [0   ]

  But hdd is still there, it is just not recogized as 
  part of vg1. 

fasolt:~# fdisk -l /dev/hdd

Disk /dev/hdd: 180.0 GB, 180045766656 bytes
255 heads, 63 sectors/track, 21889 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdd doesn't contain a valid partition table

  I exclude hda from scanning, 

fasolt:~# grep hda /etc/lvm/lvm.conf
    filter = [ "r|/dev/cdrom|" , "r|/dev/hda|" ]
    # filter = [ "a|^/dev/hda8$|", "r/.*/" ]

  therefore it is likely that hdd is the device
  N0i9f3-0xqW-iPyq-7EG9-e4kI-Oa3F-jPfRpC that could not be found.
 
  What do I do now? How do I add it again saying that this
  is the PV that is unknown?


  Cheers,

  Thomas Krichel                             mailto:krichel@openlib.org
                                        http://openlib.org/home/krichel
                                    RePEc:per:1965-06-05:thomas_krichel

             reply	other threads:[~2005-12-30 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 18:18 Thomas Krichel [this message]
2005-12-31 14:42 ` [linux-lvm] vg not intact after other disks are exchanged Thomas Krichel
2005-12-31 17:00   ` Thomas Krichel
2006-01-03 14:15     ` Alasdair G Kergon

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=20051230181808.GA15333@openlib.org \
    --to=krichel@openlib.org \
    --cc=linux-lvm@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.