#3 udf 0.9.2.1/could only create 32 megs on filesystem.

closed-fixed
Ben Fennema
None
5
2000-05-25
2000-05-22
Truman Lackey
No

Using udf 0.9.2.1 I was only able to copy 32 megs worth of data to a udf filesystem.

Step taken:
1.formatted hard drive partion with udf.
mkudf --blocks=1263472 --blocksize=2048 /dev/hdd1
2. mounted hdd1
mount /dev/hdd1 /mnt/udftest -t udf
3. copied files from /usr/src/linux to /mnt/udftest.

At around 32 megs the filesystem reported that the device was out of free space. When df was ran filesystem still had around 98% free on it.

Discussion

  • Ben Fennema
    Ben Fennema
    2000-05-25

    WOOPS!

    Actually panic'd for me (and I'm still not sure why) but the following patch does fix
    your problem.

    retrieving revision 1.9
    diff -u -p -r1.9 balloc.c
    --- balloc.c 2000/05/06 05:19:02 1.9
    +++ balloc.c 2000/05/25 07:02:23
    @@ -131,10 +131,7 @@ static inline int load_block_bitmap(stru
    {
    int slot;

    - if (bitmap->s_block_bitmap[block_group])
    - return 0;
    - else
    - slot = __load_block_bitmap(sb, bitmap, block_group);
    + slot = __load_block_bitmap(sb, bitmap, block_group);

    if (slot < 0)
    return slot;

     
  • Ben Fennema
    Ben Fennema
    2000-05-25

    • assigned_to: nobody --> bfennema
    • status: open --> closed-fixed