1、# tail -f /var/log/syslog查看文件系统的动态信息:
May 19 21:31:28 controller kernel: [284792.451452] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
【Ubuntu U盘变成只读文件系统解决办法】2、df -h 确定U盘的磁盘基本情况:
/dev/sdb115G7.8G6.9G54% /media/Hadoop/disk
3、umount/media/**(**为U盘名,在/media下 ls 查看)。
4、运行命令:fsck -C -a /dev/sdb1
PS:/dev/sdb1 为U盘设备挂载点。