LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   4Gb limitation on my 1Tb external hard driver (https://www.linuxquestions.org/questions/linux-newbie-8/4gb-limitation-on-my-1tb-external-hard-driver-720500/)

fixeyeson 04-20-2009 03:56 PM

4Gb limitation on my 1Tb external hard driver
 
Hi guys,
I got 1Tb external hard driver install in SUSE 11.0. Everything is fine just plug and play. The problem is when I want to copy a big file (i.e 7Gb, 10Gb) it stopped at 4Gb limitation. It said something like: "Could not write to file /media/MyBook .."
Anyone get an idea about this? I guest I should do something with security or permission but I don't know how.
Many thanks in advanced.

-FiX

the trooper 04-20-2009 04:04 PM

I would suspect that the external hard drive is formatted with the 'fat' filesystem.
Because of this you are limited to a 4gb filesize.
The following link gives you some background:

http://en.wikipedia.org/wiki/File_Allocation_Table

You will need to change the filesystem type to get around this.

fixeyeson 04-20-2009 04:38 PM

My file system is vfat.
What you suggest is format my external hdd to change it to ntfs system ?
could you tell me more detail about it ?
Thanks

jmite 04-20-2009 06:38 PM

Here's the question. Do you still have windows? Do you need to write to the drive, or just read from it?

If you still have windows, there's a way to convert FAT to NTFS, which wouldn't have a size limit, without wiping away all your files. Theres a risk of data loss, but it's not a sure thing.

I'm not sure how linux support for NTFS is. I know it can read it, but I'm not sure how write support is.

Alternately, if you are able to wipe out your external hard drive, format it to ext2, ext3, jfs, xfs, or another linux file system. WARNING: this will delete all data on the hard drive. don't do this if you still need those files.

syg00 04-20-2009 07:03 PM

When Windoze is involved I use NTFS for (large) data movement I don't care if I lose(*) - the ntfs-3g support is fine. The problem with NTFS is that you must have access to a Windoze system if there are errors on the partition - being a proprietary format, you have to chkdsk it from Windoze. Obviously not an issue if you are concerned about moving stuff between Win and Linux.
Else just use any of the available filesystems. (I prefer no to use any of the IFSs to read Linux f/s from Windoze - bad experiences in the past).

(*): meaning I use them as transition only - I copy the data to the external, and (maybe) copy then to Linux. If the external gets trashed who cares, the original is still intact.

fixeyeson 04-20-2009 11:30 PM

Thank you guys for your advices. I use dual boot SUSE/Window but I use SUSE most of my time. My external HDD was used only for storing my data. I should say again my problem occur only when I transfer the file that is lager than 4Gb. If the all the file smaller it will be fine. I have already filled my 30Gb/1Tb of my external HDD.
So the solution is change from FAT to NTFS format. I found some more advices here
Any suggestion that how NTFS compatible with Linux SUSE 11.0 ? I check on the internet that you have to mount the HDD every time you restart the PC and it seems rather unstable ?
BTW, I will first contact my customer services because my HDD still new. Let see what is their suggestion.

linuxlover.chaitanya 04-21-2009 12:27 AM

The support with NTFS as said earlier is fine. You just need ntfs-3g package to read and write ntfs partitions. It should be available in OpneSuSe by default.
You dont need to mount the partition every time after boot if you edit your /etc/fstab file to tell suse to mount it at boot.

jmite 04-21-2009 11:25 PM

hate to link to MS, but I have to reccomend this howto:

http://technet.microsoft.com/en-us/l.../bb456984.aspx

NTFS isn't open source, but to keep your data, it's best in this paricular instance...

fixeyeson 04-22-2009 04:34 PM

Thank you very much for your advices.
I have checked with WD customer services they have some guide to change the format here
So I think I will have no problem with change the to NTFS format.

Quote:

The support with NTFS as said earlier is fine. You just need ntfs-3g package to read and write ntfs partitions. It should be available in OpneSuSe by default.
You dont need to mount the partition every time after boot if you edit your /etc/fstab file to tell suse to mount it at boot.
@chaitanya: could you please tell me more detail about mounting problem.
I just practice with my 500Gb HDD. I can mount it with
Quote:

su -c 'mount -t ntfs-3g /dev/sdb1 /mnt/500Gb'
But I can't make it run every time I restart my computer. Sometime the path was changed when I plug my USB in. For example it will change to /dev/sdc1 or ...
Thanks.
-FIX

jmite 04-22-2009 06:05 PM

you could try using a UUID instead of a /dev reference.

You can see the UUID of devices with the command blkid

jschiwal 04-22-2009 06:22 PM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3515841)
The support with NTFS as said earlier is fine. You just need ntfs-3g package to read and write ntfs partitions. It should be available in OpneSuSe by default.
You dont need to mount the partition every time after boot if you edit your /etc/fstab file to tell suse to mount it at boot.

For an external drive, if the automounting works, leave your fstab alone. If you add the drive to /etc/fstab, HAL will not automount it for you.

If not, use the UUID of the filesystem instead of the device node and use the "noauto" option. Also use the "user" or "users" option so you can mount it as a regular user. Using the UUID, the partition will be mounted even if the device node is different. If the drive is unplugged or turned off, automounting it at boot can cause boot up to fail. Hence the "noauto" is needed to prevent this.

I would recommend a native Linux filesystem. If you don't connect it to a windows machine, you can use samba to share it with your windows machine on the network. Using ntfs, you can't save files with Linux permissions or timestamps unless you archive it instead of saving files. You could partition it with a smaller ntfs partition if you want to hook it to a windows machine. Also, while Linux can save files on an NTFS filesystem, it can't fully repair one if something goes wrong. For that you need windows.

fixeyeson 04-29-2009 09:23 AM

Hi,
I am trying to use blkid and UUID but I could not get it work. I could not get blkid command run in SUSE 11.0. What I did is search in YAST and install all the related package.
Could anyone tell me detail how to use blkid and UUID to get my NTFS external HDD run automatically ? Sorry I am still newbie in Linux.
Thanks,

linuxlover.chaitanya 04-30-2009 12:30 AM

This is what your fstab entry should look like. You will need to change the UUID and mount points and other details that are specific to your needs.

Code:

UUID=0ac1c898-a214-438c-b603-791411e18b45 /              ext3    relatime,errors=remount-ro 0      1


All times are GMT -5. The time now is 02:46 PM.