* Undeletable files... @ 2006-04-15 19:14 Graham Leggett 2006-04-15 19:58 ` Alexander Zarochentsev 0 siblings, 1 reply; 6+ messages in thread From: Graham Leggett @ 2006-04-15 19:14 UTC (permalink / raw) To: reiserfs-list [-- Attachment #1: Type: text/plain, Size: 1105 bytes --] Hi all, I am using a reiserfs partition mounted using Redhat Enterprise's 2.6.9-22.0.1.EL (rebuilt), and I have files that refuse to delete: [root@gatekeeper proc]# ls -al p* -rw-r--r-- 1 root root 0 Apr 15 20:50 partitions -rw-r--r-- 1 root root 0 Apr 15 20:50 pci [root@gatekeeper proc]# rm -f p* rm: cannot remove `partitions': Operation not permitted rm: cannot remove `pci': Operation not permitted [root@gatekeeper proc]# pwd /var/lib/diskless/i386/fedora-core-2/root/proc (The files were somehow copied from a /proc tree, they are otherwise normal files). For some reason they are not deletable. The partition is mounted like this: /dev/sda4 on /var type reiserfs (rw) I tried to find a way of running reiserfsck against the partition, but for some reason this is impossible on a read/write filesystem. The machine is not geographically nearby, so unmounting it is not possible at the moment. Can anyone recommend a way to rescue this filesystem, or am I going to have to make the drive of shame? The reiserfs-utils package I am using is reiserfs-utils-3.6.4-5. Regards, Graham -- [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3220 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Undeletable files... 2006-04-15 19:14 Undeletable files Graham Leggett @ 2006-04-15 19:58 ` Alexander Zarochentsev [not found] ` <444353D7.5000302@namesys.com> 0 siblings, 1 reply; 6+ messages in thread From: Alexander Zarochentsev @ 2006-04-15 19:58 UTC (permalink / raw) To: reiserfs-list; +Cc: Graham Leggett hello On Saturday 15 April 2006 23:14, Graham Leggett wrote: > Hi all, > > I am using a reiserfs partition mounted using Redhat Enterprise's > 2.6.9-22.0.1.EL (rebuilt), and I have files that refuse to delete: Are there any reiserfs error messages in the system logs? > [root@gatekeeper proc]# ls -al p* > -rw-r--r-- 1 root root 0 Apr 15 20:50 partitions > -rw-r--r-- 1 root root 0 Apr 15 20:50 pci > [root@gatekeeper proc]# rm -f p* > rm: cannot remove `partitions': Operation not permitted > rm: cannot remove `pci': Operation not permitted It looks as another procfs mount point, can you please do "stat -f partitions" to check that? > [root@gatekeeper proc]# pwd > /var/lib/diskless/i386/fedora-core-2/root/proc > > (The files were somehow copied from a /proc tree, they are otherwise > normal files). > > For some reason they are not deletable. The partition is mounted like > this: > > /dev/sda4 on /var type reiserfs (rw) > > I tried to find a way of running reiserfsck against the partition, > but for some reason this is impossible on a read/write filesystem. > The machine is not geographically nearby, so unmounting it is not > possible at the moment. > > Can anyone recommend a way to rescue this filesystem, or am I going > to have to make the drive of shame? > > The reiserfs-utils package I am using is reiserfs-utils-3.6.4-5. > > Regards, > Graham > -- -- Alex. ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <444353D7.5000302@namesys.com>]
* Re: Undeletable files... [not found] ` <444353D7.5000302@namesys.com> @ 2006-04-16 21:10 ` Jeffrey Mahoney [not found] ` <44445AED.6080905@namesys.com> 0 siblings, 1 reply; 6+ messages in thread From: Jeffrey Mahoney @ 2006-04-16 21:10 UTC (permalink / raw) To: Hans Reiser; +Cc: Alexander Zarochentsev, reiserfs-list, Graham Leggett Hans Reiser wrote: > Sounds like acls or acl bugs. Or not, since ACLs weren't enabled on the mount. -Jeff -- Jeff Mahoney SUSE Labs ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <44445AED.6080905@namesys.com>]
* Re: Undeletable files... [not found] ` <44445AED.6080905@namesys.com> @ 2006-04-17 15:26 ` Jeff Mahoney [not found] ` <44450FCE.4060608@namesys.com> 0 siblings, 1 reply; 6+ messages in thread From: Jeff Mahoney @ 2006-04-17 15:26 UTC (permalink / raw) To: Hans Reiser; +Cc: Alexander Zarochentsev, reiserfs-list, Graham Leggett -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Reiser wrote: > Jeffrey Mahoney wrote: > >> Hans Reiser wrote: >> >> >>> Sounds like acls or acl bugs. >>> >>> >> Or not, since ACLs weren't enabled on the mount. > > What happens if acls are used on one mount and not on another? To clarify, ACLs are a per-super feature. For this example, there weren't multiple mount points with different options, so per-super and per-mount are one and the same. If you mean if ACLs are enabled on one file system and not on another, nothing unusual will happen. The behavior for copying from one FS to another is defined. - From ACL fs to non-ACL fs, the ACLs will be lost. - From non-ACL fs to ACL fs, unless "preserve permissions" is set, the files will inherit from an optional default ACL. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEQ7ONLPWxlyuTD7IRAqzPAJwLuf5BX2IlUuAnMJ0eAyqRO1lFCgCgkaPg eugu4Q/rk56Qryz6JQ8bJEg= =urun -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <44450FCE.4060608@namesys.com>]
* Re: Undeletable files... [not found] ` <44450FCE.4060608@namesys.com> @ 2006-04-18 4:58 ` Jeff Mahoney [not found] ` <44452C44.9040000@namesys.com> 0 siblings, 1 reply; 6+ messages in thread From: Jeff Mahoney @ 2006-04-18 4:58 UTC (permalink / raw) To: Hans Reiser; +Cc: Alexander Zarochentsev, reiserfs-list, Graham Leggett -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Reiser wrote: > Jeff Mahoney wrote: > >> Hans Reiser wrote: >> >>> Jeffrey Mahoney wrote: >>>> Hans Reiser wrote: >>>> >>>> >>>>> Sounds like acls or acl bugs. >>>>> >>>>> >>>> Or not, since ACLs weren't enabled on the mount. >>> What happens if acls are used on one mount and not on another? >> >> To clarify, ACLs are a per-super feature. For this example, there >> weren't multiple mount points with different options, so per-super and >> per-mount are one and the same. >> >> If you mean if ACLs are enabled on one file system and not on another, > > no, I mean if mounted with acls enabled once and then without Then the ACLs will no longer be interpreted, or inherited, until ACLs are enabled again. ACLs aren't read and the interpretive code is completely skipped if -oacl is not specified. If a file is deleted, all xattrs associated with the file, including ACLs, will be deleted. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFERHH1LPWxlyuTD7IRAmTaAJ0Qbl7i7N+svQCIeYf94LyOl20HVgCfffIf 1yYoAuGzWZl6Wh1og6IFhJA= =MixN -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <44452C44.9040000@namesys.com>]
* Re: Undeletable files... [not found] ` <44452C44.9040000@namesys.com> @ 2006-04-18 13:53 ` Jeff Mahoney 0 siblings, 0 replies; 6+ messages in thread From: Jeff Mahoney @ 2006-04-18 13:53 UTC (permalink / raw) To: Hans Reiser; +Cc: Alexander Zarochentsev, reiserfs-list, Graham Leggett -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Reiser wrote: > Was this a 3.5/3.6 conversion bug? I thought we figured it out > once.... I just can't remember the figuring.... Oh ok, I see where you're going with it. There was the bug where the inode attribute bit in the super would claim that inode attribute were valid and then cause problems when they were enabled by default. That patch wasn't in mainline until 2.6.12. The kernel in the bug report is 2.6.9 w/ RH patches. I haven't read the source, but I doubt they would have backported that bug. At any rate, Graham, can you post your dmesg and the output of "grep kernel: /var/log/messages"? If you're seeing unexplained permissions errors, I'd like to see the logs as the most likely source is corruption. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFERO9CLPWxlyuTD7IRAk+4AJ99lehSoURYKL9+DeBcLlaWA3rHAgCfdyo/ DRHDvbfPE7b32m/i8pveoRo= =/RXV -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-04-18 13:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-15 19:14 Undeletable files Graham Leggett
2006-04-15 19:58 ` Alexander Zarochentsev
[not found] ` <444353D7.5000302@namesys.com>
2006-04-16 21:10 ` Jeffrey Mahoney
[not found] ` <44445AED.6080905@namesys.com>
2006-04-17 15:26 ` Jeff Mahoney
[not found] ` <44450FCE.4060608@namesys.com>
2006-04-18 4:58 ` Jeff Mahoney
[not found] ` <44452C44.9040000@namesys.com>
2006-04-18 13:53 ` Jeff Mahoney
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.