>> Delete Reply from No. 57817 article
No. RE: 질문] ext3 파티션에서 fsck 로 체크후 Superblock
삭제된 경우

등록 2002-09-28 10:16:00 By localhost     조회 5
이름 devilhero    

		NAME
       e2fsck - check a Linux second extended file system
 SYNOPSIS
       e2fsck [ -pacnyrdfvstFSV ] [ -b superblock ] [ -B blocksize ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j externa
l-journal ] device  DESCRIPTION
       e2fsck is used to check a Linux second extended file system (e2fs).  E2fsck also supports ext2 filesystems co
untaining a journal, which are also        sometimes known as ext3 filesystems.
        device is the device file where the filesystem is stored (e.g.  /dev/hdc1).
 OPTIONS
       -a     This option does the same thing as the -p option.  It is provided for backwards compatibility only; 
it is suggested that  people  use  -p               option whenever possible.
        -b superblock
              Instead  of  using  the  normal superblock, use an alternative superblock specified by superblo
ck.  This option is normally used when the               primary superblock has been corrupted.  The location o
f the backup superblock is dependent on the filesystem's blocksize.   For  filesys-               tems  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 deter
mined by using the mke2fs program using the -n option to print out where the  superblocks  were               c
reated.    The  -b option to mke2fs, which specifies blocksize of the filesystem must be specified in order for the s
uperblock locations               that are printed out to be accurate.                If an alternative su
perblock is specified and the filesystem is not opened read-only, e2fsck will make sure that the  primary  superblock 
              is updated appropriately upon completion of the filesystem check.  이건 man e2fsck 를 하면 나
오는 내용입니다. mkfs 를 하실때 보면 슈퍼블럭 위치가 몇개 써지는데요
제생각에 (위에도 있듯이) alternative superblock 이라는게 있습니다.
슈퍼블럭을 백업한거죠.
 1K 블럭사이즈 하드는 8193에 또다른 슈퍼블럭이 존재한다고 하네요.
보통 1K 블럭 사이즈를 사용하니깐 아마 8193에 다른게 하나 있을 듯 하네요
이걸 한번 참고해 보세요.
 결과는 저도 해본적 없어서 모르겠네요.
가능하다면 결과좀 알려주세요 ^^ (결과가 궁금해서)
그럼 성공하시길 ^^
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved