* Re: [linux-lvm] Changing partition names?
@ 2001-07-30 14:05 Theo
2001-07-30 14:50 ` Joe Thornber
0 siblings, 1 reply; 6+ messages in thread
From: Theo @ 2001-07-30 14:05 UTC (permalink / raw)
To: linux-lvm
>
> 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 :(
>
That would be real cool !
It takes a while on my 486 to scan everything.
Theo
---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Changing partition names?
2001-07-30 14:05 [linux-lvm] Changing partition names? Theo
@ 2001-07-30 14:50 ` Joe Thornber
0 siblings, 0 replies; 6+ messages in thread
From: Joe Thornber @ 2001-07-30 14:50 UTC (permalink / raw)
To: linux-lvm
On Mon, Jul 30, 2001 at 02:05:35PM +0000, Theo wrote:
> >
> > 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 :(
> >
>
> That would be real cool !
>
> It takes a while on my 486 to scan everything.
This is also on the list. The idea is to have a config file where you
can specify which devices can be scanned.
- Joe
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] Changing partition names?
@ 2001-07-30 11:48 Donald Gordon
2001-07-30 12:04 ` AJ Lewis
0 siblings, 1 reply; 6+ messages in thread
From: Donald Gordon @ 2001-07-30 11:48 UTC (permalink / raw)
To: linux-lvm
Hi
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?
Thanks
don
--
Donald Gordon | Wellington, New Zealand | All opinions above are those of my
donald@gordon.co.nz | icq 14995769 | um | deceased pet goldfish, "Fishy II".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Changing partition names?
2001-07-30 11:48 Donald Gordon
@ 2001-07-30 12:04 ` AJ Lewis
2001-07-30 12:48 ` Donald Gordon
0 siblings, 1 reply; 6+ messages in thread
From: AJ Lewis @ 2001-07-30 12:04 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]
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.
--
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
http://www.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----------------------------------------
Your mouse has moved. Windows NT must be restarted for the change to take
effect. Reboot now? [ OK ]
-----End Obligatory Humorous Quote------------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Changing partition names?
2001-07-30 12:04 ` AJ Lewis
@ 2001-07-30 12:48 ` Donald Gordon
2001-07-30 14:22 ` AJ Lewis
0 siblings, 1 reply; 6+ messages in thread
From: Donald Gordon @ 2001-07-30 12:48 UTC (permalink / raw)
To: linux-lvm
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 :(
don
--
Donald Gordon | Wellington, New Zealand | All opinions above are those of my
donald@gordon.co.nz | icq 14995769 | um | deceased pet goldfish, "Fishy II".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Changing partition names?
2001-07-30 12:48 ` Donald Gordon
@ 2001-07-30 14:22 ` AJ Lewis
0 siblings, 0 replies; 6+ messages in thread
From: AJ Lewis @ 2001-07-30 14:22 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]
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.
Regards,
--
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
http://www.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 #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-07-30 14:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-30 14:05 [linux-lvm] Changing partition names? Theo
2001-07-30 14:50 ` Joe Thornber
-- strict thread matches above, loose matches on Subject: below --
2001-07-30 11:48 Donald Gordon
2001-07-30 12:04 ` AJ Lewis
2001-07-30 12:48 ` Donald Gordon
2001-07-30 14:22 ` AJ Lewis
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.