首页 > 编程知识 正文

linux命令及说明,linux 复制文件命令

时间:2023-05-03 08:16:56 阅读:59345 作者:4705

superblock定义: http://linfo.org/superblock

e2fsck -v -y -f /dev/vda3

https://olinux.net/e2fsck/

e2fsprogs.sourceforge.net

checkalinuxext2/ext3/ext4 filesystemforext3andext4filesystemsthatuseajournal,ifthesystemhasbeenshutdownuncleanlywithoutanal afterreplayingthecommittedtransactionsinthejournal,thefilesystemshouldbemarkedasclean.hence,forfilesystemsthatusejournalal E2 fsckwillnormallyreplaythejournalandexit,unlessitssuperblockindicatesthatfurthercheckingisrequired。

dviceisablockdevice(e.g . /dev/sdc1 ) orfilecontainingthefilesystem.notethatingeneralitisnotsafetorune2fsckonmountedfilesystems.theonlyexceptionionion and -c,-l,or-loptionsarenotspecified.however,even if it is safe to do so, theresultsprintedbye2fsckarenotvalidifthefilesystemismounted.ife2fsckaskswhetherornotyoushouldcheckarenotvalidiftemwhismounted the only correct answer is ` ` no ' '.onlyexpertswhoreallyknowwhattheyaredoingshouldconsideransweringthisquestioninanyotherway.ife2fsckisrunininiteractive or -p are specified ),theprogramwillasktheusertofixeachproblemfoundinthefilesystem.aresponseoonse ' n ' will leave the error unse and ' a ' willfixtheproblemandallsubsequentproblems; pressingenterwillproceedwithedefaultresponse,whichisprintedbeforethequestionmark.pressing控制- c terminates e2fsck imemmer

- v verbose模式。

- yassumeananswerof ` yes ' toallquestions; allowse2fscktobeusednon-interactively.thisoptionmaynotbespecifiedatthesametimeasthe-nor-p选项。

错误分析: bad幻灯片编号中的super-block根据分区中划分的块数查找幻灯片编号,发现幻灯片编号错误。

monjan 250733602:20 utc 2021: execute : e2fsck-v-y-f/dev/VDA3e2fsck1.44.6(5-mar-2019 ) () ) ) ) ) ext2fs _ open 2: badmagicnumberinsuper-block e2fsck 3360 tryingbackupblocks . e2fsck : badmagicnumberinsuper-blockwhiletryingtoopen/dev/VD a3 thesuperblockcouldnotbereadordordoesnsupen ext 4文件系统. ifthedeviceisvalidanditreallycontainsanextem.ifthedeviceisvalidanditreallycontainsanextem ext3/ext 4文件系统(andnotswaporufsorsomethingelse )、then the superblockis corrupt, andyoumighttryrunninge2fsckwithanalternatesuperblock : e2fsck-b 8193设备or e2fsck-b 32768设备/dev/VD a3 containsaxfsfilesystemlabelled '2app1@ LCP-ba ' EC ext2_ et _ bad _ magic, ' badmagicnumberinsuper-block '/* * thesecondextendedfilesystemmagicnumber */# define ext2_ super _ magic0x ef53//lief goto cleanup; }

# fdisk-lmanipulatediskpartitiontabledisk/dev/vda :37.3 gib,40000000000 bytes, 7125000 sectors units : sectors of1* 512=512 bytessectorsize (logical/physical ) 3360512bytes/512bytesi/osize ) minical osize 3360512 bytes/512 bytesdisklabeltype : dosdiskidentifier 33600 x 768 ba 831 devicebootstartendsectorssizeidtype/dev/vda 1 2048167721516775168 g83 Linux/dev/vda 21677721627262975104857605 g83 Linux/dev/vda 327262976293601272097152 g83 Linux disk/vda 327262976293601272097152 vdb : 37.3 gib,40000000000 bytes, 7125000 sectors units : sectors of1* 512=512 bytessectorsize (logical/physical ) 3360512bytes/512bytesi/osize ) minical osize 3360512 bytes/512 bytesdisk/dev/VDC :7.5 gib,8000000000 bytes, 15625000 sectors units : sectors of1* 512=512 bytessectorsize (logical/physical ) 3360512bytes/512bytesi/osize ) mini vdd:63.3GIB,68000000000 bytes,132812500 sectors units : sectors of1* 512=512 bytessectorsize (逻辑/物理) 33332

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。