You are not logged in.

#1 2007-04-28 20:29:47

gregben
Member
Registered: 2007-04-28
Posts: 6

lvm pvcreate not working (need /dev/sda9 entry)

Hi.

Here's my partition table layout:

[root@arch01 gregb]# uname -a
Linux arch01 2.6.20-ARCH #1 SMP PREEMPT Sat Mar 24 10:51:35 CET 2007 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux

[root@arch01 gregb]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          12       96358+  83  Linux
/dev/sda2              13         255     1951897+  82  Linux swap / Solaris
/dev/sda3             256       30515   243063450    5  Extended
/dev/sda5             256        1471     9767488+  83  Linux
/dev/sda6            1472        2687     9767488+  83  Linux
/dev/sda7            2688        3903     9767488+  83  Linux
/dev/sda8            3904        5119     9767488+  83  Linux
/dev/sda9            5120       30515   203993338+  8e  Linux LVM

[root@arch01 gregb]# lvm pvcreate /dev/sda9
  Device /dev/sda9 not found (or ignored by filtering).

As you can see, pvcreate cannot find /dev/sda9.

If I look in /dev, there is no entry for /dev/sda9 (but sda1-sda8
are there).

What do I need to do to create the /dev/sda9 entry?

Thanks.

Offline

#2 2007-04-30 03:56:48

gregben
Member
Registered: 2007-04-28
Posts: 6

Re: lvm pvcreate not working (need /dev/sda9 entry)

It turns out that rebooting "fixed" the problem. After rebooting pvcreate on /dev/sda9 worked.

Anyone know the name of the command/process which adds device special files to the /dev directory
during boot?

Offline

Board footer

Powered by FluxBB