下载文件后只读文件系统

下载文件后只读文件系统

Read-only当我的硬盘工作量很大时,我的 ubuntu 就变成了这样!例如,在下载大文件(超过 1GB)或full-upgrading使用 apt(约 400MB)后,我无法打开任何桌面应用程序,甚至无法tab-completion在终端中使用!解决方案是重新启动笔记本电脑,当initramfs页面出现时运行以下命令:

fsck.ext4 /dev/sda7 
(and press "a" to answer "inodes that were part of a corrupted orphan linked list found")

/dev/sda7我的分区在哪里/home?我将文件下载到了这个分区。

运行此命令后,我的 ubutnu 再次启动,但当硬盘工作很多时,问题又出现了!问题是什么?是我的硬盘问题还是软件问题?我该如何解决这个问题?提前致谢。

附加信息:

  • 华硕 x450ld
  • Ubuntu 18.04
  • KDE 桌面

命令输出df -i

Filesystem       Inodes  IUsed    IFree IUse% Mounted on
udev             998575    581   997994    1% /dev
tmpfs           1006147    981  1005166    1% /run
/dev/sda6       6566400 858571  5707829   14% /
tmpfs           1006147    136  1006011    1% /dev/shm
tmpfs           1006147      6  1006141    1% /run/lock
tmpfs           1006147     18  1006129    1% /sys/fs/cgroup
/dev/loop0        12860  12860        0  100% /snap/core/5328
/dev/loop1        12847  12847        0  100% /snap/core/5145
/dev/loop2          370    370        0  100% /snap/pdftk/1
/dev/loop3          370    370        0  100% /snap/pdftk/9
/dev/loop4        12842  12842        0  100% /snap/core/4917
/dev/sda7      40853504 541797 40311707    2% /home
tmpfs           1006147     41  1006106    1% /run/user/1000

输出journalctl /dev/sda

-- Logs begin at Wed 2018-07-11 04:11:38 +0430, end at Fri 2018-09-28 20:48:21 +0330. --
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: [8086:9c03] type 00 class 0x010601
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x10: [io  0xf0b0-0xf0b7]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x14: [io  0xf0a0-0xf0a3]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x18: [io  0xf090-0xf097]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x1c: [io  0xf080-0xf083]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x20: [io  0xf060-0xf07f]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: reg 0x24: [mem 0xf7a22000-0xf7a227ff]
september 28 02:28:38 X450LD kernel: pci 0000:00:1f.2: PME# supported from D3hot
september 28 02:28:38 X450LD kernel: ahci 0000:00:1f.2: version 3.0
september 28 02:28:38 X450LD kernel: ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
september 28 02:28:38 X450LD kernel: ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x3 impl SATA mode
september 28 02:28:38 X450LD kernel: ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo only pio slum part deso sadm sds apst 
september 28 02:28:38 X450LD kernel: scsi host0: ahci
september 28 02:28:38 X450LD kernel: scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MQ01ABD1 2J   PQ: 0 ANSI: 5
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] Write Protect is off
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
september 28 02:28:38 X450LD kernel: sd 0:0:0:0: [sda] Attached SCSI disk
september 28 13:22:40 X450LD kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
september 28 13:22:40 X450LD kernel: sd 0:0:0:0: [sda] Stopping disk
september 28 13:22:40 X450LD kernel: sd 0:0:0:0: [sda] Starting disk

相关内容