pvcreate error
i am trying to create a pv on an entire disk /dev/hdb with the following command:
pvcreate -ff -y /dev/hdb
it returns the following error:
pvcreate --device "/dev/hdb" has a partition table
fdisk, sfdisk and all other methods prove there is not a partition table on /dev/hdb
using lvm 1.0.1 with mandrake8.2 kernel 2.4.18-6
what is causing pvcreate to think i have a partition table on /dev/hdb?
Quoted 7 lines · richard turner
i am trying to create a pv on an entire disk
/dev/hdbwith the following command:
pvcreate -ff -y/dev/hdbit returns the following error:
pvcreate --device "/dev/hdb" has a partition table
Quoted 6 lines
fdisk, sfdisk and all other methods prove there is not a partition table on
/dev/hdbusing lvm 1.0.1 with mandrake8.2 kernel 2.4.18-6
what is causing pvcreate to think i have a partition table on
/dev/hdb?
The identifier at the end of the first sector.
dd if=/dev/zero of=/dev/hdb bs=512 count=1
should make pvcreate happy ;)
Quoted 8 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-i have tried that with no success.
dd if=/dev/zero of=/dev/hdb bs=512 count=1
blockdev --rereadpt /dev/hdb
is there a patch i dont know about for devfs? or kernel 2.4.18?
Quoted 53 lines · Heinz J . Mauelshagen
Quoted 7 lines · richard turner
i am trying to create a pv on an entire disk
/dev/hdbwith the following command:
pvcreate -ff -y/dev/hdbit returns the following error:
pvcreate --device "/dev/hdb" has a partition tableQuoted 6 lines
fdisk, sfdisk and all other methods prove there is not a partition table on
/dev/hdbusing lvm 1.0.1 with mandrake8.2 kernel 2.4.18-6
what is causing pvcreate to think i have a partition table on
/dev/hdb?The identifier at the end of the first sector.
dd if=/dev/zero of=/dev/hdb bs=512 count=1
should make pvcreate happy ;)
Quoted 8 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/Signature · 21 lines
Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany [email protected] +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
I have some additional information that hopefully someone will be familiar with and provide some assistance.
The kernel I am using 2.4.18-6 was created using devfs. However, when I am trying to create a physical volume on /dev/hdb devfs is not active. My /proc/partitions is as follows:
22 0 15972 hdc 3 0 20066251 ide/host0/bus0/target0/lun0/disc 3 1 313267 ide/host0/bus0/target0/lun0/part1 3 2 265072 ide/host0/bus0/target0/lun0/part2 3 3 1 ide/host0/bus0/target0/lun0/part3 3 5 3076416 ide/host0/bus0/target0/lun0/part5 3 64 20066251 ide/host0/bus0/target1/lun0/disc
is it the case that pvcreate is interpreting "disc" as a partition because it does not detect a traditional "hdb" and therefore cannot create the physical volume? is devfs required to be active for pvcreate to locate the disc according to its naming convention?
Quoted 68 lines · richard turner
i have tried that with no success.
dd if=/dev/zero of=/dev/hdb bs=512 count=1
blockdev --rereadpt/dev/hdbis there a patch i dont know about for devfs? or kernel 2.4.18?
Quoted 24 lines · Heinz J . Mauelshagen
Quoted 7 lines · richard turner
i am trying to create a pv on an entire disk
/dev/hdbwith the following command:
pvcreate -ff -y/dev/hdbit returns the following error:
pvcreate --device "/dev/hdb" has a partition tableQuoted 6 lines
fdisk, sfdisk and all other methods prove there is not a partition table on
/dev/hdbusing lvm 1.0.1 with mandrake8.2 kernel 2.4.18-6
what is causing pvcreate to think i have a partition table on
/dev/hdb?The identifier at the end of the first sector.
dd if=/dev/zero of=/dev/hdb bs=512 count=1
should make pvcreate happy ;)
Quoted 3 lines
Quoted 29 lines
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/Signature · 21 lines
Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany [email protected] +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/