October 6, 201114 yr I recently downloaded some files from the web and during the download process, i ran out of disk space on one of my shares. now when i try to delete that file, i get an error saying that i i do not have permission to do so. I tried stopping and starting the array and that didn't help. I even tried to enable disk shares and delete them right from the disk share and that didn't work. What can i do to get these files moved or deleted?
October 7, 201114 yr Author I had rebooted my pc before and just now, i rebooted the server and still its telling me i don't have permission to delete the files.
October 7, 201114 yr Author how do i find the files and delete them once i am logged in a telnet session? and what the heck would have caused this?
October 7, 201114 yr how do i find the files and delete them once i am logged in a telnet session? and what the heck would have caused this? type mc and then use midnight commander to explore, delete, etc. Disks and user shares are under /mnt
October 7, 201114 yr Author ok so i tried that and it says: cannot delete file "path_to_file" Read-only file system (30)
October 7, 201114 yr ok so i tried that and it says: cannot delete file "path_to_file" Read-only file system (30) Linux makes a file system read-only when it detect corruption. (to prevent further corruption) Basically, you need to run file system checks to correct the problem. http://lime-technology.com/wiki/index.php?title=Check_Disk_Filesystems
October 7, 201114 yr Author hmm ok well i did a reiserfsck --check on /dev/md9 which found 153 errors then i did a reiserfsck --fix-fixable on /dev/md9 and it said it fixed all the errors i did one more reiserfsck --check on /dev/md9 and it said zero errors this time. but still when i try to delete the files from windows or from midnight commander it says read only. I tried stopping and restarting the array again after doing this and i also tried rebooting the server and still no luck...
October 7, 201114 yr Author all other disks said that reiserfsck couldn't run because the disk was mounted in write mode. so disk 9 is the only one in read only mode.
October 7, 201114 yr all other disks said that reiserfsck couldn't run because the disk was mounted in write mode. so disk 9 is the only one in read only mode. You apparently did not follow the instructions on the wiki page I pointed you to. It explicitly has you un-mount the disks so you can run reiserfsck. Joe L.
October 7, 201114 yr Author oh sorry i was at work so i guess i didn't read them thoroughly i will give it a try again. also syslog is attached. syslog-2011-10-07.txt
Archived
This topic is now archived and is closed to further replies.