我尝试格式化并挂载 64 G USB 闪存盘,但没有成功。当我尝试使用命令 mount -t extfs /dev/sda /mnt 挂载时出现错误
**"JBD: no valid journal superblock found
EXT4-fs (sda1): error loading journal"**
我想知道这是否是由于U盘太大造成的。这是一个新磁盘,在 Windows NTFS 系统上运行良好。我删除了分区,然后尝试在 centos 中使用它,但它不起作用我按照以下说明进行操作在 Linux 上格式化 USB 驱动器
1. fdisk -l says /dev/sda
2. partition gets created properly with fdisk /dev/sda.
3. I did n and then chose primary partition
4. I also did p to print and also did v to verify the partition table.
5. I did w to write the partition.
6. I did mkfs.ext4 /dev/sda1 . And it does not show any problems
fdisk /dev/sda 的输出
*"Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-64000, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-64000, default 64000):
Using default value 64000
Command (m for help): p
Disk /dev/sda: 67.1 GB, 67108864000 bytes
64 heads, 32 sectors/track, 64000 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2fea756a
Device Boot Start End Blocks Id System
/dev/sda1 1 64000 65535984 83 Linux
"*
mkfs.ext4 的输出
*"[root@rverma ~]# mkfs.ext4 /dev/sdc1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
4096000 inodes, 16383996 blocks
819199 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
500 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override."*