如何查看asm磁盘组包含文件的内容?
how to view contents of asm diskgroup contained file?
我刚刚将我的 oracle 11g 11.2.0.4 DB 转移到 ASM,我想看看
在一些文件的内容。起初我尝试使用 ASMCMD 但后来意识到它没有这样的命令,并且在尝试从磁盘组路径读取时它 returns "no such file..."。
有什么办法可以做到吗?
提前谢谢,
杰克.
the spfile is the file I was trying to read after I recreated it in ASM from the fs pfile.
spfile是二进制格式,不能直接读取。您可以通过在 sqlplus 中使用 "show parameter" 命令或数据库中的 v$parameter 视图来查看设置,或者您可以在 sqlplus 中使用 "create pfile from spfile" 将其文本复制到普通文件用于查看的系统 - 只需确保为新的 pfile/copy 使用非标准文件名并且不要覆盖现有的 "live" pfile,它应该是指向 ASM 中 spfile 位置的指针。
我刚刚将我的 oracle 11g 11.2.0.4 DB 转移到 ASM,我想看看 在一些文件的内容。起初我尝试使用 ASMCMD 但后来意识到它没有这样的命令,并且在尝试从磁盘组路径读取时它 returns "no such file..."。 有什么办法可以做到吗?
提前谢谢, 杰克.
the spfile is the file I was trying to read after I recreated it in ASM from the fs pfile.
spfile是二进制格式,不能直接读取。您可以通过在 sqlplus 中使用 "show parameter" 命令或数据库中的 v$parameter 视图来查看设置,或者您可以在 sqlplus 中使用 "create pfile from spfile" 将其文本复制到普通文件用于查看的系统 - 只需确保为新的 pfile/copy 使用非标准文件名并且不要覆盖现有的 "live" pfile,它应该是指向 ASM 中 spfile 位置的指针。