Filesystem fdisk and mount disagree
I'm not sure if everything is OK, or if I have to redo what I did. For backup I purchased a USB 3, 1.5 TB external drive. (Using it USB 2 mode) The drive came formatted NTFS. Not wanting to hassle with that, I reformatted it as EXT4. That went fine, or so it seems. Now when I run fdisk, the partition still shows up as NTFS. Command (m for help): p Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3e12cce7 Device Boot Start End Blocks Id System /dev/sdb1 1 182401 14651360017 HPFS/NTFS ...but mount shows an ext4 filesystem: root@Mark:/tmp# mount /dev/sda2 on / type ext3 (rw,noatime) /dev/sdb1 on /media/339ca221-4ec1-45c2-9969-af0d8b5ffb0b type ext4 (rw,nosuid,nodev,uhelper=udisks) Soshould I fdisk the drive, delete what appears to fdisk to be an NTFS partition, create an ext4 and reformat it? (I'm guessing that this is why I'm getting errors from my backup program) Thanks, Mark -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201110080957.38090.m...@neidorff.com
Re: Filesystem fdisk and mount disagree
On Sat, 08 Oct 2011 09:57:38 -0400, Mark Neidorff wrote: I'm not sure if everything is OK, or if I have to redo what I did. For backup I purchased a USB 3, 1.5 TB external drive. (Using it USB 2 mode) The drive came formatted NTFS. Not wanting to hassle with that, I reformatted it as EXT4. That went fine, or so it seems. What toolset did you use to create the partition and formatting the unit? Now when I run fdisk, the partition still shows up as NTFS. Command (m for help): p Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3e12cce7 Device Boot Start End Blocks Id System /dev/sdb1 1 182401 14651360017 HPFS/NTFS ...but mount shows an ext4 filesystem: root@Mark:/tmp# mount /dev/sda2 on / type ext3 (rw,noatime) /dev/sdb1 on /media/339ca221-4ec1-45c2-9969-af0d8b5ffb0b type ext4 (rw,nosuid,nodev,uhelper=udisks) Weird, indeed. What does gparted/cfdisk say? Just to have another opinion ;-) Soshould I fdisk the drive, delete what appears to fdisk to be an NTFS partition, create an ext4 and reformat it? (I'm guessing that this is why I'm getting errors from my backup program) fdisk (as its own man page states) is not the recommended tool for making partitions, but parted or cfdisk, I would try with any of those. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.10.08.17.30...@gmail.com
Re: Filesystem fdisk and mount disagree
On 08/10/11 14:57, Mark Neidorff wrote: I'm not sure if everything is OK, or if I have to redo what I did. For backup I purchased a USB 3, 1.5 TB external drive. (Using it USB 2 mode) The drive came formatted NTFS. Not wanting to hassle with that, I reformatted it as EXT4. That went fine, or so it seems. Now when I run fdisk, the partition still shows up as NTFS. Command (m for help): p Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3e12cce7 Device Boot Start End Blocks Id System /dev/sdb1 1 182401 14651360017 HPFS/NTFS ...but mount shows an ext4 filesystem: root@Mark:/tmp# mount /dev/sda2 on / type ext3 (rw,noatime) /dev/sdb1 on /media/339ca221-4ec1-45c2-9969-af0d8b5ffb0b type ext4 (rw,nosuid,nodev,uhelper=udisks) Soshould I fdisk the drive, delete what appears to fdisk to be an NTFS partition, create an ext4 and reformat it? (I'm guessing that this is why I'm getting errors from my backup program) Did you use fdisk (or similar) to change the partition type before reformatting? I'm guessing not. The partition type values that fdisk sees are the one set by fdisk or another partitioning tool. The actual filesystem details depend on what you formatted it as. The two don't have to agree, but it's a good idea to keep them in sync. Use fdisk and change the partition type. No need to delete/recreate the partition, or reformat it. You don't say what errors you are getting from your backup program. Could you enlighten us please? Give examples of the errors and the name of the program you are using. -- Dom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e9089ac.7010...@rpdom.net