티스토리 뷰

System Story/CentOS 5,6

Device UUID 확인, 생성, 변경

불량펭귄 helperchoi 2013. 11. 10. 18:31
[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 ~]# 

 

반응형
TAG
, ,
댓글
댓글쓰기 폼