Hello list,
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?
Twanny Azzopardi wrote:
Hello list,
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?
mark
On Mon, 5 Nov 2012, m.roth@5-cent.us wrote:
Twanny Azzopardi wrote:
Hello list,
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?
Assuming that is the file size in bytes, it's bigger than will fit on the stick.
Steve
Sorry it's a 64GB stick
On Monday 05 November 2012 22:24, Steve Thompson wrote:
On Mon, 5 Nov 2012, m.roth@5-cent.us wrote:
Twanny Azzopardi wrote:
Hello list,
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?
Assuming that is the file size in bytes, it's bigger than will fit on the stick.
Steve _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Am 05.11.2012 um 22:30 schrieb Twanny Azzopardi:
On Monday 05 November 2012 22:24, Steve Thompson wrote:
On Mon, 5 Nov 2012, m.roth@5-cent.us wrote:
Twanny Azzopardi wrote:
What's the o/p of df?
Assuming that is the file size in bytes, it's bigger than will fit on the stick.
Sorry it's a 64GB stick
check if the stick is ok with
dd if=/dev/XXX1 of=/dev/null bs=1024
any errors?
-- LF
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
On Monday 05 November 2012 22:20, m.roth@5-cent.us wrote:
Twanny Azzopardi wrote:
Hello list,
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?
mark
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Please don't top post.
Twanny Azzopardi wrote:
On Monday 05 November 2012 22:20, m.roth@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
On Monday 05 November 2012 22:35, m.roth@5-cent.us wrote:
Please don't top post.
Twanny Azzopardi wrote:
On Monday 05 November 2012 22:20, m.roth@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@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
From: Twanny Azzopardi twanny.azzopardi@gmail.com
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
Just in case, you did not partition the whole key... right?
One test would be to try to copy 9 files of 1GB and see at what point it fails (if it does)...
When I was making my install usb keys, some of them did not seem to like "big" files for some unknown reason... Had to replace the DVD iso files with the CD ones.
JD