LVM issue with USB stick: Device /dev/sdc not found (or ignored by filtering).

Robert P. J. Day rpjday at crashcourse.ca
Sat Dec 11 07:22:40 UTC 2010


  as part of a tutorial on LVM, i want to add a small USB drive to a
running system, turn it into a physical volume, add it to a volume
group and so on, since this is way easier than asking there to be a
second physical drive on the machine. after the tutorial is over, i
can walk through what it takes to remove the drive from the system and
everything will be back to normal.

  i grabbed a random 2G USB drive, popped it into my ubuntu system.
/var/log/messages shows it at /dev/sdc.  so far, so good.  but when i
try to register that drive as a new physical volume with:

  # pvcreate /dev/sdc

i get:

  Device /dev/sdc not found (or ignored by filtering).

given that /var/log/messages clearly shows that it's there, i have to
assume it's the "filtering" that's the issue. i see nothing in
/etc/lvm/lvm.conf that would suggest that that device would be
filtered out.

  are there more detailed diagnostics i can check? i realize no one
would realistically use a 2G USB stick for an LVM physical volume but
it's just for a lab tutorial.  thoughts?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list