You are here

Best practice for Formatting a USB

11 posts / 0 new
Last post
chas4
Offline
Last seen: 16 years 2 months ago
Joined: 2008-12-02 10:12
Best practice for Formatting a USB

Hi all

Is there any recommendation for best performace out of a USB? What should the USB be formatted in to use on a Windows box. FAT32? What about allocation units?

Dagenham
Dagenham's picture
Offline
Last seen: 2 years 1 month ago
Joined: 2007-03-23 06:19
Depends on your needs

If you attempt to store files larger than 4 GB on your pendrive, you should format the drive to NTFS. Otherwise, you should stay with FAT32 - NTFS is a journaling file system (more I/O, less lifetime :)).

Jimbo
Offline
Last seen: 5 years 3 weeks ago
Joined: 2007-12-17 05:43
write cycles is generally a red herring

To be honest, the idea of a flash drive wearing out due to NTFS is not likely.

Most flash chips these days, even NOR flash, are good for in the order of 100,000 write cycles per cell, which is a whole lot of writes.

However, the Formal USB 2.0 Device specification, states that the USB Connector itself needs only be good for "1,500 insertion/extraction cycles at a maximum rate of 200 cycles per hour."

Which rather suggests to me that you'll snap the end off your drive before the flash cells on it start to degrade.

However, if you decide to go NTFS you do need to be aware that security will quite possibly bite you when you try to access files on someone else's computer. It is easily fixed, if you know your way around the NTFS security tabs in the properties for the files, but you will need to have admin rights on the machine where you're fixing it up.

Bruce Pascoe
Offline
Last seen: 13 years 1 month ago
Joined: 2006-01-15 16:14
Alternatively

Format it as FAT32 and then convert it from the command line using the /NoSecurity switch. Or just format it in Vista--Vista automatically sets the permissions so that everyone has full access when you format a flash drive for NTFS, as long as the device reports itself as "removable" (this is true for most flash drives, in my experience) and not a hard drive.

For portable hard drives, you'll still probably have to set the permissions manually, though, since the convert trick doesn't work (you can't format anything bigger than 32GB as FAT32) and formatting it directly won't work either since these usually report themselves as hard disks (they show up as "local disk" in Explorer) and therefore Windows will honor permissions for it.

Jimbo
Offline
Last seen: 5 years 3 weeks ago
Joined: 2007-12-17 05:43
....which works fine until...

you copy a whole directory of stuff onto it from an NTFS drive that has some permissions set within the subfolders, at which point there is a good chance that windows will copy the permissions along with the files, no matter how you created the volume in the first place.

All you need to do is forceibly set the perms on root to everyone again, and copy it to all subdirectories, but you need to notice that you have to before you're stuck with unaccessable files.

But yes, using the convert trick is definitely the easiest way to get the volume started.

Bruce Pascoe
Offline
Last seen: 13 years 1 month ago
Joined: 2006-01-15 16:14
I guess XP might copy

I guess XP might copy permissions, but it seems that Vista keeps the permissions open regardless of where the files came from. That's been my experience, anyway.

ottosykora
Offline
Last seen: 10 hours 37 min ago
Joined: 2007-10-11 17:48
on removable drives not

if the drive is marked as removable, there are then no permissions used, but on portable hard drives, well this is different, particularly the problem arises when such drive is created while connected to the computer the normal way, being then normal hard drive with all the permissions being set.

Otto Sykora
Basel, Switzerland

Bruce Pascoe
Offline
Last seen: 13 years 1 month ago
Joined: 2006-01-15 16:14
...

Yes, I know. I already said that in my original post. Smile

EspaÑaks (not verified)
you can't format anything

you can't format anything bigger than 32GB as FAT32

Can't you?? I had a 80GB hard drive with three partitions, two of 20GB & one of 40GB & all with fat32 & WinXP installed on each...

I don't think that the formatting really influde in removeable drives (except on the fact that my supposed 1Gb flashDrive sowed me from WinXp to have 999MB with fat32 & 997MB with NTFS). It maybe have some more security(NTFS) of speed, but I experimented recently & i didn't noticed much more changes. I have my flash drive now formatted with fat32, & goes perfect

Bruce Pascoe
Offline
Last seen: 13 years 1 month ago
Joined: 2006-01-15 16:14
...

Neither Windows XP nor Vista will allow you to format a drive bigger than 32 GB with FAT32. It's an arbitrary limit that really shouldn't be there, but it is anyway. The only way around it is to format the drive with Windows 2000 or Linux if you want FAT32.

NTFS is superior, however, since as a journaling file system, it's far less prone to corruption. If an operation doesn't complete--say, because the drive was pulled prematurely or the OS crashed--the journal won't be committed to disk and so the original data stays intact. Almost on the same principle as an airlock.

EspaÑaks (not verified)
Well, it was formatted under

Well, it was formatted under DOS

Log in or register to post comments