티스토리 뷰
[root@TEST01 ~]#
[root@TEST01 ~]# blkid
/dev/mapper/VolGroup00-LogVol01: TYPE="swap"
/dev/mapper/VolGroup00-LogVol00: UUID="cbd273f0-e6bf-495b-a49d-1c705502455a" TYPE="ext3"
/dev/sda1: LABEL="/boot" UUID="0b1b01d4-1ef6-403d-9df7-818b47e59239" TYPE="ext3"
/dev/hdc: LABEL="CentOS_5.8_Final" TYPE="iso9660"
/dev/VolGroup00/LogVol00: UUID="cbd273f0-e6bf-495b-a49d-1c705502455a" TYPE="ext3"
/dev/VolGroup00/LogVol01: TYPE="swap"
/dev/DATA_LVM/MySQL_VOL: UUID="f790d6c9-d590-484a-a01a-028f71bca3fa" TYPE="ext3"
[root@TEST01 ~]#
[root@TEST01 ~]#
[root@TEST01 ~]# blkid -o full -s UUID
/dev/mapper/VolGroup00-LogVol00: UUID="cbd273f0-e6bf-495b-a49d-1c705502455a"
/dev/sda1: UUID="0b1b01d4-1ef6-403d-9df7-818b47e59239"
/dev/VolGroup00/LogVol00: UUID="cbd273f0-e6bf-495b-a49d-1c705502455a"
/dev/DATA_LVM/MySQL_VOL: UUID="f790d6c9-d590-484a-a01a-028f71bca3fa"
[root@TEST01 ~]#
[root@TEST01 ~]#
[root@TEST01 ~]#
[root@TEST01 ~]# uuidgen
66d9c13d-f899-466a-801e-e35f71536717
[root@TEST01 ~]#
[root@TEST01 ~]#
[root@TEST01 ~]# tune2fs /dev/sda1 -U 66d9c13d-f899-466a-801e-e35f71536717
tune2fs 1.39 (29-May-2006)
[root@TEST01 ~]#
[root@TEST01 ~]#
[root@TEST01 ~]# blkid -o full -s UUID | grep sda1
/dev/sda1: UUID="66d9c13d-f899-466a-801e-e35f71536717"
[root@TEST01 ~]#
[root@TEST01 ~]#
반응형
'System Story > CentOS 5,6' 카테고리의 다른 글
/etc/fstab 이하 root 영역 주석처리등으로 booting시 read only 로 빠질경우 (0) | 2013.11.10 |
---|---|
echo 시 TAB 열구분 넣기 (0) | 2013.11.10 |
dd 를 이용한 간단한 파일 생성 (0) | 2013.11.10 |
특정 Process 물리 메모리 점유양 조회 (0) | 2013.11.10 |
슈퍼블럭을 이용한 파일시스템 복구 (0) | 2013.11.10 |