当前位置:网站首页>chown改变目录的所有者、所属组失败的诡异问题
chown改变目录的所有者、所属组失败的诡异问题
2022-06-22 11:38:00 【weixin_41561946】
项目背景
oracle数据库所在的磁盘分区使用已满,新数据无法入库,需要将一部分数据文件移动到另一个磁盘分区中,但在新数据文件目录赋权时,改变目录的所有者、所属组没有生效,在此记录一下
系统环境
redhat6.4+ oracle 11.2.0.4
sda1是操作系统和数据库使用的目录
sda3是数据库的备份目录,挂载在/backup目录下
准备在将sda1上一部分数据文件迁移到sda3中
操作方式
chown -R oracle:oinstall /backup/sid/datafile
通过ls -l 查看时发现所有者,所属组依然是root:root。
1、确认oracle:oinstall是存在的
2、退出xshell再次登录查看权限也是一样。
3、准备从新挂sda3(未测试)
4、准备重启服务器(未测试)
解决方式:这里同通调整 /backup/sid/datafile的权限解决的
总结
1、虽然解决了数据库表空间无法扩展的问题,但为什么chown 更改失效,则没有找到原因
2、数据库实施前没有规划好数据使用空间
3、有遇到类似情况并解决了的朋友,欢迎留言。
边栏推荐
- Set up OpenPGP key server
- What is homology??? Cross domain error??? How to solve???
- Redis - 9. Persistent AOF (append onlyfile)
- 两两交换链表中的节点[单向链表不断链原则]
- APM flight mode switching -- source code explanation
- Deadlock found when trying to get lock; try restarting transaction 【MySQL死锁问题解决】
- 把蔚来告上法庭,奥迪急什么?
- 论文解读——Factorization Meets the Neighborhood: a Multifaceted Collaborative Filtering Model
- Arc128 C convex hull optimized suffix and?
- 【云原生 | Kubernetes篇】Kubernetes简介(一)
猜你喜欢

2022过半,没有新风口

Redis - 3. Publish and subscribe

Redis - 11、集群(Cluster)

Solution to 55e of Niuke challenge
![[an Xun cup 2019]iamthinking](/img/56/ffdcdeb8246d9ae7fb1eb72b45b614.png)
[an Xun cup 2019]iamthinking

YuMinHong said that e-commerce schools may be opened in the future; Musk's son applied to sever the father son relationship; Hungry? Respond to a large number of users receiving the free order informa

Deadlock found when trying to get lock; try restarting transaction 【MySQL死锁问题解决】

美团基于 Flink 的实时数仓平台建设新进展

Configure the GPU version of pytorch and torchvision, and learn the GPU version of torch step

Matlab的KNN分类使用(附源码),实现像素分类(自己设置训练集比例),打印测试精度
随机推荐
Redis - 7、事務操作
Fight, programmer chapter 39 how can you admire a bosom friend if you are not disappointed in life
初始transformer需要了解的一些概念
12306抢票使用教程
Noun analysis: ETL
Solution to the 55D problem of Niuke challenge
把蔚来告上法庭,奥迪急什么?
论文解读——Temporal Recommendation on Graphs via Long- and Short-term Preference Fusion
【高频笔试题】513. 找树左下角的值
【李宏毅】机器学习深度学习笔记 -- 训练模型通关攻略
Messari年度报告-2021
MAUI使用Masa blazor组件库
Niuke challenge 54F problem solution & Li Chaoshu's learning notes
"Meng Hua Lu" has become the king of gold: advertisers can't line up with 5million yuan. Has Tencent video won?
配置GPU版本的pytorch和torchvision,初学GPU版本torch踩坑
Redis - 9. Persistent AOF (append onlyfile)
What is homology??? Cross domain error??? How to solve???
Successful cases | an Chaoyun helped the second hospital of Lanzhou University build a new IT infrastructure platform to improve the utilization of medical information resources
Niuke challenge 53e problem solution & Notes on learning with flowers and trees
迪利克雷前缀和学习笔记