install emc powerpath on redhat linux and 'Found duplicate PV' 問題解決
- 安裝EMC POWERAPTH FOR LINUX
EMC比較變態,在emc的網站上,無法下載powerpath軟體。
我是透過別人拿到了emc powerpath的安裝包。
使用RPM -Uvh EMCpower.LINUX-5.1.2.00.00-021.rhel5.x86_64.rpm
完成軟體安裝後,最好重新啟動一下作業系統。
[@more@]- 重新啟動後可以識別到/dev/emcpowera,/dev/emcpowerb兩個裝置
Pvcreate /dev/emcpowera
Pvcreate /dev/emcpowerb
Vgcreate datavg2 /dev/emcpowera
Vgcreate datavg3 /dev/emcpowerb
Lvcreate -L99g -n lv_oradata2 datavg2
Mke2fs /dev/datavg2/lv_oradata2
Mkdir /oradata2
Mount /dev/datavg2/lv_oradata2 /oradata2
……
- 使用lvm的vgs,pvs,lvs都會顯示Found duplicate PV的錯誤
Found duplicate PV nFTGkmv17AAJb33RGtAMPqv8iy61: using /dev/emcpowera not /dev/sda
Found duplicate PV Wlpy6GP0n3GM81XyhflHOBK5wTzp6: using /dev/emcpowerb not /dev/sdb
Found duplicate PV nFTGkmv17AAJbRGtAMPqv8iy61: using /dev/sdc not /dev/emcpowera
Found duplicate PV Wlpy6GP0n3GcXyhflHOBK5wTzp6: using /dev/sdd not /dev/emcpowerb
Found duplicate PV nFTGkmv17AAJAD3RGtAMPqv8iy61: using /dev/sde not /dev/sdc
Found duplicate PV Wlpy6GP0n3GMcXyhflHOBK5wTzp6: using /dev/sdf not /dev/sdd
Found duplicate PV nFTGkmv17AAJbD3RGtAMPqv8iy61: using /dev/sdg not /dev/sde
Found duplicate PV Wlpy6GP0n3GM8cXhflHOBK5wTzp6: using /dev/sdh not /dev/sdf
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 33.75G 64.00M
datavg 1 2 0 wz--n- 273.23G 32.00M
datavg2 1 1 0 wz--n- 100.00G 1020.00M
datavg3 1 1 0 wz--n- 100.00G 1020.00M
- 修改/etc/lvm/lvm.conf 的filter,可以過濾到這些錯誤
# filter = [ "a/.*/" ]
filter=["r/disk.*/","r|/dev/sda|","r|/dev/sdb|","r|/dev/sdc|","r|/dev/sdd|","r|/dev/sde|","r|/dev/sdf|","r|/dev/sdg|","r|/dev/sdh|","a/.*/"
編輯完成後,執行vgscan -v
#vgscan -v
Wiping cache of LVM-capable devices
Wiping internal VG cache
Reading all physical volumes. This may take a while...
Finding all volume groups
Finding volume group "datavg"
Found volume group "datavg" using metadata type lvm2
Finding volume group "VolGroup00"
Found volume group "VolGroup00" using metadata type lvm2
Finding volume group "datavg3"
Found volume group "datavg3" using metadata type lvm2
Finding volume group "datavg2"
Found volume group "datavg2" using metadata type lvm2
透過lvmdiskscan命令檢查filter是否設定正確
[root@dmis lvm]# lvmdiskscan
/dev/ram0 [ 16.00 MB]
/dev/emcpowera [ 100.00 GB] LVM physical volume
/dev/root [ 31.75 GB]
/dev/ram [ 16.00 MB]
/dev/dm-1 [ 1.94 GB]
/dev/ram2 [ 16.00 MB]
/dev/dm-2 [ 250.00 GB]
/dev/ram3 [ 16.00 MB]
/dev/dm-3 [ 23.20 GB]
/dev/ram4 [ 16.00 MB]
/dev/dm-4 [ 99.00 GB]
/dev/ram5 [ 16.00 MB]
/dev/dm-5 [ 99.00 GB]
/dev/ram6 [ 16.00 MB]
/dev/ram7 [ 16.00 MB]
/dev/ram8 [ 16.00 MB]
/dev/ram9 [ 16.00 MB]
/dev/ram10 [ 16.00 MB]
/dev/ram11 [ 16.00 MB]
/dev/ram12 [ 16.00 MB]
/dev/ram13 [ 16.00 MB]
/dev/ram14 [ 16.00 MB]
/dev/ram15 [ 16.00 MB]
/dev/emcpowerb [ 100.00 GB] LVM physical volume
/dev/sdi1 [ 99.98 MB]
/dev/sdi2 [ 33.77 GB] LVM physical volume
/dev/sdj1 [ 273.24 GB] LVM physical volume
2 disks
21 partitions
2 LVM physical volume whole disks
2 LVM physical volumes
[root@dmis lvm]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 33.75G 64.00M
datavg 1 2 0 wz--n- 273.23G 32.00M
datavg2 1 1 0 wz--n- 100.00G 1020.00M
datavg3 1 1 0 wz--n- 100.00G 1020.00M
[root@dmis lvm]# pvs
PV VG Fmt Attr PSize PFree
/dev/emcpowera datavg2 lvm2 a- 100.00G 1020.00M
/dev/emcpowerb datavg3 lvm2 a- 100.00G 1020.00M
/dev/sdi2 VolGroup00 lvm2 a- 33.75G 64.00M
/dev/sdj1 datavg lvm2 a- 273.23G 32.00M
[root@dmis lvm]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
LogVol00 VolGroup00 -wi-ao 31.75G
LogVol01 VolGroup00 -wi-ao 1.94G
lv_archivelog datavg -wi-ao 23.20G
lv_oradata datavg -wi-ao 250.00G
lv_oradata2 datavg2 -wi-ao 99.00G
lv_oradata3 datavg3 -wi-ao 99.00G
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1034726/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- 解決 Inkscape 報錯 Duplicate 問題
- emc powerpath的powermt命令使用方法
- 解決bash: mysql: command not found的問題MySql
- 解決pod install update很慢的問題
- springboot專案解決 No beans of 'UserDao' type found 問題Spring BootBean
- 如何徹底解決pip install慢的問題
- react-native install 報錯 No git binary found in $PATH解決方法ReactGit
- 解決Parameter '__frch_item_0' not found. Available parameters 問題AI
- Linux提示crontab command not found的解決方法Linux
- Laravel 6 ignition 解決 Class 'xxx' not found 載入緩慢問題Laravel
- npm install realm --save失敗的問題與解決辦法NPM
- Linux作業系統base64命令操作案例,並解決-bash: !: event not found的問題Linux作業系統
- RedHat虛擬機器打不開磁碟問題如何解決?RedHat虛擬機器打不開磁碟的解決方法Redhat虛擬機
- npm install報錯、失敗,出現network proxy問題解決方案NPM
- 問題解決--npm install 安裝依賴一直失敗NPM
- 解決Kali Linux 2020.1亂碼問題Linux
- 用linux man命令,自己解決問題Linux
- LINUX 解決時間同步問題(NTP)Linux
- 解決VMware安裝RedHat虛擬機器無法上網的問題Redhat虛擬機
- linux下使用npm install報EACCES的解決方法LinuxNPM
- glibc解決“libc.so.6: version GLIBC_2.14 not found”報錯問題
- 這種方式解決EMC儲存崩潰RAID離線問題,簡單又高效AI
- 在Linux中,ansible可以解決哪些問題?Linux
- linux sed 命令引起的^M問題解決Linux
- linux mint 19解決 輸入法問題Linux
- Hadoop org.apache.hadoop.util.DiskChecker$DiskErrorException問題等價解決linux磁碟不足解決問題排查HadoopApacheErrorExceptionLinux
- Xshell連線Linux慢問題解決辦法Linux
- 新手linux系統常見問題解決方案Linux
- linux配置靜態路由解決網路問題Linux路由
- node: /lib64/libm.so.6: version `GLIBC_2.27‘ not found問題解決方案IBM
- 已解決:Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 問題
- npm install 報錯解決NPM
- Linux安裝Python3.11以及解決openssl問題LinuxPython
- linux mint 19 pyenv 安裝 python 3.7.0 問題解決LinuxPython
- Linux解決MySQL-python安裝失敗問題LinuxMySqlPython
- 看不懂系列-解決linux伺服器低配512M記憶體跑npm install 報錯killed問題Linux伺服器記憶體NPM
- ORACLE SELECT INTO NO_DATA_FOUND問題Oracle
- Linux配置靜態IP解決無法訪問網路問題Linux