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

Re: problems with basic lvm commands on Debian





On Sat, 27 Aug 2005, Allan Wind wrote:

On 2005-08-25T23:10:05-0400, Faheem Mitha wrote:
root@io:/dev/mapper# pvdisplay /dev/hda2
  No physical volume label read from /dev/hda2
  Failed to read physical volume "/dev/hda2"

How does the disk partition look like (fdisk)?  Maybe there is garbage
data on hda2 that confuse pvcreate.  If I recall correctly the lvm howto
has a suitable dd commend to take care of that.  Check the lvm archive
to see if it is a known issue.  You could collapse the partitions into
one pv and vg, then create two seperate lv's from it.

Well, I've reformatted since I had that problem.

I think the reason for these errors was (as someone pointed out on the lvm mailing list) that I had mounted the partitions that I trying to put into the volume group, and was running the system off filesystems mounted on them. So it is not surprising that there were problems.

I should figure out how to set a reply to header in Pine.

Thanks for replying.

                                                                Faheem.



Reply to: