[SOLVED] using Ubuntu how do I create a folder more than 4.2GB
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
using Ubuntu how do I create a folder more than 4.2GB
I am fairly new to Linux. Although I have been using it for a while, it was merely something that I tried occasionally when I was not bust doing whatever in windows.
I am now getting more and more "into it" and the more I use it the more I like it.
I am however stuck with an issue which is not a disaster if I don't sort out but is driving me to distraction.
The info you really need
I dual boot with windows 7 (2 separate internal drives)
I do my own backups with a bat file I created (just form data)
I copy this backup to an external drive once a month
I am trying to go into Linux (Ubuntu) and copy this same backup file to a folder there.
The problem is that whenever I create a folder to copy it to, it is only 4.2 GB and the backup is larger.
Any help would be gratefully accepted
I have some experience of writing code but after a recent illness I sometimes find it difficult to concentrate so I will apologise in advance if I ask stupid questions.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Folders have no size as such, they are containers for other files, when you do a get info on a folder and get it's size that is really telling you the size of the files in side it, if you are having problems copying a a large file to start with make sure there is enough space on the external disk also remember that if you are comming from windows and you have your disk formated as FAT there is a file system limit to the file size of any individual file, 4G as I remember, so you may need to reformat the drive to somthing like ext(2/3/4).
Distribution: Linux From Scratch, Slackware64, Partedmagic
Originally Posted by schneidz
seems like the destination drive you are trying to create a backup on is formatted in windows fat-32 filesystem.
formatting it into a linux filesystem (e.g. ext2) would allow higher capacity fileslease show us the output of the mount command.
Hello all and thanks for super quick replies
The hard drive that has Linux on that I am trying to copy to is 480 GB It should be 500 I had problems when I set it up. I thought it fas formatted to EXT4 but I could be wrong. (mount info below) I should have explained that windows can not see this drive but I can see and copy from windows to this drive from Linux as Linux can see Windows drive. The files are all data that Linux seems to be able to read e.g. word docs, jpeg etc. and the backup is simply a folder containing each of these in separate folders e.f. d:\mytempbackup\documnts\(and all the word docs in this folder).
The size of the backup folder is 10.5 GB in total
/dev/sdc5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=paul)
/dev/sdc1 on /media/paul/9f27fb9d-35ba-4fb8-be5d-69df991c5897 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
sorry for the confusion everyone, not sure exactly what happened as stated by suicidaleggroll directories don't have file sizes anyway I have just tried again (8th attempt!) and had no problem whatsoever.
so many many apologies as I said no idea what I was doing wrong (but that's not unusual these days)
Ext4 tends to default to 4k block sizes which allows for 1TB sized FILES. Bear in mind that some applications are still only capable of dealing in files < 4.3GB (aka 2^32 bytes), so best not to exceed that in practice. Kind of hard with HD media and high resolution images these days. Mostly a 32 bit limit and legacy application limit. You can use split to break up a large file for transport over lesser filesystems.
You should be able to read ext4 in windows, but not by default, you'll need additional 3rd party software. Of course. Not that I would know, never done that and haven't willingly run windows for over a decade.
just an update. I have spent at least 5 hours trying to recreate the problem and I can't. The only thing that I did that I realise wouldn't work was to try ad create a director in boot. but this was not the problem I had. If I do mahage to recreate it I will let you know