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

Re: [linux-lvm] Changing partition names?

On Tue, Jul 31, 2001 at 12:48:35AM +1200, Donald Gordon wrote:
> On Mon, 30 Jul 2001, AJ Lewis wrote:
> > On Mon, Jul 30, 2001 at 11:48:56PM +1200, Donald Gordon wrote:
> > > I can't seem to see any way to tell lvm that the name of one of the
> > > partitions it is using has changed (from /dev/sda10 to /dev/sda8; I'm
> > > transitioning a system to LVM).  Should it pick this up on reboot or is
> > > there some config file I need to prod?
> > 
> > vgscan will do this for you automatically.
> > 
> When I (ahem) remove a partition by mistake and re-create it in the same
> location with fdisk vgscan no longer recognises it.
> Also, is there any way to point vgscan in the general direction of the
> block devices where PVs are to be found?  It takes quite some time to scan
> *everything* on my p75 :(

Are you using devfs?  If so, which version of LVM are you using?  If not, do
you have /proc mounted?  And are the values in /proc/partitions valid?  LVM
should use /proc/partitions on a non-devfs system to determine which devices
to scan.  On a devfs system, LVM should use the dynamically created device
nodes to determine the same.

Of course, this is all assuming you're using the current LVM 0.9.1 beta8
version of LVM.  I'm not positive where this functionality was intruduced.

AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: lewis sistina com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Over and over I find being redundant is key to success
in the art of redundancy - Jay Armstrong
-----End Obligatory Humorous Quote------------------------------------------

Attachment: pgp00046.pgp
Description: PGP signature

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