Oracle® Solaris 11.2의 장치 관리

인쇄 보기 종료

업데이트 날짜: 2014년 7월
 
 

디스크 레이블 정보 표시

디스크 레이블 정보를 표시하려면 prtvtoc 명령을 사용합니다.

# prtvtoc path/device-name

여기서 device-namepatch에서 검사하려는 원시 디스크 장치입니다.


주 -  이 명령을 사용하려면 적절한 관리 권한이 있어야 합니다. Oracle Solaris 11.2의 사용자 및 프로세스 보안 의 지정된 관리 권한 사용을 참조하십시오.

표시되는 정보는 디스크의 현재 레이블에 따라 달라집니다. VTOC 레이블 디스크의 경우 트랙 및 실린더에 대한 정보가 포함됩니다. EFI 레이블 디스크의 경우 트랙 또는 실린더 정보가 제공되지 않습니다.

예 6-5  VTOC 레이블이 있는 디스크의 레이블 정보
# prtvtoc /dev/rdsk/c2t3d0s0
* /dev/rdsk/c2t3d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
*     848 sectors/track
*      24 tracks/cylinder
*   20352 sectors/cylinder
*   14089 cylinders
*   14087 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
0      2    00          0 286698624 286698623
2      5    01          0 286698624 286698623
예 6-6  EFI 레이블이 있는 루트 풀 디스크의 레이블 정보
# prtvtoc /dev/dsk/c7t0d0s1
* /dev/dsk/c7t0d0s1 partition map
*
* Dimensions:
*     512 bytes/sector
* 156301488 sectors
* 156301421 accessible sectors
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*          34       222       255
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
0     24    00        256    524288    524543
1      4    00     524544 155760527 156285070
8     11    00  156285071     16384 156301454
~#
예 6-7  EFI 레이블이 있는 비루트 풀 디스크의 레이블 정보
# prtvtoc /dev/dsk/c8t3d0
* /dev/dsk/c8t3d0 partition map
*
* Dimensions:
*     512 bytes/sector
* 143374738 sectors
* 143374671 accessible sectors
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*          34       222       255
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
0      4    00        256 143358065 143358320
8     11    00  143358321     16384 143374704