[opensuse] df reports completely different sizes from fdisk
Hi ListMates, Opensuse Linux (Linux sr-server 2.6.37.6-0.7-default #1 SMP 2011-07-21 02:17:24 +0200 i686 athlon i386 GNU/Linux) I have a very unusual problem where fdisk reports one size BUT df reports a TOTALLY different and unexpected size. Besides doing a full backup, repartition, reformat and restore, is there anything else I can try first?? Here are the outputs: (sda1 and sda2 sizes are completely different from fdisk!!) df -v -h Filesystem Size Used Avail Use% Mounted on rootfs 22G 17G 4.2G 81% / devtmpfs 369M 152K 368M 1% /dev tmpfs 375M 648K 374M 1% /dev/shm /dev/sda2 22G 17G 4.2G 81% / /dev/sda1 15G 7.8G 6.6G 54% /windows/C FDISK reports correctly (sda1, sda2, sda3 = 24Gb, 949Gb, 3.1gb) ==== fdisk /dev/sda Command (m for help): p Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xd9ef0943 Device Boot Start End Blocks Id System /dev/sda1 63 48821534 24410736 7 HPFS/NTFS/exFAT /dev/sda2 * 48821535 1947254714 949216590 83 Linux /dev/sda3 1947254715 1953525167 3135226+ 82 Linux swap / Solaris SFDISK reports correctly also ================== sfdisk -s -l /dev/sda 976762584 Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 0+ 3038 3039- 24410736 7 HPFS/NTFS/exFAT /dev/sda2 * 3039 121210 118172 949216590 83 Linux /dev/sda3 121211 121601- 391- 3135226+ 82 Linux swap / Solaris /dev/sda4 0 - 0 0 0 Empty PARTED also reports correctly ================== parted -l /dev/sda Model: ATA WDC WD10EARX-00N (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 25.0GB 25.0GB primary ntfs type=07 2 25.0GB 997GB 972GB primary ext4 boot, type=83 3 997GB 1000GB 3210MB primary linux-swap(v1) type=82 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Otto Rodusek