[CentOS] Copying a file to a usb stick

Mon Nov 5 21:42:46 UTC 2012
Twanny Azzopardi <twanny.azzopardi at gmail.com>

On Monday 05 November 2012 22:35, m.roth at 5-cent.us wrote:
> Please don't top post.
>
> Twanny Azzopardi wrote:
> > On Monday 05 November 2012 22:20, m.roth at 5-cent.us wrote:
> >> Twanny Azzopardi wrote:
> >> > I formatted a 64MB usb stick with this command 'mkfs.ext2 -b 1024
> >> > /dev/XXX1' ,
> >> > to copy a file of 9230653440, but when it reached 7921295360, it gave
> >> > input/output error and the file is not copied.
> >> >
> >> > How should this be done?
> >>
> >> What's the o/p of df?
> >
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > /dev/mapper/VolGroup00-LogVol00
> >                      281769440  38265676 228959688  15% /
> > /dev/hda1               101086     18743     77124  20% /boot
> > tmpfs                   501104         0    501104   0% /dev/shm
> > /var/ftp/iso/CentOS-5.8-i386-bin-DVD-1of2.iso
> >                        3831642   3831642         0 100% /var/ftp/centos
> > /var/ftp/iso/FreePBX-1.814.210.58-i386-Full-1343753603.iso
> >                         728838    728838         0 100% /var/ftp/FreePBX
> > /dev/sde1             33016917   7770601  23568730  25% /mnt
>
> When you did that, a) is the flash drive mounted, and b) is it /dev/sde1?
>
> Actually, now I'm *really* confused: did you mean that the drive was 64G,
> or 64M?
>
> Finally, please realize that the metadata for a filesystem will result in
> the filesystem being smaller than the raw drive. For example, here at
> work, I have a 250G drive, with a 1G /boot, a 2G swap, and the rest /...
> and formatted, / is 229G.
>
>      mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
output of fdisk:
Command (m for help): p

Disk /dev/sde: 68.7 GB, 68719476736 bytes
255 heads, 63 sectors/track, 8354 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1        4177    33551721   83  Linux
---
output of ll
-rw-r--r-- 1 user user 9230653440 Aug  5 22:47 file.tar