LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Vfat (https://www.linuxquestions.org/questions/linux-enterprise-47/vfat-919010/)

dany2010 12-16-2011 03:10 AM

Vfat
 
Hello guys,
I have a problem.
I'm trying to create a vfat fs.
But first of all I created a pv extend from +50.
When I try to do the pvcreate, it gives me error:
Device / dev/sda10 not found

What's wrong?

thank you very much

syg00 12-16-2011 04:14 AM

Not much to go on. Try a reboot.

dany2010 12-16-2011 05:03 AM

Already tried a reboot, but does not work

catkin 12-16-2011 05:59 AM

If that Device / dev/sda10 not found is literal then there's a space after the leading /.
Do you have a /dev/sda10?

dany2010 12-16-2011 10:10 AM

isk /dev/sda: 53.6 GB, 53607399424 bytes
255 heads, 63 sectors/track, 6517 cylinders, total 104701952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000e144

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 21506047 10240000 8e Linux LVM
/dev/sda3 21506048 63449087 20971520 8e Linux LVM
/dev/sda4 63449088 104701951 20626432 5 Extended
/dev/sda5 63451136 73936895 5242880 8e Linux LVM
/dev/sda6 73938944 80230399 3145728 82 Linux swap / Solaris
/dev/sda7 80232448 90718207 5242880 8e Linux LVM
/dev/sda8 97835008 98244607 204800 82 Linux swap / Solaris
/dev/sda9 90720256 94914559 2097152 83 Linux
/dev/sda10 94916608 94916658 25+ 8e Linux LVM



[root@redhat ~]# pvcreate /dev/sda10
Device /dev/sda10 not found (or ignored by filtering).

[root@redhat dev]# ll | grep sda10
brw-rw----. 1 root disk 8, 10 Dec 16 16:51 sda10

catkin 12-16-2011 10:36 PM

/dev/sda10 is very small:
Code:

Device    Start    End      Blocks Id System
/dev/sda10 94916608 94916658 25+    8e Linux LVM

pvcreate may not work on such small partitions so it might be "ignored by filtering" rather than "not found".

dany2010 12-19-2011 04:17 AM

Yes you are right,
if I create a higher dimension, it works.
I asked this question, since redhat 6 examination, c'eara a question, which asked to create a pv with 50 extends.
Unfortunately I could not create it, surely I had misunderstood the question.

thanks


All times are GMT -5. The time now is 03:11 AM.