DBA操作安全警示一则

昨天有一套历史库需要备份后归档,采用连接磁带机归档的方式

考虑到可以使用小磁带备份节省资源,在aix上使用了tar


LINUX:

[oracle@S1PD37 dump]$ cd /tmp
[oracle@S1PD37 tmp]$ mkdir test
[oracle@S1PD37 tmp]$ cd test/
[oracle@S1PD37 test]$ ls
[oracle@S1PD37 test]$ touch test.linux
[oracle@S1PD37 test]$ ls -ltr
total 0
-rw-r--r-- 1 oracle oinstall 0 Oct 23 09:58 test.linux
[oracle@S1PD37 test]$
[oracle@S1PD37 test]$
[oracle@S1PD37 test]$ tar -cvf test.linux test.20121023
tar: test.20121023: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
[oracle@S1PD37 test]$
[oracle@S1PD37 test]$
[oracle@S1PD37 test]$ ls -ltr
total 12
-rw-r--r-- 1 oracle oinstall 10240 Oct 23 09:59 test.linux


AIX:

# pwd
/tmp/test
#
#
#
# touch test.txt
# ls
test.txt
# ls -ltr
total 0
-rw-r--r--    1 root     system            0 Oct 23 09:32 test.txt
# tar -cvf test.txt test20121023
tar: test20121023: A file or directory in the path name does not exist.
# ls

此时发现源文件已经不存在了。
# uname -a
AIX bwdev 3 5 00C1E5AE4C00

可以说是AIX的缺陷。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值