- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: safest way to backup and move Oracle HOME and ...
Operating System - Linux
1753588
Members
6442
Online
108796
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 07:34 PM
тАО12-22-2010 07:34 PM
safest way to backup and move Oracle HOME and clusterware contents
hi all.
we are running oracle 10g R2 RAC on two node Itanium systems and the underlying OS is SLES 10 SP2 (SuSe)
on one node we are running short of space in the two partitions which contain clusterware files and Oracle HOMEs and 4 database instances running on the RAC.
the oracle home and clusterware files are in the local HDD of the OS and not on SAN.
since the partitions are not LVM i will have to
1. Shutdown the instances on the said node
2. Stop clusterware services
3. Do a tar of the two moutpoints on another drive (i have some space in one OCFS partition to do this)
4. Unmount the two mountpoints
5. Re-create the partitions
6. Size it as needed
7. mount them with the same names
8. Extract the tar
9. Start Cluster and db services.
I think what i m doing is correct.
what i need to know is, whether i can use the following for step 3
db2:# tar -czvf /ocfs2/mntpt1.tar.gz /mtpt1/
db2:# tar -czvf /ocfs2/mntpt2.tar.gz /mtpt2/
will doing a tar this way RETAIN the permissions of the files in the two mountpoints and i would have no issue while i restart the cluster services?
thank you
we are running oracle 10g R2 RAC on two node Itanium systems and the underlying OS is SLES 10 SP2 (SuSe)
on one node we are running short of space in the two partitions which contain clusterware files and Oracle HOMEs and 4 database instances running on the RAC.
the oracle home and clusterware files are in the local HDD of the OS and not on SAN.
since the partitions are not LVM i will have to
1. Shutdown the instances on the said node
2. Stop clusterware services
3. Do a tar of the two moutpoints on another drive (i have some space in one OCFS partition to do this)
4. Unmount the two mountpoints
5. Re-create the partitions
6. Size it as needed
7. mount them with the same names
8. Extract the tar
9. Start Cluster and db services.
I think what i m doing is correct.
what i need to know is, whether i can use the following for step 3
db2:# tar -czvf /ocfs2/mntpt1.tar.gz /mtpt1/
db2:# tar -czvf /ocfs2/mntpt2.tar.gz /mtpt2/
will doing a tar this way RETAIN the permissions of the files in the two mountpoints and i would have no issue while i restart the cluster services?
thank you
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 07:36 PM
тАО12-22-2010 07:36 PM
Re: safest way to backup and move Oracle HOME and clusterware contents
what does this mean in the tar manpage
-p
When `tar' is extracting an archive, it normally subtracts the
users' umask from the permissions specified in the archive and
uses that number as the permissions to create the destination
file. Specifying this option instructs `tar' that it should use
the permissions directly from the archive. *Note Writing::.
i had posted the same on oracle forums also and strangely got no reply :|
-p
When `tar' is extracting an archive, it normally subtracts the
users' umask from the permissions specified in the archive and
uses that number as the permissions to create the destination
file. Specifying this option instructs `tar' that it should use
the permissions directly from the archive. *Note Writing::.
i had posted the same on oracle forums also and strangely got no reply :|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 08:51 PM
тАО12-22-2010 08:51 PM
Re: safest way to backup and move Oracle HOME and clusterware contents
>what does this mean in the tar manpage: -p
This shouldn't be needed if you are root. Otherwise -p is needed to preserve the original permissions/ownership.
This shouldn't be needed if you are root. Otherwise -p is needed to preserve the original permissions/ownership.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 11:07 PM
тАО12-22-2010 11:07 PM
Re: safest way to backup and move Oracle HOME and clusterware contents
thank you for the confirmation. :)
have a nice day
have a nice day
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP