mounting 8G vfat formatted compact flash in linux 2.6 kernel - Linux

This is a discussion on mounting 8G vfat formatted compact flash in linux 2.6 kernel - Linux ; Hi Is there any limitation on size of vfat partition that can be mounted in linux? I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with fdisk with following options: 1. delete all paritions 2. create ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: mounting 8G vfat formatted compact flash in linux 2.6 kernel

  1. mounting 8G vfat formatted compact flash in linux 2.6 kernel

    Hi

    Is there any limitation on size of vfat partition that can be mounted
    in linux?

    I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with fdisk
    with following options:

    1. delete all paritions
    2. create new partition
    3. primary
    4. partition number 1
    5. chose default begin cylinder
    6. chose default end cylinder
    8. change type of partition
    9. 'c' for WIN95 FAT32
    10. 'w'rite partition table

    now i format it as

    mkfs.vfat -F 32 /dev/hdc1

    when i mount it as

    mount -t vfat /dev/hdc1 /mnt/cf

    I see it only as 1024K blocks in 'df'.

    Can someone help? Is there a 1G limitation on vfat partition?

    thanks

  2. Re: mounting 8G vfat formatted compact flash in linux 2.6 kernel

    On Mon, 10 Dec 2007 10:46:10 -0800, Prasad wrote:

    > Hi
    >
    > Is there any limitation on size of vfat partition that can be mounted in
    > linux?
    >
    > I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with fdisk
    > with following options:
    >
    > 1. delete all paritions
    > 2. create new partition
    > 3. primary
    > 4. partition number 1
    > 5. chose default begin cylinder
    > 6. chose default end cylinder
    > 8. change type of partition
    > 9. 'c' for WIN95 FAT32
    > 10. 'w'rite partition table
    >
    > now i format it as
    >
    > mkfs.vfat -F 32 /dev/hdc1
    >
    > when i mount it as
    >
    > mount -t vfat /dev/hdc1 /mnt/cf
    >
    > I see it only as 1024K blocks in 'df'.
    >
    > Can someone help? Is there a 1G limitation on vfat partition?
    >
    > thanks


    FAT32 cat support up to 2 Terabytes depending on sector size. Try using a
    -S 4096 to give you a 4K sector size.

  3. Re: mounting 8G vfat formatted compact flash in linux 2.6 kernel

    On Dec 10, 1:28 pm, General Schvantzkopf
    wrote:
    > On Mon, 10 Dec 2007 10:46:10 -0800, Prasad wrote:
    > > Hi

    >
    > > Is there any limitation on size of vfat partition that can be mounted in
    > > linux?

    >
    > > I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with fdisk
    > > with following options:

    >
    > > 1. delete all paritions
    > > 2. create new partition
    > > 3. primary
    > > 4. partition number 1
    > > 5. chose default begin cylinder
    > > 6. chose default end cylinder
    > > 8. change type of partition
    > > 9. 'c' for WIN95 FAT32
    > > 10. 'w'rite partition table

    >
    > > now i format it as

    >
    > > mkfs.vfat -F 32 /dev/hdc1

    >
    > > when i mount it as

    >
    > > mount -t vfat /dev/hdc1 /mnt/cf

    >
    > > I see it only as 1024K blocks in 'df'.

    >
    > > Can someone help? Is there a 1G limitation on vfat partition?

    >
    > > thanks

    >
    > FAT32 cat support up to 2 Terabytes depending on sector size. Try using a
    > -S 4096 to give you a 4K sector size.


    Hi

    I tried that but it didn't help..pl see below

    Linux# fdisk -l /dev/hdc

    Disk /dev/hdc: 8320 MB, 8320499712 bytes
    16 heads, 63 sectors/track, 16122 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 1 16122 8125456+ c W95 FAT32
    (LBA)
    Linux# umount /dev/hdc1
    Linux# mkfs.vfat -F 32 -S 4096 /dev/hdc1
    mkfs.vfat 2.11 (12 Mar 2005)
    Linux# mount /mnt/cf
    Linux# df | grep cf
    /dev/hdc1 1048192 32 1048160 1% /mnt/cf
    Linux#



  4. Re: mounting 8G vfat formatted compact flash in linux 2.6 kernel

    On Mon, 10 Dec 2007 13:49:45 -0800, Prasad wrote:

    > On Dec 10, 1:28 pm, General Schvantzkopf wrote:
    >> On Mon, 10 Dec 2007 10:46:10 -0800, Prasad wrote:
    >> > Hi

    >>
    >> > Is there any limitation on size of vfat partition that can be mounted
    >> > in linux?

    >>
    >> > I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with
    >> > fdisk with following options:

    >>
    >> > 1. delete all paritions
    >> > 2. create new partition
    >> > 3. primary
    >> > 4. partition number 1
    >> > 5. chose default begin cylinder
    >> > 6. chose default end cylinder
    >> > 8. change type of partition
    >> > 9. 'c' for WIN95 FAT32
    >> > 10. 'w'rite partition table

    >>
    >> > now i format it as

    >>
    >> > mkfs.vfat -F 32 /dev/hdc1

    >>
    >> > when i mount it as

    >>
    >> > mount -t vfat /dev/hdc1 /mnt/cf

    >>
    >> > I see it only as 1024K blocks in 'df'.

    >>
    >> > Can someone help? Is there a 1G limitation on vfat partition?

    >>
    >> > thanks

    >>
    >> FAT32 cat support up to 2 Terabytes depending on sector size. Try using
    >> a -S 4096 to give you a 4K sector size.

    >
    > Hi
    >
    > I tried that but it didn't help..pl see below
    >
    > Linux# fdisk -l /dev/hdc
    >
    > Disk /dev/hdc: 8320 MB, 8320499712 bytes 16 heads, 63 sectors/track,
    > 16122 cylinders Units = cylinders of 1008 * 512 = 516096 bytes
    >
    > Device Boot Start End Blocks Id System
    > /dev/hdc1 1 16122 8125456+ c W95 FAT32 (LBA)
    > Linux# umount /dev/hdc1
    > Linux# mkfs.vfat -F 32 -S 4096 /dev/hdc1 mkfs.vfat 2.11 (12 Mar 2005)
    > Linux# mount /mnt/cf
    > Linux# df | grep cf
    > /dev/hdc1 1048192 32 1048160 1% /mnt/cf Linux#


    I wonder if this is some sort of limitation of your card reader? Try
    formatting it to EXT3, if it's still only 1G then the problem is probably
    the reader.

  5. Re: mounting 8G vfat formatted compact flash in linux 2.6 kernel

    On Mon, 10 Dec 2007 21:15:02 -0600 General Schvantzkopf wrote:
    | On Mon, 10 Dec 2007 13:49:45 -0800, Prasad wrote:
    |
    |> On Dec 10, 1:28 pm, General Schvantzkopf wrote:
    |>> On Mon, 10 Dec 2007 10:46:10 -0800, Prasad wrote:
    |>> > Hi
    |>>
    |>> > Is there any limitation on size of vfat partition that can be mounted
    |>> > in linux?
    |>>
    |>> > I'm formatting a CF as vfat. Its an 8G CF. I partitioned it with
    |>> > fdisk with following options:
    |>>
    |>> > 1. delete all paritions
    |>> > 2. create new partition
    |>> > 3. primary
    |>> > 4. partition number 1
    |>> > 5. chose default begin cylinder
    |>> > 6. chose default end cylinder
    |>> > 8. change type of partition
    |>> > 9. 'c' for WIN95 FAT32
    |>> > 10. 'w'rite partition table
    |>>
    |>> > now i format it as
    |>>
    |>> > mkfs.vfat -F 32 /dev/hdc1
    |>>
    |>> > when i mount it as
    |>>
    |>> > mount -t vfat /dev/hdc1 /mnt/cf
    |>>
    |>> > I see it only as 1024K blocks in 'df'.
    |>>
    |>> > Can someone help? Is there a 1G limitation on vfat partition?
    |>>
    |>> > thanks
    |>>
    |>> FAT32 cat support up to 2 Terabytes depending on sector size. Try using
    |>> a -S 4096 to give you a 4K sector size.
    |>
    |> Hi
    |>
    |> I tried that but it didn't help..pl see below
    |>
    |> Linux# fdisk -l /dev/hdc
    |>
    |> Disk /dev/hdc: 8320 MB, 8320499712 bytes 16 heads, 63 sectors/track,
    |> 16122 cylinders Units = cylinders of 1008 * 512 = 516096 bytes
    |>
    |> Device Boot Start End Blocks Id System
    |> /dev/hdc1 1 16122 8125456+ c W95 FAT32 (LBA)
    |> Linux# umount /dev/hdc1
    |> Linux# mkfs.vfat -F 32 -S 4096 /dev/hdc1 mkfs.vfat 2.11 (12 Mar 2005)
    |> Linux# mount /mnt/cf
    |> Linux# df | grep cf
    |> /dev/hdc1 1048192 32 1048160 1% /mnt/cf Linux#
    |
    | I wonder if this is some sort of limitation of your card reader? Try
    | formatting it to EXT3, if it's still only 1G then the problem is probably
    | the reader.

    Also try:

    cat /proc/partitions

    --
    |---------------------------------------/----------------------------------|
    | Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
    | first name lower case at ipal.net / spamtrap-2007-12-11-0847@ipal.net |
    |------------------------------------/-------------------------------------|

+ Reply to Thread