Skip to contentSkip to conversation

pvcreate -fffff ?

linux-lvm Uday Bhaskar Sarma Seetamraju 1 participant 1 message Oct 11, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Since my last post, I have downloaded 1.0.1-rc4
and compiled the tools.
I can now vgcreate using /dev/md1. Thanks.
lvm commands work well, with gcc version # 2.96 on 2.4.3-20 mandrake kernel.

But during my previous tests I had done 'e2fsck /dev/md0'. Maybe because of that, I have the following problem.

# pvcreate -vff /dev/md0
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/md0"
pvcreate -- getting physical volume size
pvcreate -- device "/dev/md0" has a partition table
# echo $?
7

Then I did the following :-

    dd if=/dev/zero of=/dev/md0

Didn't make any difference.
Can you please help?

Thanks
Sarma

P.S:

# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 hdc9[1] hda9[0]
      2097024 blocks [2/2] [UU]

md0 : active raid1 hdc6[1] hda6[0]

      2097024 blocks [2/2] [UU]

unused devices: <none>