On Sat, 2006-07-08 at 21:01 +0300, Itay wrote:
On Sat, 2006-07-08 at 19:48 +0300, Itay wrote:
From: William L. Maltby BillsCentOS@triad.rr.com
[snip]
<snip>
We are about to exceed my knowledge, as I have never used USB for anything other than thumb drives on MS Win*. I believe I asked about partitioning? If you do
sfdisk -l /dev/sdc
what does it show? If you do a
dd if=/dev/sdc2 of=/dev/null
[root@frodo ~]# sfdisk -l /dev/sdc
Disk /dev/sdc: 38913 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdc1 * 0+ 254 255- 2048256 c W95 FAT32 (LBA) /dev/sdc2 255 38912 38658 310520385 83 Linux /dev/sdc3 0 - 0 0 0 Empty /dev/sdc4 0 - 0 0 0 Empty
** I note that the file system on /dev/sdc2 is 'Linux' and not 'Linux LVM'. This is what I got, eventhough I created it with parted /dev/sdc mkpart ...
There's your problem I think. In my first post, I *guessed* that type needed to be 86. I'm sure 83 is NG - that's a standard Linux part. With fdisk and it's variations, there is a command to change partition type. Do that and select the one that shows LVM 986 I think). Write and (possibly) reboot or sfdisk -R /dev/sdc (which re-reads the partition info. If it shows *LVM* as the type, do you pvcreate, vgcreate, etc. and I bet you are OK.
[root@frodo ~]# dd if=/dev/sdc2 of=/dev/null 12747056+0 records in 12747056+0 records out
** The above output is after letting dd running for few minutes; after that I killed the process because I was afraid it will take it too long.
Yes. The purpose was to see that partition size is OK (doesn't run off end of device). If you add blksize= with 4096, 8192 or 16384 or ... it goes much faster. But I think no need now, it's your partition type I think.
Thank you for your help,
Us n00bs have to stick together here! :-)
Itay
<snip sig stuff>
HTH