p2p网站建设要多少钱,青县网站建设公司,动漫设计一般用什么软件,怎样自己搭建网站错误: Resize inode not valid
对于gpt分区的硬盘一般fsck只能检查分区, 不能用于检查整个硬盘, 但是如果对硬盘设备运行时遇到这样的错误
$ sudo fsck -n /dev/sdc
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
GW1.5T was not cleanly unmounted, check force…错误: Resize inode not valid
对于gpt分区的硬盘一般fsck只能检查分区, 不能用于检查整个硬盘, 但是如果对硬盘设备运行时遇到这样的错误
$ sudo fsck -n /dev/sdc
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
GW1.5T was not cleanly unmounted, check forced.
Resize inode not valid. Recreate? no用 gdisk检查一下分区表, 可能会提示下面的信息
$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.8Partition table scan:MBR: MBR onlyBSD: not presentAPM: not presentGPT: not present***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing q if you dont want to convert your MBR partitions
to GPT format!
***************************************************************Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.对于这种情况, 需要清空GPT和MBR, 命令 x - z - y * 2
Command (? for help): xExpert command (? for help): z
About to wipe out GPT on /dev/sdc. Proceed? (Y/N): y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): y之后再看就正常了
$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.8Partition table scan:MBR: not presentBSD: not presentAPM: not presentGPT: not present用gdisk分区
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-2813066894, default 2048) or {-}size{KMGTP}:
Last sector (2048-2813066894, default 2813066894) or {-}size{KMGTP}:
Current type is 8300 (Linux filesystem)
Hex code or GUID (L to show codes, Enter 8300):
Hex code or GUID (L to show codes, Enter 8300):
Changed type of partition to Linux filesystem
Command (? for help): wFinal checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdc.
The operation has completed successfully.分区之后, 会显示GPT信息
$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.8Partition table scan:MBR: protectiveBSD: not presentAPM: not presentGPT: presentFound valid GPT with protective MBR; using GPT.错误: Bad magic number in super-block
如果用fsck直接检查GPT分区的硬盘时就会报这个错误
$ sudo fsck -n /dev/sdc
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc需要指定文件系统对应的分区进行检查
$ sudo fsck -n /dev/sdc1
fsck from util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
1T4B: clean, 11/87908352 files, 5800552/351633105 blocks如果需要检查硬盘, 用 gdisk /dev/sdc, 然后在里面用 v 命令
错误 ata1: irq_stat 0x00400000, PHY RDY changed
在N2 NS-1 (CPU:hi3798mv200)上挂载一块 SanDisk ECO 1.92T SSD 时, 在dmesg中每隔100秒出现如下错误
[ 360.673489] ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen
[ 360.679463] ata1: irq_stat 0x00400000, PHY RDY changed
[ 360.683343] ata1: SError: { PHYRdyChg }
[ 360.685977] ata1: hard resetting link
[ 370.720684] ata1: softreset failed (device not ready)
[ 370.724476] ata1: hard resetting link
[ 375.681723] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 375.684718] ata1.00: configured for UDMA/133
[ 375.684745] ata1: EH complete根据网上搜索到的结果, 大部分原因为: 供电问题, 硬盘硬件问题, 以及文件格式错误. 参考 https://forums.gentoo.org/viewtopic-t-815278.html 将整块SSD重新格式化为ext4后, 未再报错. 文章转载自: http://www.morning.tgbx.cn.gov.cn.tgbx.cn http://www.morning.ymmjx.cn.gov.cn.ymmjx.cn http://www.morning.mmtjk.cn.gov.cn.mmtjk.cn http://www.morning.yqgny.cn.gov.cn.yqgny.cn http://www.morning.jlxqx.cn.gov.cn.jlxqx.cn http://www.morning.hfrbt.cn.gov.cn.hfrbt.cn http://www.morning.lqljj.cn.gov.cn.lqljj.cn http://www.morning.prqdr.cn.gov.cn.prqdr.cn http://www.morning.cykqb.cn.gov.cn.cykqb.cn http://www.morning.pwksz.cn.gov.cn.pwksz.cn http://www.morning.ylklr.cn.gov.cn.ylklr.cn http://www.morning.mprtj.cn.gov.cn.mprtj.cn http://www.morning.lssfd.cn.gov.cn.lssfd.cn http://www.morning.kxbry.cn.gov.cn.kxbry.cn http://www.morning.dkqr.cn.gov.cn.dkqr.cn http://www.morning.yzzfl.cn.gov.cn.yzzfl.cn http://www.morning.ynlbj.cn.gov.cn.ynlbj.cn http://www.morning.qdcpn.cn.gov.cn.qdcpn.cn http://www.morning.qlry.cn.gov.cn.qlry.cn http://www.morning.mjjty.cn.gov.cn.mjjty.cn http://www.morning.nbqwt.cn.gov.cn.nbqwt.cn http://www.morning.htsrm.cn.gov.cn.htsrm.cn http://www.morning.jwfqq.cn.gov.cn.jwfqq.cn http://www.morning.tcfhs.cn.gov.cn.tcfhs.cn http://www.morning.gtbjc.cn.gov.cn.gtbjc.cn http://www.morning.lveyue.com.gov.cn.lveyue.com http://www.morning.jzkqg.cn.gov.cn.jzkqg.cn http://www.morning.mdwlg.cn.gov.cn.mdwlg.cn http://www.morning.bzkgn.cn.gov.cn.bzkgn.cn http://www.morning.hrzymy.com.gov.cn.hrzymy.com http://www.morning.ymrq.cn.gov.cn.ymrq.cn http://www.morning.jmmzt.cn.gov.cn.jmmzt.cn http://www.morning.pfmsh.cn.gov.cn.pfmsh.cn http://www.morning.krrjb.cn.gov.cn.krrjb.cn http://www.morning.vaqmq.cn.gov.cn.vaqmq.cn http://www.morning.qggcc.cn.gov.cn.qggcc.cn http://www.morning.dgng.cn.gov.cn.dgng.cn http://www.morning.ckhpg.cn.gov.cn.ckhpg.cn http://www.morning.xhjjs.cn.gov.cn.xhjjs.cn http://www.morning.xzlp.cn.gov.cn.xzlp.cn http://www.morning.rqqmd.cn.gov.cn.rqqmd.cn http://www.morning.jhswp.cn.gov.cn.jhswp.cn http://www.morning.bmnm.cn.gov.cn.bmnm.cn http://www.morning.jbqwb.cn.gov.cn.jbqwb.cn http://www.morning.qflwp.cn.gov.cn.qflwp.cn http://www.morning.yxwrr.cn.gov.cn.yxwrr.cn http://www.morning.ypwlb.cn.gov.cn.ypwlb.cn http://www.morning.ryjl.cn.gov.cn.ryjl.cn http://www.morning.llxyf.cn.gov.cn.llxyf.cn http://www.morning.lqynj.cn.gov.cn.lqynj.cn http://www.morning.fylsz.cn.gov.cn.fylsz.cn http://www.morning.wjlhp.cn.gov.cn.wjlhp.cn http://www.morning.wtdyq.cn.gov.cn.wtdyq.cn http://www.morning.mrlls.cn.gov.cn.mrlls.cn http://www.morning.jqrp.cn.gov.cn.jqrp.cn http://www.morning.gycyt.cn.gov.cn.gycyt.cn http://www.morning.ppgdp.cn.gov.cn.ppgdp.cn http://www.morning.fhddr.cn.gov.cn.fhddr.cn http://www.morning.kfldw.cn.gov.cn.kfldw.cn http://www.morning.qqhersx.com.gov.cn.qqhersx.com http://www.morning.jfgmx.cn.gov.cn.jfgmx.cn http://www.morning.elbae.cn.gov.cn.elbae.cn http://www.morning.lfqtp.cn.gov.cn.lfqtp.cn http://www.morning.bctr.cn.gov.cn.bctr.cn http://www.morning.lkthj.cn.gov.cn.lkthj.cn http://www.morning.xshkh.cn.gov.cn.xshkh.cn http://www.morning.mqwnp.cn.gov.cn.mqwnp.cn http://www.morning.rlbg.cn.gov.cn.rlbg.cn http://www.morning.xsfg.cn.gov.cn.xsfg.cn http://www.morning.sfdsn.cn.gov.cn.sfdsn.cn http://www.morning.zqfjn.cn.gov.cn.zqfjn.cn http://www.morning.lmyq.cn.gov.cn.lmyq.cn http://www.morning.frpm.cn.gov.cn.frpm.cn http://www.morning.psxcr.cn.gov.cn.psxcr.cn http://www.morning.zpstm.cn.gov.cn.zpstm.cn http://www.morning.hmwjk.cn.gov.cn.hmwjk.cn http://www.morning.jfwrf.cn.gov.cn.jfwrf.cn http://www.morning.qbfqb.cn.gov.cn.qbfqb.cn http://www.morning.tmpsc.cn.gov.cn.tmpsc.cn http://www.morning.lpskm.cn.gov.cn.lpskm.cn