pvcreate not locating drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
mohnkern |
Bug Description
I recently installed a SATA drive on a SYBA controller.
I partitioned the drive as a 500 GB partition type 8e (LVM) then ran mke2fs -j /dev/sda1 to write the file system,
However, when I run sudo pvcreate /dev/sda1 I get the following error:
Device /dev/sda1 not found (or ignored by filtering).
here's the result of and fdisk -l
mohnkern@
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 8e Linux LVM
Disk /dev/hda: 160.0 GB, 160041885696 bytes
102 heads, 51 sectors/track, 60088 cylinders
Units = cylinders of 5202 * 512 = 2663424 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 11811 30720385+ 8e Linux LVM
/dev/hda2 59338 60088 1953351 82 Linux swap / Solaris
/dev/hda3 11812 59337 123615126 83 Linux
Partition table entries are not in disk order
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 14593 117218241 83 Linux
mohnkern@
I read in one bug where one should try doing a
dd if=/dev/zero of=/dev/sda
to blank out the partition table, and then run pvcreate.
I tried that, received the same error.
Just as a test, I made the drive a normal Linux partition, and I was able to mount to it and create files, so I doubt it's the drive.
There doesn't appear to be anything regarding an error in /var/log.
and a fsck comes up clean:
Device /dev/sda1 not found (or ignored by filtering).
I ran dd if=/dev/zero again and then attempted a pvcreate without installing a partiion, and it still is generating this error.