- 1. Re: can't remove dir (score: 1)
- Author: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 18:15:04 +0200
- Hi again, Using a 2.6.23 kernel and after a clean xfs_repair-2.9.4 run I can't remove that file: sylla:/# rm /lost+found/3912672557 rm: cannot remove `/lost+found/3912672557': Operation not permitted
- /archives/xfs/2007-10/msg00173.html (9,232 bytes)
- 2. Re: can't remove dir (score: 1)
- Author: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 12:18:58 -0400 (EDT)
- On Wed, 17 Oct 2007, Louis-David Mitterrand wrote: On Fri, Sep 14, 2007 at 09:14:25AM -0500, Eric Sandeen wrote: Louis-David Mitterrand wrote: Hello, While cleaning up /lost+found a directory resiste
- /archives/xfs/2007-10/msg00175.html (9,992 bytes)
- 3. Re: can't remove dir (score: 1)
- Author: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 18:30:43 +0200
- sylla:~# lsattr -l /lost+found/3912672557 lsattr: No such file or directory While reading flags on /lost+found/3912672557 The file is a dangling link.
- /archives/xfs/2007-10/msg00176.html (9,244 bytes)
- 4. Re: can't remove dir (score: 1)
- Author: David Chinner <dgc@xxxxxxx>
- Date: Thu, 18 Oct 2007 07:24:39 +1000
- Can you post the output of: xfs_db -r -c "inode 3912672557" -c "p" <device> Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group
- /archives/xfs/2007-10/msg00179.html (8,722 bytes)
- 5. Re: can't remove dir (score: 1)
- Author: "Barry Naujok" <bnaujok@xxxxxxx>
- Date: Thu, 18 Oct 2007 11:37:45 +1000
- Any errors in the system logs? I'd try most recent xfs_repair next. If that doesn't fix it, make an xfs_metadump for Barry to look at. :) Make a backup first if you're paranoid. Hi again, Using a 2.6
- /archives/xfs/2007-10/msg00181.html (10,089 bytes)
- 6. Re: can't remove dir (score: 1)
- Author: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 15:11:16 +0200
- Here: core.magic = 0x494e core.mode = 0120777 core.version = 1 core.format = 1 (local) core.nlinkv1 = 1 core.uid = 0 core.gid = 0 core.flushiter = 1 core.atime.sec = Sun Apr 9 19:10:38 2006 core.atim
- /archives/xfs/2007-10/msg00191.html (10,110 bytes)
- 7. Re: can't remove dir (score: 1)
- Author: David Chinner <dgc@xxxxxxx>
- Date: Fri, 19 Oct 2007 08:07:14 +1000
- ..... ^^^^^^^^^^^^^^^^^^ You can't remove this link until you remove the immutable flag. as root should do the trick. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group
- /archives/xfs/2007-10/msg00195.html (9,707 bytes)
- 8. Re: can't remove dir (score: 1)
- Author: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
- Date: Fri, 19 Oct 2007 12:10:08 +0200
- sylla:~# xfs_io -r -c "chattr -i" /lost+found/3912672557 /lost+found/3912672557: No such file or directory Tough cookie this one :)
- /archives/xfs/2007-10/msg00206.html (10,416 bytes)
- 9. Re: can't remove dir (score: 1)
- Author: David Chinner <dgc@xxxxxxx>
- Date: Mon, 22 Oct 2007 09:50:52 +1000
- Strange. This implies that lookup can't find inode # 3912672557. We know it is there... How many other files in the directory? Can you get the inode number for the lost+found directory and dump that
- /archives/xfs/2007-10/msg00217.html (10,910 bytes)
- 10. Re: can't remove dir (score: 1)
- Author: "Barry Naujok" <bnaujok@xxxxxxx>
- Date: Mon, 22 Oct 2007 10:42:25 +1000
- wrote: wrote: can't permitted /lost+found/3912672557 -> unix.7.gz sylla:~# xfs_io -r -c "chattr -i" /lost+found/3912672557 /lost+found/3912672557: No such file or directory Strange. This implies that
- /archives/xfs/2007-10/msg00219.html (11,914 bytes)
- 11. Re: can't remove dir (score: 1)
- Author: David Chinner <dgc@xxxxxxx>
- Date: Mon, 22 Oct 2007 11:17:29 +1000
- Actually, I tested that before posting. If the symlink is dangling, then the symlink gets the attributes attached to it: total 0 lrwxrwxrwx 1 root root 22 Oct 22 11:09 foo -> /mnt/scratch/unix.7.gz /
- /archives/xfs/2007-10/msg00221.html (10,995 bytes)
- 12. Re: can't remove dir (score: 1)
- Author: Louis-David Mitterrand <vindex+lists-xfs@xxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 09:04:25 +0200
- sylla:/lost+found# touch /lost+found/unix.7.gz sylla:/lost+found# l total 0 lrwxrwxrwx 1 root root 9 2006-04-09 19:10 3912672557 -> unix.7.gz -rw-r--r-- 1 root root 0 2007-10-22 09:02 unix.7.gz sylla
- /archives/xfs/2007-10/msg00225.html (12,079 bytes)
- 13. Re: can't remove dir (score: 1)
- Author:
- Date: Wed, 17 Oct 2007 18:15:04 +0200
- Hi again, Using a 2.6.23 kernel and after a clean xfs_repair-2.9.4 run I can't remove that file: sylla:/# rm /lost+found/3912672557 rm: cannot remove `/lost+found/3912672557': Operation not permitted
- /archives/xfs/2007-10/msg00500.html (9,232 bytes)
- 14. Re: can't remove dir (score: 1)
- Author:
- Date: Wed, 17 Oct 2007 12:18:58 -0400 (EDT)
- On Wed, 17 Oct 2007, Louis-David Mitterrand wrote: On Fri, Sep 14, 2007 at 09:14:25AM -0500, Eric Sandeen wrote: Louis-David Mitterrand wrote: Hello, While cleaning up /lost+found a directory resiste
- /archives/xfs/2007-10/msg00502.html (9,992 bytes)
- 15. Re: can't remove dir (score: 1)
- Author:
- Date: Wed, 17 Oct 2007 18:30:43 +0200
- sylla:~# lsattr -l /lost+found/3912672557 lsattr: No such file or directory While reading flags on /lost+found/3912672557 The file is a dangling link.
- /archives/xfs/2007-10/msg00503.html (9,244 bytes)
- 16. Re: can't remove dir (score: 1)
- Author:
- Date: Thu, 18 Oct 2007 07:24:39 +1000
- Can you post the output of: xfs_db -r -c "inode 3912672557" -c "p" <device> Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group
- /archives/xfs/2007-10/msg00506.html (8,722 bytes)
- 17. Re: can't remove dir (score: 1)
- Author:
- Date: Thu, 18 Oct 2007 11:37:45 +1000
- Any errors in the system logs? I'd try most recent xfs_repair next. If that doesn't fix it, make an xfs_metadump for Barry to look at. :) Make a backup first if you're paranoid. Hi again, Using a 2.6
- /archives/xfs/2007-10/msg00508.html (10,089 bytes)
- 18. Re: can't remove dir (score: 1)
- Author:
- Date: Thu, 18 Oct 2007 15:11:16 +0200
- Here: core.magic = 0x494e core.mode = 0120777 core.version = 1 core.format = 1 (local) core.nlinkv1 = 1 core.uid = 0 core.gid = 0 core.flushiter = 1 core.atime.sec = Sun Apr 9 19:10:38 2006 core.atim
- /archives/xfs/2007-10/msg00518.html (10,110 bytes)
- 19. Re: can't remove dir (score: 1)
- Author:
- Date: Fri, 19 Oct 2007 08:07:14 +1000
- ..... ^^^^^^^^^^^^^^^^^^ You can't remove this link until you remove the immutable flag. as root should do the trick. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group
- /archives/xfs/2007-10/msg00522.html (9,707 bytes)
- 20. Re: can't remove dir (score: 1)
- Author:
- Date: Fri, 19 Oct 2007 12:10:08 +0200
- sylla:~# xfs_io -r -c "chattr -i" /lost+found/3912672557 /lost+found/3912672557: No such file or directory Tough cookie this one :)
- /archives/xfs/2007-10/msg00533.html (10,416 bytes)
This search system is powered by
Namazu