problem moving files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am not totally sure what caused this but I just 
wanted to know if anything of this sort has been
seen in the ext3 world.

I did a fresh install of redhat 7.2 linux with 
kernel-2.4.9(we have some patches applied to this).

I have root and boot filesystems as ext3 type. After
running some tests the system gets into a strange
state. I cannot move one file to another if that
destination file already exists. Here is some text 
that can help you understand the problem:

.....
{lng}usersg_16: ls
{lng}usersg_17: touch aaa
{lng}usersg_18: ls -l
total 0
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 aaa
{lng}usersg_19: touch bbb
{lng}usersg_20: ls -l
total 0
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 aaa
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 bbb
{lng}usersg_21: mv aaa bbb
total 0
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 aaa
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 bbb
{lng}usersg_21: mv aaa ccc   ------>(destination file doesn't exist)
{lng}usersg_22: ls -l
total 0
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 bbb
-rw-rw-r--    1 usersg media           0 Sep 19 10:45 ccc
.....

The strace of the mv command shows that everything is done 
correct and exits with code 0. A copy of file aaa to bbb
succeeds but a move fails.

I was just wondering if anything of this sort is in any
way related to some state of ext3 filesystem. Yet another
observation is that this problem is gone with a reboot.

Thanks in advance,
Girish



_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux