netapp NFS
rman備份到netapp nfs後,開啟SIS刪除重複資料塊以節省空間。
[@more@]1、修改exports,兩種方式
(1)將原來的內容rdfile /etc/exports讀出來然後複製用wrfile /etc/exports 寫,如/vol/vol1 -sec=sys,rw=192.168.168.*:192.168.168*,root=192.168.168.*:192.168.168.*,nosuid
也可以用192.168.168.0/24將一個網段寫進去。
(2)用exportfs命令
exportfs –i0 rw=192.168.168.*:192.168.168*,root=192.168.168.*:192.168.168.*,nosuid /vol/vol1
exportfs –w /etc/exports (將正在執行的exprot寫入exports)
2、重啟NFS server
Exportfs –a
Exportfs -r
Nfs off nfs on
3、在10gR2的RMAN備份到NFS上時,會出現這個錯
Backup of 10g NFS database fails with RMAN error "ORA-27054: NFS file system where the file is created or resides is not mounted with correct options"
Follow the directions in Oracle Metalink Note 387700.1:
Execute the following SQL statement and restart the target database in SQL*Plus as the sys user:
SQL> ALTER SYSTEM SET EVENT='10298 trace name context forever, level 32' SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP
BUG:
To support:
Please note - it is possible to disable the NFS checks in
10.2 by setting event 10298 at level 32.
eg: Add this to the init.ora
#disallow MOUNT POINT checks
event="10298 trace name context forever, level 32"
This will disable the NFS mount checks allowing you to use
any mounts options but then the onus is on yourself to ensure
that the mount options used for each disk are correct
for the use that they are to be put to.
開始測試:
nohup /home/oracle/worksh/rmanbak_old.sh DB > /tmp/rmanback.log 2>&1 &
檢視備份後的大小
fas3050> df -h vol1
Filesystem total used avail capacity Mounted on
/vol/vol1/ 1600GB 518GB 1081GB 32% /vol/vol1/
/vol/vol1/.snapshot 400GB 30MB 399GB 0% /vol/vol1/.snapsho
開啟重複刪除功能
fas3050> sis on /vol/vol1
SIS for "/vol/vol1" is enabled.
Already existing data could be processed by running "sis start -s /vol/vol1".
fas3050> sis start -s /vol/vol1
The file system will be scanned to process existing data in /vol/vol1.
This operation may initialize related existing metafiles.
Are you sure you want to proceed with scan (y/n)? y
Mon Jun 30 17:56:13 CST [wafl.scan.start:info]: Starting SIS volume scan on volume vol1.
The SIS operation for "/vol/vol1" is started.
fas3050> sis status
Path State Status Progress
/vol/vol1 Enabled Active 117 GB Scanned
fas3050> sis status
Path State Status Progress
/vol/vol1 Enabled Idle Idle for 00:05:02
完成後檢視節省的空間大小
fas3050> df -sh vol1
Filesystem used saved %saved
/vol/vol1/ 436GB 86GB 17%
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/668365/viewspace-1006451/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用NFS4協議在NETAPP儲存下不能MOUNT的分析和解決NFS協議APP
- 【Netapp】NetApp常用命令APP
- 【儲存】netappAPP
- IO錯誤與NetAppAPP
- 【NetApp資料恢復】誤刪除NetApp上的lun導致伺服器當機的NetApp資料恢復APP資料恢復伺服器
- NETAPP - LOGIN TOO MANY USERSAPP
- 【NetApp資料恢復案例】針對NetApp誤刪除資料的恢復APP資料恢復
- NFS介紹、NFS服務端安裝配置、NFS配置選項NFS服務端
- AIX NFSAINFS
- netapp檢視序列號的方法APP
- NFS掛載NFS
- 設定NFSNFS
- smitty dhcp, nfsMITNFS
- linux nfsLinuxNFS
- NFS磁碟共享NFS
- NetApp資料恢復—NetApp儲存池中劃分的卷丟失的資料恢復案例APP資料恢復
- 【NFS】linux NFS "unmatched host" 異常小測試NFSLinux
- Netapp儲存日常檢查及資訊收集APP
- netapp 2個控制器spare盤分配APP
- 【NFS】Linux配置NFS共享常用SQL指令碼目錄NFSLinuxSQL指令碼
- nfs-server 搭建NFSServer
- 配置NFS固定埠NFS
- AIX掛載NFSAINFS
- NFS服務搭建NFS
- NFS故障解決NFS
- nfs配置 /etc/exportsNFSExport
- linux NFS 配置LinuxNFS
- NFS共享儲存NFS
- linux配置nfsLinuxNFS
- NFS簡介(轉)NFS
- NFS文件(FOR LINUX)NFSLinux
- NFS伺服器NFS伺服器
- NFS服務部署NFS
- 使用NFS建立PVNFS
- NetApp財報:2014財年第一財季NetApp營收為15.16億美元 同比增長5%APP營收
- NetApp FAS Filer的重複資料刪除APP
- NetApp資料恢復-未知原因導致NetApp儲存內卷丟失,卷內虛擬機器不可訪問APP資料恢復虛擬機
- fedora14 nfs如何安裝?edora14 nfs安裝教程NFS