Storage Management (ASM ACFS DNFS ODM) (MOSC)

MOSC Banner

Creating a Directory

edited Dec 30, 2018 7:59AM in Storage Management (ASM ACFS DNFS ODM) (MOSC) 3 commentsAnswered ✓

Hi,

I'm reading this:

Managing Disk Group Directories

https://docs.oracle.com/database/121/OSTMG/GUID-F7DDEB35-2BD9-467B-ADAE-89C9A8993DCA.htm#OSTMG10063

And I see:

Assuming no subdirectory exists under the directory +data/orcl, the SQL statement fails in Example 5-11.

Example 5-11 Creating a new subdirectory

ALTER DISKGROUP data ADD DIRECTORY '+data/orcl/first_dir/second_dir'; 

I can not understand why?
Should we first create first_dir and then second_dir?

In two steps:
1:
ALTER DISKGROUP data ADD DIRECTORY '+data/orcl/first_dir';
2:
ALTER DISKGROUP data ADD DIRECTORY '+data/orcl/first_dir/second_dir';
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center