View previous topic :: View next topic |
Author |
Message |
Pilsner Tux's lil' helper
Joined: 14 Mar 2008 Posts: 89
|
Posted: Tue Oct 13, 2009 2:53 pm Post subject: named pipe stuck on filesystem |
|
|
Hello, everyone.
I had system crash yesterday and after reboot there is a file named MAKEFILE in /usr/src/linux/.... that is of type "named pipe" and which I cannot delete.
1. rm -f says "operation not permitted"
2. lsattr says not supported
3. file overwrite with echo or cat something > Makefile says not permitted.
4. Even rebooted to liveCD still cannot delete that file.
5. dd if=/dez/zero of=/path/to/makefile says operation not permitted
attributes:
prwSr-srw- 1 71 9537 0 Jan 26 1971 /path/to/Makefile
My FS is ext4.
Does anyone know how to get rid of this named pipe ? |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 513 Location: San Diego, California USA
|
Posted: Tue Oct 13, 2009 5:34 pm Post subject: |
|
|
Could be filesystem corruption. I'd run fsck on the filesystem. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
|
Back to top |
|
|
Pilsner Tux's lil' helper
Joined: 14 Mar 2008 Posts: 89
|
Posted: Wed Oct 14, 2009 12:11 pm Post subject: |
|
|
Had to format disk and re-install gentoo. Anyways after bad fsck I had /etc and /var gone and so, replacing of only those 2 folders from gentoo install disk was bad idea since all my packages were gone for "emerge" and reinstall were failing for some, due to file collisions. A real mess...
Thanks for link, next time I'll try to ru more fsck with different options if no other problem happens to exist. |
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Wed Oct 14, 2009 1:40 pm Post subject: |
|
|
Pilsner wrote: | Had to format disk and re-install gentoo. Anyways after bad fsck I had /etc and /var gone and so, replacing of only those 2 folders from gentoo install disk was bad idea since all my packages were gone for "emerge" and reinstall were failing for some, due to file collisions. A real mess...
Thanks for link, next time I'll try to ru more fsck with different options if no other problem happens to exist. |
You sure they were gone and not in lost+found? |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Wed Oct 14, 2009 2:44 pm Post subject: |
|
|
if a huge directory goes to lost+found it is as good as gone. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Wed Oct 14, 2009 3:56 pm Post subject: |
|
|
Pilsner wrote: | Had to format disk and re-install gentoo. Anyways after bad fsck I had /etc and /var gone and so, replacing of only those 2 folders from gentoo install disk was bad idea since all my packages were gone for "emerge" and reinstall were failing for some, due to file collisions. A real mess...
Thanks for link, next time I'll try to ru more fsck with different options if no other problem happens to exist. | That's a shame. I was under the impression that ext4 was suppose to be quite stable, like ext3. I guess problems sprout up from time to time.
I once had an issue occur on a reiserfs-3 disk, and I luckily made backups of everything before I tried the fsck, since it majorly messed up my disk... I guess I didn't properly read the man pages or whatever beforehand. I had to run fsck once on an ext3 drive back in the day, and didn't have any problems whatsoever, so I charged ahead on the reiser disk without hesitation. |
|
Back to top |
|
|
|