microSD && ext3 file system

Matthias Apitz guru at unixarea.de
Mon Apr 2 20:49:10 CEST 2012

El día Monday, April 02, 2012 a las 08:32:51PM +0200, Jiří Pinkava escribió:

> Hi,
> after umout is the filesystem broken? I have experience where are writen 
> some pseudorandom data, which overiwrite even forst sector (after 
> restart disk partition are not show, SD card is "unformated").
> Is this you case?


Not exactly. It seems that through writing files to the ext3 file system
it gets broken; and after this "fdisk -l" does not show the partition

btw: when I format this with mkfs.vfat, all is fine; but the space is
only 1GB while the partition is around 4GB:

root at om-gta02 ~ # fdisk -l /dev/mmcblk0  

Disk /dev/mmcblk0: 3953 MB, 3953131520 bytes
4 heads, 16 sectors/track, 120640 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x0aecb0ac

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               1      120640     3860472   83  Linux
root at om-gta02 ~ # df -kh /dev/mmcblk0p1
Filesystem                Size      Used Available Use% Mounted on
/dev/mmcblk0p1         1022.0M    394.0M    627.9M  39% /media/card

Why is this?


Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

More information about the community mailing list