"리눅스 fdisk"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
 
(사용자 2명의 중간 판 16개는 보이지 않습니다)
4번째 줄: 4번째 줄:
*리눅스용 파티션 테이블 조작도구
*리눅스용 파티션 테이블 조작도구


==예시==
==예시 1: fdisk -l==
<source lang='dos'>
<source lang='console'>
[root@jmnote ~]# fdisk -l
[root@zetawiki ~]# fdisk -l


Disk /dev/xvda: 31.4 GB, 31457280000 bytes
Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 3824 cylinders
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Units = cylinders of 16065 * 512 = 8225280 bytes


    Device Boot      Start        End      Blocks  Id  System
  Device Boot      Start        End      Blocks  Id  System
/dev/xvda1   *          1          13      104391  83  Linux
/dev/vda1   *          1          13      104391  83  Linux
/dev/xvda2             14        3824   30611857+  8e  Linux LVM
/dev/vda2             14        5221   41833260  8e  Linux LVM
</source>
</source>
:→ 디스크명: /dev/vda
:→ 크기: 42.9 GB
:→ 헤드 수; 255
:→ 트랙당 섹터수: 63
:→ 실린더 수: 5221
==예시 2: fdisk -ul==
<source lang='console'>
[root@zetawiki ~]# fdisk -ul
Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes
  Device Boot      Start        End      Blocks  Id  System
/dev/vda1  *          63      208844      104391  83  Linux
/dev/vda2          208845    83875364    41833260  8e  Linux LVM
</source>
:→ 섹터수: 83886080


==같이 보기==
==같이 보기==
*[[/proc/partitions]]
*[[리눅스 디스크 용량 확인하기 (fdisk)]]
*[[리눅스 디스크 용량 확인하기 (fdisk)]]
*[[리눅스 mount]]
*[[리눅스 mount]]
23번째 줄: 43번째 줄:
*[[리눅스 fsck]]
*[[리눅스 fsck]]
*[[리눅스 badblocks]]
*[[리눅스 badblocks]]
*[[블록]]
*[[트랙, 섹터, 실린더]]
*[[윈도우 diskpart]]
*[[맥 디스크 유틸리티]]


[[분류: /sbin]]
[[분류: /sbin]]

2016년 3월 29일 (화) 12:25 기준 최신판

1 개요[ | ]

/sbin/fdisk
fdisk
  • 리눅스용 파티션 테이블 조작도구

2 예시 1: fdisk -l[ | ]

[root@zetawiki ~]# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           1          13      104391   83  Linux
/dev/vda2              14        5221    41833260   8e  Linux LVM
→ 디스크명: /dev/vda
→ 크기: 42.9 GB
→ 헤드 수; 255
→ 트랙당 섹터수: 63
→ 실린더 수: 5221

3 예시 2: fdisk -ul[ | ]

[root@zetawiki ~]# fdisk -ul

Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *          63      208844      104391   83  Linux
/dev/vda2          208845    83875364    41833260   8e  Linux LVM
→ 섹터수: 83886080

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}