Linux locate/print block device attributes ASMLib
blkid – command-line utility to locate/print block device attributes
Oracle Linux Server release 6.4[root@rac02:/root] # ll /etc/*release* -rw-r--r--. 1 root root 32 Feb 22 2013 /etc/oracle-release -rw-r--r--. 1 root root 55 Feb 22 2013 /etc/redhat-release lrwxrwxrwx. 1 root root 14 Nov 29 2014 /etc/system-release -> oracle-release -rw-r--r--. 1 root root 45 Feb 22 2013 /etc/system-release-cpe [root@rac02:/root] # cat /etc/system-release Oracle Linux Server release 6.4 [root@rac02:/root] # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago) [root@rac02:/root] # /sbin/blkid |sort /dev/mapper/vg01-lv_root: UUID="97968448-9997-42a0-a106-c438a47345b8" TYPE="ext4" /dev/mapper/vg01-lv_swap: UUID="8fe8b719-a367-4448-9ae2-76b376ad91d5" TYPE="swap" /dev/sda1: UUID="33162370-b7a1-45ae-9c8c-966b8bd720e3" TYPE="ext4" /dev/sda2: UUID="qHuGcf-Ntnr-hoLR-qtEb-cdgz-2sph-jgaKDK" TYPE="LVM2_member" /dev/sdb1: LABEL="DISK1" TYPE="oracleasm" /dev/sdc1: LABEL="DISK2" TYPE="oracleasm" /dev/sdd1: LABEL="DISK3" TYPE="oracleasm" /dev/sde1: LABEL="DISK4" TYPE="oracleasm" /dev/sdf1: LABEL="DISK5" TYPE="oracleasm" /dev/sdg1: LABEL="DISK6" TYPE="oracleasm" /dev/sdh1: LABEL="DISK7" TYPE="oracleasm" /dev/sdi1: LABEL="DISK8" TYPE="oracleasm"Oracle Linux Server release 6.6
[root@arrow1 ~]# ll /etc/*release* -rw-r--r--. 1 root root 32 Oct 15 2014 /etc/oracle-release -rw-r--r--. 1 root root 55 Oct 15 2014 /etc/redhat-release lrwxrwxrwx. 1 root root 14 Jun 24 2015 /etc/system-release -> oracle-release -rw-r--r--. 1 root root 45 Oct 15 2014 /etc/system-release-cpe [root@arrow1 ~]# cat /etc/system-release Oracle Linux Server release 6.6 [root@arrow1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) [root@arrow1 ~]# /sbin/blkid /dev/sda1: UUID="7c42cea0-f23d-4fec-ad0f-b1bf4b50b17e" TYPE="ext4" /dev/sda2: UUID="ZVWdTj-8EQN-F3ac-3Tev-xTsb-ssL8-7euz5X" TYPE="LVM2_member" /dev/sdb1: UUID="KUEy1I-X5i2-CuSm-krTA-R5K5-i4je-Ek56ZK" TYPE="LVM2_member" /dev/mapper/vg01-LogVol01: UUID="8e2c236c-dd87-4be6-9eaf-f72f32f0dcc6" TYPE="ext4" /dev/mapper/vg01-LogVol00: UUID="919bab13-82b6-425b-95c8-87975cb0bf20" TYPE="swap"Oracle Linux Server release 7.3
[root@owl ~]# ll /etc/*release* -rw-r--r--. 1 root root 32 Nov 7 22:07 /etc/oracle-release -rw-r--r--. 1 root root 398 Nov 7 22:07 /etc/os-release --- (New as of OEL7?) -rw-r--r--. 1 root root 52 Nov 7 22:07 /etc/redhat-release lrwxrwxrwx. 1 root root 14 Dec 12 23:31 /etc/system-release -> oracle-release -rw-r--r--. 1 root root 31 Nov 7 22:07 /etc/system-release-cpe [root@owl ~]# cat /etc/system-release Oracle Linux Server release 7.3 [root@owl ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) [root@owl ~]# cat /etc/os-release NAME="Oracle Linux Server" VERSION="7.3" ID="ol" VERSION_ID="7.3" PRETTY_NAME="Oracle Linux Server 7.3" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:7:3:server" HOME_URL="" BUG_REPORT_URL="" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.3 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=7.3 [root@owl ~]# /sbin/blkid /dev/sr0: UUID="2016-11-21-16-51-51-00" LABEL="VBOXADDITIONS_5.1.10_112026" TYPE="iso9660" /dev/sda1: UUID="65bf9c73-fb56-49c3-b55e-85de8f318892" TYPE="xfs" /dev/sda2: UUID="p4rqW2-uzvr-6DpX-nof0-7tgf-Yfvn-n8ehaB" TYPE="LVM2_member" /dev/mapper/vg01-root: UUID="de9c65d9-60cc-45b8-b9fa-7459ef3f3850" TYPE="xfs" /dev/mapper/vg01-swap: UUID="1f85c253-261e-4021-9468-651de69b8e7a" TYPE="swap" [root@owl ~]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2130727/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- raw device, first blockdevBloC
- 【Linux】bad geometry: block count 11796480 exceeds size of deviceLinuxBloCdev
- How to map device name to ASMLIB disk [ID 1098682.1]devASM
- Linux教程:locate用法(轉)Linux
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- Oracle ASMLib & Red Hat Linux & Linux核心版本資訊OracleASMLinux
- 每天一個linux命令–locate(3)Linux
- Linux下which、whereis、locate、find區別Linux
- 翻譯:Linux and the Device TreeLinuxdev
- asmlibASM
- Linux系統下find、locate命令如何使用?Linux
- 每天一個 Linux 命令(18):locate 命令Linux
- SciTech-OS-Linux-Device Driver: 英文原版電子書“Linux Device Drivers, Third Edition”Linuxdev
- Linux檔案搜尋之 find / locate / whereis / whichLinux
- 在Linux上使用raw device方式Linuxdev
- Structure of Linux Kernel Device Driver(Part II)StructLinuxdev
- Database Triggers and event attributes--Event AttributesDatabase
- redhat linux上不用dd清空raw device可以重複使用raw device嗎RedhatLinuxdev
- 在Red Hat Linux Server 6上能否使用ASMLib?LinuxServerASM
- JavaScript print()JavaScript
- js printJS
- Linux 搜尋命令總結 – whereis,which,locate,find,grepLinux
- 如何使用 Find 和 Locate 在 Linux 中搜尋檔案Linux
- 【ASM】ASMLIB 系列ASM
- UDEV替代ASMLIBdevASM
- asmlib 報錯ASM
- PHP 列印函式之 print print_rPHP函式
- jQuery attributes(上)jQuery
- [Linux] device eth0 does not seem to presentLinuxdev
- Linux平臺上配置Oracle ASMLib和磁碟多路徑LinuxOracleASM
- Linux rm -rf 之rm: cannot remove `linux': Device or resource busyLinuxREMdev
- print the result sqlSQL
- Oracle ASMLib DownloadsOracleASM
- Database Triggers and event attributes--Event Attributes【Blog 搬家】Database
- [Linux Device Driver] wifi adb 使用方法LinuxdevWiFi
- Oracle ASM Attributes DirectoryOracleASM
- Declaring Attributes of FunctionsFunction
- HTML 23 - Form AttributesHTMLORM