Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

2.2 gb file limit?

  • 05-10-2008 9:10am
    #1
    Closed Accounts Posts: 12,807 ✭✭✭✭


    I've got two Ubuntu boxes here. One is Feisty 32bit and the other is Mythbuntu (I thought it was 64bit but now I'm not so sure).

    When trying to copy a file that's 4.4 gb using scp, standard copy/paste or scp it dies at about 2.2gb on both systems. I can copy the same file perfectly on a Windows box. All partitions are either Ext3 or XFS. I thought that the 2.2 limit was raised in kernel 2.6 - am I wrong?

    How can I check whether my Mythbuntu installation is 64 bit or not?
    uname -r
    2.6.24-19-generic
    
    cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=8.04
    DISTRIB_CODENAME=hardy
    DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
    


Comments

  • Registered Users, Registered Users 2 Posts: 3,312 ✭✭✭mr_angry


    The maximum file size is dependent on the block size used by your file system, but I believe it defaults normally to 4KB blocks, so you should have a maximum file size of ~2 terabytes. Sounds like your hitting some other kind of network IO limit, or something.

    Sorry I couldn't be of more help!


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    I don't think that it's a network io limit - I can copy the file to a nas from the windows box. One thing I forgot to mention is that this file is actually on a linux box - it was ftp-ed to it no problem. But I can't copy it from the linux box to the nas or the other linux box from linux - but I can from Windows :(


  • Registered Users, Registered Users 2 Posts: 3,312 ✭✭✭mr_angry


    What protocol are you using to execute the copy? SCP?


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    tried scp to the myth from feisty - initiated on both pcs. copy and paste to an nfs mount on the nas. ftp and nfs mount copy from the nas to myth. All failed at 2.2gb. FTP to the nas from Feisty worked I think - I was getting a bit frustrated last night trying to figure it out so can't remember all the steps I took.

    [edit]I've just checked my downloads folder and the only copy of mythbuntu there is 64-bit so I assume that's what's on the box - how can I check that?


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    Don't know if this is relevant but:
    steve@bas-tyra:~$ sudo dumpe2fs -h /dev/sda3 | grep -i "block size"
    dumpe2fs 1.40.8 (13-Mar-2008)
    dumpe2fs: Bad magic number in super-block while trying to open /dev/sda3
    

    sda3 is XFS.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,065 ✭✭✭Snowbat


    dumpe2fs is for ext2/ext3 filesystems only. The equivalent command for the XFS filesystem is xfs_info.


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    I've no idea why that would fail. Maybe try rsync. Is there definitely enough free disk space?
    Macros42 wrote: »
    [edit]I've just checked my downloads folder and the only copy of mythbuntu there is 64-bit so I assume that's what's on the box - how can I check that?

    uname -m

    or

    uname -a


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    It is AMD64 - I discovered that when I tried to install Flash in FF :D

    definitely enough free space.

    I'm now thinking that it may be a network flooding issue. Had a problem downloading a 1gb file to the nas on my Feisty32 box. I'm going to upgrade the firmware on the nas and maybe get a cheap gigabit switch.

    @Khannie - stay tuned for my post on video stutters on my HTPC - Gigabyte mb with onboard ATI card ;)


  • Registered Users, Registered Users 2 Posts: 6,036 ✭✭✭trellheim


    what's it say when it's halted ? anything ?

    cat bigfile > bigfilename_on_other_drive .. how does that do

    when it halts open another window, ps -ef|grep cp

    strace -f -p <cp pid>

    see why it's waiting


  • Closed Accounts Posts: 29 Sligo 2008


    jim


  • Advertisement
Advertisement