>> Read No. 54475 article  
[질문]하드디스크 일부만을 포멧했을때 기존영역
인식못함?

등록 2002-08-07 03:46:00     조회 5
이름 이선재    

		[질문]하드디스크 일부만을 포멧했을때 기존영역 인식못함?
사용리눅스 REDHAT 7.3
/, /boot, 스왑을 포멧하고 새로 설치했더니
/data1 과 /data2 를 인식하지 못하네요
경험 있으신 분의 조언 부탁드립니다.
 <포멧전>
[root@w02 backup]# df -h
Filesystem        Size  Used Avail Use% Mounted on
/dev/ida/c0d0p3   15G  2.3G   11G  17% /
/dev/ida/c0d0p1   96M   14M   77M  15% /boot
/dev/ida/c0d1p1	  9.6G  5.1G  4.1G  55%  /data1
/dev/ida/c0d1p2	  7.1G  4.9G  1.8G  73%  /data2
none              1008M     0 1008M   0% /dev/shm
 <포멧후>
[root@w02 lib]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/ida/c0d0p3        15G  5.1G  8.8G  37% /
/dev/ida/c0d0p1        96M   14M   77M  15% /boot
none                 1008M     0 1008M   0% /dev/shm
  <제가 한 방식입니다>
 [root@w02 lib]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/ida/c0d0p2         swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
 [root@w02 lib]# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ida/c0d0p3       15332696   5319688   9234136  37% /
/dev/ida/c0d0p1          98747     13862     79786  15% /boot
none                   1032600         0   1032600   0% /dev/shm
 [root@w02 lib]# mount
/dev/ida/c0d0p3 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/ida/c0d0p1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
  [root@w02 lib]# fdisk /dev/ida/c0d0
 The number of cylinders for this disk is set to 4357.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 Command (m for help): p
 Disk /dev/ida/c0d0: 255 heads, 32 sectors, 4357 cylinders
Units = cylinders of 8160 * 512 bytes
          Device Boot    Start       End    Blocks   Id  System
/dev/ida/c0d0p1   *         1        25    101984   83  Linux
/dev/ida/c0d0p2            26       539   2097120   82  Linux swap
/dev/ida/c0d0p3           540      4357  15577440   83  Linux
  [root@w02 lib]# fdisk /dev/ida/c0d1
 The number of cylinders for this disk is set to 4357.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 Command (m for help): p
 Disk /dev/ida/c0d1: 255 heads, 32 sectors, 4357 cylinders
Units = cylinders of 8160 * 512 bytes
          Device Boot    Start       End    Blocks   Id  System
/dev/ida/c0d1p1   *         1      2510  10240784   83  Linux
/dev/ida/c0d1p2          2511      4357   7535760   83  Linux
 -- 이렇게 보이기는 하는데 막상 mount 하면 에러가 뜨네요
 [root@w02 /]# mke2fs /dev/ida/c0d1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2223872 inodes, 4444140 blocks
222207 blocks (5.00%) reserved for the super user
First data block=0
136 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000
 Writing inode tables: done
Writing superblocks and filesystem accounting information:
done
 This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 ----------mkdir /data1
  [root@w02 /]# mount -t ext3 /dev/ida/c0d1p1 /data1
mount: wrong fs type, bad option, bad superblock on /dev/ida/c0d1p1,
       or too many mounted file systems
이름
암호


>> 관련글
54475 [질문]하드디스크 일부만을 포멧했을때 기존영역 인식못함?  이선재  2002.08.07  ....
  답장 RE: [질문]하드디스크 일부만을 포멧했을때 기존영역 인식못함?  하늘  2002.08.07  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.38 초 ] 작업시간: [ 0.08 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791267328
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.