1. Shut down database.
SHUTDOWN
2. Copy online redo log files sang phân vùng mới
mv /diska/logs/log1a.rdo /diskc/logs/log1c.rdo
mv /diska/logs/log2a.rdo /diskc/logs/log2c.rdo
mv /diska/logs/log2a.rdo /diskc/logs/log2c.rdo
3. Startup database ở chế độ mount (chưa open)
CONNECT / as SYSDBA
STARTUP MOUNT
CONNECT / as SYSDBA
STARTUP MOUNT
4. Đổi tên online redo log members
ALTER DATABASE
RENAME FILE '/diska/logs/log1a.rdo', '/diska/logs/log2a.rdo'
TO '/diskc/logs/log1c.rdo', '/diskc/logs/log2c.rdo';
RENAME FILE '/diska/logs/log1a.rdo', '/diska/logs/log2a.rdo'
TO '/diskc/logs/log1c.rdo', '/diskc/logs/log2c.rdo';
5. Open database
ALTER DATABASE OPEN;