Hi all -
I'm trying to set up MythTV on an Ubuntu 6.06 (Dapper) box with two SATA drives. The partitions to be used for storing the video files are /dev/sda13 (approx. 250GB) and /dev/sdb1 (300GB).
Those partitions are set up as type 8e (Linux LVM). I have tried fromatting them as ext3 and jfs with the same results. The format goes fine, I can create the physical volumes with pvcreate, but then trying to create the volume group with vgcreate fails:
The first partition:
Code:
root@vader:/etc/default# pvcreate -vv /dev/sda13
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
Logging initialised at Thu Aug 24 17:43:25 2006
Set umask to 0077
pvcreate Setting global/locking_type to 1
pvcreate Setting global/locking_dir to /var/lock/lvm
pvcreate File-based locking enabled.
pvcreate Locking /var/lock/lvm/P_orphans WB
pvcreate /dev/sda13: No label detected
pvcreate /dev/sda13: size is 515847087 sectors
pvcreate metadata/pvmetadatasize not found in config: defaulting to 255
pvcreate metadata/pvmetadatacopies not found in config: defaulting to 1
pvcreate /dev/sda13: size is 515847087 sectors
pvcreate Set up physical volume for "/dev/sda13" with 515846703 available sectors
pvcreate Scanning for labels to wipe from /dev/sda13
pvcreate Zeroing start of device /dev/sda13
pvcreate Writing physical volume data to disk "/dev/sda13"
pvcreate /dev/sda13: Writing label to sector 1
pvcreate Physical volume "/dev/sda13" successfully created
pvcreate Unlocking /var/lock/lvm/P_orphans
pvcreate Wiping internal VG cache
So far, so good. The second partition:
Code:
root@vader:/etc/default# pvcreate -vv /dev/sdb1
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
Logging initialised at Thu Aug 24 17:44:28 2006
Set umask to 0077
pvcreate Setting global/locking_type to 1
pvcreate Setting global/locking_dir to /var/lock/lvm
pvcreate File-based locking enabled.
pvcreate Locking /var/lock/lvm/P_orphans WB
pvcreate /dev/sdb1: No label detected
pvcreate /dev/sdb1: size is 625137282 sectors
pvcreate metadata/pvmetadatasize not found in config: defaulting to 255
pvcreate metadata/pvmetadatacopies not found in config: defaulting to 1
pvcreate /dev/sdb1: size is 625137282 sectors
pvcreate Set up physical volume for "/dev/sdb1" with 625136898 available sectors
pvcreate Scanning for labels to wipe from /dev/sdb1
pvcreate Zeroing start of device /dev/sdb1
pvcreate Writing physical volume data to disk "/dev/sdb1"
pvcreate /dev/sdb1: Writing label to sector 1
pvcreate Physical volume "/dev/sdb1" successfully created
pvcreate Unlocking /var/lock/lvm/P_orphans
pvcreate Wiping internal VG cache
Again, so far, so good. Now:
Code:
root@vader:/etc/default# vgcreate -v myth_disks /dev/sda13 /dev/sdb1
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
Logging initialised at Thu Aug 24 17:46:03 2006
Set umask to 0077
vgcreate Wiping cache of LVM-capable devices
vgcreate Adding physical volume '/dev/sda13' to volume group 'myth_disks'
vgcreate No physical volume label read from /dev/sda13
vgcreate /dev/sda13 not identified as an existing physical volume
vgcreate Unable to add physical volume '/dev/sda13' to volume group 'myth_disks'.
vgcreate Wiping internal VG cache
OK; pvcreate said both physical volumes were created, but vgcreate won't add the first volume. The same thing happens if I simply give it /dev/sdb1 as the only volume to add.
Can anyone see what I'm doing wrong here? I looked on Ubuntuforums but didn't find anything useful over there.
Thanks in advance --
Bob