* [linux-lvm] pvcreate problem on new IDE disk
@ 2003-04-20 17:43 Tracy R Reed
2003-04-20 18:07 ` Alasdair G Kergon
2003-04-21 5:33 ` Steffen Koch
0 siblings, 2 replies; 5+ messages in thread
From: Tracy R Reed @ 2003-04-20 17:43 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
I just installed a new 120G IDE disk. My system currently has two 32G SCSI
disks. I intend to migrate the data off of the SCSI disks on to the IDE
disk.
My version info:
Linux home 2.4.19 #7 SMP Sat Apr 19 18:04:41 PDT 2003 i686 unknown unknown
GNU/Linux
home:~# pvcreate --version
LVM version: 1.95.10 (2002-05-31)
Library version: 0.96.04-ioctl-cvs (2002-08-14)
Driver version: 1.0.8
The drive is a 120G Maxtor IDE drive. I have a 1G partition (which I will
eventually reinstall the OS onto) and a ~120G partition which I want to
initialize as a physical volume, add it to a new volume group, create some
LV's, and then copy the data from my existing disks into it.
Device Boot Start End Blocks Id System
/dev/hdd1 1 4064 2048224+ 83 Linux
/dev/hdd2 4065 238216 118012608 8e Linux LVM
But when I do the pvcreate I get this error:
home:~# pvcreate /dev/hdd2
Failed to read existing physical volume '/dev/hdd2'
/dev/hdd2: Couldn't find device.
Failed to setup physical volume "/dev/hdd2"
Googling on "Failed to read existing physical volume" produces zero hits.
Nothing at all. Any ideas?
--
Tracy Reed http://www.ultraviolet.org
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] pvcreate problem on new IDE disk
2003-04-20 17:43 [linux-lvm] pvcreate problem on new IDE disk Tracy R Reed
@ 2003-04-20 18:07 ` Alasdair G Kergon
2003-04-22 7:12 ` Tracy R Reed
2003-04-21 5:33 ` Steffen Koch
1 sibling, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2003-04-20 18:07 UTC (permalink / raw)
To: linux-lvm
On Sat, Apr 19, 2003 at 07:21:08PM -0700, Tracy R Reed wrote:
> /dev/hdd2: Couldn't find device.
Two things to check first:
Make sure that /dev/hdd2 exists and that other programs can
write/read it;
Run 'vgscan' and then try the pvcreate again.
[vgscan needs running after new devices are added]
Alasdair
--
agk@uk.sistina.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] pvcreate problem on new IDE disk
2003-04-20 17:43 [linux-lvm] pvcreate problem on new IDE disk Tracy R Reed
2003-04-20 18:07 ` Alasdair G Kergon
@ 2003-04-21 5:33 ` Steffen Koch
1 sibling, 0 replies; 5+ messages in thread
From: Steffen Koch @ 2003-04-21 5:33 UTC (permalink / raw)
To: linux-lvm@sistina.com
On Sat, 19 Apr 2003 19:21:08 -0700, Tracy R Reed wrote:
>But when I do the pvcreate I get this error:
>
>home:~# pvcreate /dev/hdd2
> Failed to read existing physical volume '/dev/hdd2'
> /dev/hdd2: Couldn't find device.
> Failed to setup physical volume "/dev/hdd2"
did you reboot after fdisk??
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] pvcreate problem on new IDE disk
2003-04-20 18:07 ` Alasdair G Kergon
@ 2003-04-22 7:12 ` Tracy R Reed
2003-04-23 11:44 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 5+ messages in thread
From: Tracy R Reed @ 2003-04-22 7:12 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
On Mon, Apr 21, 2003 at 12:07:15AM +0100, Alasdair G Kergon spake thusly:
> Two things to check first:
> Make sure that /dev/hdd2 exists and that other programs can
> write/read it;
brw-rw---- 1 root disk 22, 66 Mar 14 2002 /dev/hdd2
> Run 'vgscan' and then try the pvcreate again.
> [vgscan needs running after new devices are added]
home:/# vgscan
Reading all physical volumes. This may take a while...
Found volume group "system" using metadata type lvm1
home:/# pvcreate /dev/hdd2
Failed to read existing physical volume '/dev/hdd2'
Physical volume "/dev/hdd2" successfully created
It still says "failed to read" etc. but then says successfully created.
Hmm...
home:/# vgextend system /dev/hdd2
Volume group "system" successfully extended
Ok, looks like it is working ok. Now another problem...
home:/# pvmove
Command not implemented yet.
Ugh...looks like LVM1 had it but LVM2 does not yet. Has this changed since
my version?
LVM version: 1.95.10 (2002-05-31)
Even if pvmove is still nonexistant I guess I can put the new disk in another
VG, create LV's over there, and manually copy the data over.
Thanks for the help!
--
Tracy Reed http://www.ultraviolet.org
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] pvcreate problem on new IDE disk
2003-04-22 7:12 ` Tracy R Reed
@ 2003-04-23 11:44 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-04-23 11:44 UTC (permalink / raw)
To: linux-lvm
On Sun, Apr 20, 2003 at 09:22:33PM -0700, Tracy R Reed wrote:
> On Mon, Apr 21, 2003 at 12:07:15AM +0100, Alasdair G Kergon spake thusly:
> > Two things to check first:
> > Make sure that /dev/hdd2 exists and that other programs can
> > write/read it;
>
> brw-rw---- 1 root disk 22, 66 Mar 14 2002 /dev/hdd2
>
> > Run 'vgscan' and then try the pvcreate again.
> > [vgscan needs running after new devices are added]
>
> home:/# vgscan
> Reading all physical volumes. This may take a while...
> Found volume group "system" using metadata type lvm1
> home:/# pvcreate /dev/hdd2
> Failed to read existing physical volume '/dev/hdd2'
> Physical volume "/dev/hdd2" successfully created
>
> It still says "failed to read" etc. but then says successfully created.
> Hmm...
>
> home:/# vgextend system /dev/hdd2
> Volume group "system" successfully extended
>
> Ok, looks like it is working ok. Now another problem...
>
> home:/# pvmove
> Command not implemented yet.
>
> Ugh...looks like LVM1 had it but LVM2 does not yet. Has this changed since
> my version?
You'll have it shortly with LVM 2.0 :)
>
> LVM version: 1.95.10 (2002-05-31)
>
> Even if pvmove is still nonexistant I guess I can put the new disk in another
> VG, create LV's over there, and manually copy the data over.
Yes.
>
> Thanks for the help!
>
> --
> Tracy Reed http://www.ultraviolet.org
Regards,
Heinz -- The LVM Guy --
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-23 11:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-20 17:43 [linux-lvm] pvcreate problem on new IDE disk Tracy R Reed
2003-04-20 18:07 ` Alasdair G Kergon
2003-04-22 7:12 ` Tracy R Reed
2003-04-23 11:44 ` Heinz J . Mauelshagen
2003-04-21 5:33 ` Steffen Koch
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.