On Sat November 4 2006 9:39 pm, John Andersen wrote:
On Saturday 04 November 2006 20:34, Richard wrote:
I ready for the big head slap with a following, "well, duh..." I am trying to remove files, .rpm files as it happens from a drive. Even as root, it is refused, "Operation not permitted". I even looked up and tried shred, which also gives an error message. Chmod will not allow changing any file permissions or ownership...I only thought if I could change one of those that might make it more amenable to deletion. Is there maybe something about the drive itself that might be making it un-writable/deletable. I would certainly consider writing a new file system to the drive as I want nothing on it. I took a short look at hdparm and elected to ask here before doing anything I might later regret...and then come back here to try to fix.
Thanks for any suggestions.
Richard
Might be a corruption problem. Several have mentioned on these lists that a reiserfs partition that gets boogered and needs a reiserffchk usually drops into read-only mode, if not for the whole drive than some significant part of it.
So unmount it (boot with rescue cd if necessary) and run a check on it.
Thanks. Just did that and it reports no superblock. I ran the reiserfsck and applied fixes it suggested, but now most recent message is, "Bad root block 0. (--rebuild-tree did not complete)". It is ok with me to re-write the filesystem to the drive if necessary to get a usable drive back, as I am not concerned about losing any of this data. Thanks again for your assistance. Richard