RE: [linux-lvm] Unable to create a physical volume on a whole disk

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

 



>Jan H. van Gils wrote:
>> 	Hi,
>> 
>> Thanks for reading this message.
>> 
>> The following is the case, I would like to create a pv on a 
>whole disk 
>> but pvcreate gives me the message that there is a "partition 
>table" on 
>> the disk.
>> 
>> I removed the partition table with "dd if=/dev/zero 
>of=/dev/hdb bs=512 
>> count=1" The fdisk command shows me that there is no partion 
>table but 
>> pvcreate tells me
>> different.
>

Luca Berra wrote :

>check if kernel has seen a partition during boot (cat 
>/proc/partition) in this case you either have to issue
>
>blockdev --rereadpt /dev/hdb
>or reboot

Luca, I alleady tried a reboot and that didn't solve the problem.

Any other suggestions ?


Jan

----
With regards Jan H. van Gils
Internet web-page http://www.Knoware.NL/users/janvg/
Internet e-mail address JanVG@Knoware.NL
RIPE Whois JHG5-RIPE, 6BONE Whois JHG1-6BONE


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux