질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

e2fsck 명령어에 대해서 여쭤볼께요.

작성자 정보

  • 김병현 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요

리눅스 서버 관리 실무 바이블 3.0
책 보는중에
e2fsck 명령어 나오더군요
근데
한가지 언급되어 있지 않는 내용이 있어서
여러분들께 여쭤봅니다.

#e2fsck -b 98304 /dev/hdc2

라고 나오는데요 -b 98304 이건
블록 번호인가요??
어떤 의미인지 애리송하네요 ㅠ

아시는분 쫌 알려주시면 감사하겠습니다.

관련자료

댓글 1

SFWM님의 댓글

  • SFWM
  • 작성일
정답은 man 페이지 안에 있습니다.
터미널에서 man e2fsck 라고 명령을 내려보세요.

              -b superblock
              Instead of using the normal superblock, use an alternative superblock specified by superblock.  This option is normally used when the  primary  superblock
              has  been  corrupted.  The  location  of  the backup superblock is dependent on the filesystem’s blocksize.  For filesystems with 1k blocksizes, a backup
              superblock can be found at block 8193; for filesystems with 2k blocksizes, at block 16384; and for 4k blocksizes, at block 32768.

              Additional backup superblocks can be determined by using the mke2fs program using the -n option to print out where the superblocks were created.  The  -b
              option to mke2fs, which specifies blocksize of the filesystem must be specified in order for the superblock locations that are printed out to be accurate.

              If an alternative superblock is specified and the filesystem is not opened read-only, e2fsck will make sure that the primary superblock is updated  appro-
              priately upon completion of the filesystem check.

해석하셔야 하는 단점이 있지만 가장 자세한 설명을 담고 있습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,043 명
  • 현재 강좌수 :  35,853 개
  • 현재 접속자 :  75 명