[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trouble LVM: pvcreate to usb disk managed by udev



On sid with kernel 2.6.15-1-k7 /dev/sdc is a USB disk handled by udev

As root:

,----[ pvcreate /dev/sdc ]
  Device /dev/sdc not found.
`----

,----[ ls -l /dev/sdc ]
brw-r----- 1 root hal 8, 32 2006-01-04 13:12 /dev/sdc
`----

Following 'man pvcreate' and the advice in the LVM-HOWTO I had
previously done:

,----[ dd if=/dev/zero of=/dev/sdc bs=512 count=1 ]
1+0 records in
1+0 records out
512 bytes (512 B) copied, 5.5e-05 seconds, 9.3 MB/s
`----

What needs to be done to get pvcreate (and friends like vgcreate,
lvcreate, and mkfs) work on a USB disk with udev?

If what is needed is to temporarily work around udev, how should this
be done?

        jam

Attachment: pgpfCDsaXmxIR.pgp
Description: PGP signature


Reply to: