Odd st_blocks values from smbfs in 2.6.0-test8

From: Adam Sampson (azz_at_us-lot.org)
Date: 10/24/03

  • Next message: Chris Wright: "[PATCH] sysctl core_setuid_ok fix"
    Date:	Fri, 24 Oct 2003 22:44:44 +0100
    To: urban@teststation.com
    
    

    Hiya.

    I've just installed 2.6.0-test8 -- it works beautifully, but I did
    notice this odd bit of behaviour from smbfs that I haven't previously
    seen. It appears that it's producing an odd value for the st_blocks stat
    value:

    $ smbmount //server/share mnt
    $ cd mnt
    $ echo hello >hello
    $ ls -l hello
    -rwxr--r-- 1 nobody nogroup 6 Oct 24 22:38 hello
    $ stat hello
      File: `hello'
      Size: 6 Blocks: 1048576 IO Block: 4096 regular file
    Device: fh/15d Inode: 1641 Links: 1
    Access: (0744/-rwxr--r--) Uid: ( 9999/ nobody) Gid: ( 9999/ nogroup)
    Access: 2003-10-24 22:38:58.000000000 +0100
    Modify: 2003-10-24 22:38:58.000000000 +0100
    Change: 2003-10-24 22:38:58.000000000 +0100

    $ du -a hello
    524288 hello
    $ du -ah hello
    512M hello

    The server here's Samba 3.0.1pre1, but it does the same with Samba 2 as
    well.

    Thanks,

    -- 
    Adam Sampson <azz@us-lot.org>                        <http://offog.org/>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Chris Wright: "[PATCH] sysctl core_setuid_ok fix"

    Relevant Pages

    • Re: Q about pagecache data never written to disk
      ... The calling convention looks very very odd also; ... one of the results whenever there are multiple concurrent callers of it ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: new dev model (was Re: Default cache_hot_time value back to 10ms)
      ... Mainline is suffering too - lots of people I know running 2.6 on production ... systems have noted a marked increase in problems, crashes, odd things. ... I can try to gather the general reports I hear from people - it might well ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: swsusp: revert to 2.6.0-test3 state
      ... > of how kernel development is to be accomplished. ... Patrick decided 6 is odd for him and Linus failed to stop that :-(. ... ...vgf orggre jura vgf serr. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Possible dcache BUG
      ... > Whereas the error was always at an odd address, and in the 2nd LSbyte, ... There has been no more Oops, but with memburn eating ... > I've peaked at nearly a gig of swap, and 754 megs in swap right now. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test2-mm5
      ... > Odd, odd. ... Attached are the full boot messages before the crash plus lspci -vvv ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)