-
mkfs.ext3 corrupting the partition table - bug?
Hi,
I'm having problem with the mkfs.ext3. It looks like that it corrupts the partition table of my compactFlash disks connected thru the USB. Here's my test sequence:
- connect a 128MB compactFlash thru USB
- execute fdisk to print the partition table => there's a primary partition
- execute mkfs.ext3 to format the disk => seems OK but ...
- execute fdisk to check and verify => partition table corrupted.
I've done this sequence repeatly, and tried with several compactFlash disks. Same result with all the compactFlash disks that i tried. For information, the compactFlash is a ScanDisk 128MB.
See trace below.
Any ideas?
Kind regards,
Shaofeng
<Beginning of trace>
------------------------
sh-3.00# fdisk /dev/sda1
Command (m for help): p
Disk /dev/sda1: 128 MB, 128450048 bytes
8 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/sda1p1 1 979 125296 83 Linux
Command (m for help): q
sh-3.00#
sh-3.00# mkfs.ext3 /dev/sda1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
31360 inodes, 125436 blocks
6271 blocks (5.00%) reserved for the super user
First data block=1
16 block groups
8192 blocks per group, 8192 fragments per group
1960 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
sh-3.00#
sh-3.00#
sh-3.00# fdisk /dev/sda1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): q
<End of trace>
-----------------
Similar Threads
-
By Nevermore in forum MS Windows & New to Linux
Replies: 1
Last Post: 07-17-2009, 01:59 PM
-
By adamherb in forum MS Windows & New to Linux
Replies: 0
Last Post: 08-06-2005, 03:24 PM
-
By yonatan in forum Hardware & Booting
Replies: 9
Last Post: 02-17-2005, 02:00 AM
-
By NormanBates in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 08-21-2004, 06:46 AM
-
By Canis in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 11-13-2003, 07:52 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid
$139.99

Genuine Intel Xeon W-2145 3.70Ghz 8 Cores LGA2066 CPU SR3LQ Tested USA SELLER
$94.94

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD
$249.00

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00