LVM trouble adding new drive

Felipe Figueiredo philsf at ufrj.br
Mon Feb 5 21:18:49 UTC 2007


On Monday 05 February 2007 01:23:53 Denis Witt wrote:
> Hi,
> 
> i'm running Edgy on an VIA embedded PC with a 250GB HDD in a LVM-Group 
> named "Ubuntu". This was the only drive in this device and of course i'm 
> booting from this drive.
> 
> Now i want to add a second drive, it's excatly the same model as the 
> already installed one.
> 
> So i put the drive into the PC and started Edgy, everything fine:
> 
> cfdisk /dev/hdc
>    => hdc1 => 0x8e
>      => Everything fine
> 
> 
> pvcreate /dev/hdc1
>    => Got error message:
> 
> root at fenchurch:~# pvcreate -v /dev/hdc
>      Wiping cache of LVM-capable devices
>      Wiping internal VG cache
>    Device /dev/hdc not found (or ignored by filtering).
> 
> pvcreate /dev/hdc1 -v --force
>    => Seems fine:
> 
> root at fenchurch:~# pvcreate -v /dev/hdc1 --force
>      Set up physical volume for "/dev/hdc1" with 488391618 available sectors
>      Zeroing start of device /dev/hdc1
>    Physical volume "/dev/hdc1" successfully created

Been there. Check if you have a dir /dev/evms, and if you do, 
use /dev/evms/hdc1 instead.

regards
FF




More information about the ubuntu-users mailing list