* [gentoo-user] "deleted inode referenced" @ 2009-11-07 17:05 Philip Webb 2009-11-08 0:26 ` Stroller ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Philip Webb @ 2009-11-07 17:05 UTC (permalink / raw To: Gentoo User In the course of trying to get X to work on my ASUS 1005HA netbook, I had to power the machine off several times. In the course of this, some damage seems to have occurred to the file system. There are files in /var /tmp which I can't remove: the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: 16388". I got round the problem by creating new dirs, copying everything else & renaming the dirs, but that leaves me with /bad1 , which I can't remove as it contains a reference to an inode which no longer exists. NB this is not the more common problem of a bad file name, which cb dealt with simply by removing the inode (which still exists). Can anyone help ? BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? -- I use Reiserfs on my desktop machines. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-07 17:05 [gentoo-user] "deleted inode referenced" Philip Webb @ 2009-11-08 0:26 ` Stroller 2009-11-08 2:46 ` William Kenworthy 2009-11-08 10:49 ` [gentoo-user] "deleted inode referenced" daid kahl 2 siblings, 0 replies; 10+ messages in thread From: Stroller @ 2009-11-08 0:26 UTC (permalink / raw To: gentoo-user On 7 Nov 2009, at 17:05, Philip Webb wrote: > ... > There are files in /var /tmp which I can't remove: > the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: > 16388". > > I got round the problem by creating new dirs, copying everything else > & renaming the dirs, but that leaves me with /bad1 , which I can't > remove > as it contains a reference to an inode which no longer exists. ... Have you tried running fsck on the filesystem? Stroller. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-07 17:05 [gentoo-user] "deleted inode referenced" Philip Webb 2009-11-08 0:26 ` Stroller @ 2009-11-08 2:46 ` William Kenworthy 2009-11-08 6:35 ` Alan McKinnon 2009-11-08 15:12 ` [gentoo-user] "deleted inode referenced" [SOLVED] Philip Webb 2009-11-08 10:49 ` [gentoo-user] "deleted inode referenced" daid kahl 2 siblings, 2 replies; 10+ messages in thread From: William Kenworthy @ 2009-11-08 2:46 UTC (permalink / raw To: gentoo-user On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: > In the course of trying to get X to work on my ASUS 1005HA netbook, > I had to power the machine off several times. In the course of this, > some damage seems to have occurred to the file system. > There are files in /var /tmp which I can't remove: > the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: 16388". > > I got round the problem by creating new dirs, copying everything else > & renaming the dirs, but that leaves me with /bad1 , which I can't remove > as it contains a reference to an inode which no longer exists. > NB this is not the more common problem of a bad file name, > which cb dealt with simply by removing the inode (which still exists). > > Can anyone help ? > > BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? > -- I use Reiserfs on my desktop machines. > Have you tried fsk on it? - "man e2fsck" The last question is a bit of a "how long is a piece of string" question. My personal experience is ext2 is only for those occasions you dont value the data at all :) ext3 isnt much better unless you use "data=journal" to get some basic protection. But instead of fiddling with such (deleted disparaging comment) file systems, use reiserfs though this may need a complete reinstall . Updates are still occuring to the reiserfs code in the kernel, so reiserfs is not abandoned by any means. ext4, reiserfs4, btfs and the like are too new for me, though I like the look of btfs. I have read some interesting articles in the past about the ext filesystem devs and their inside track on rieserfs in the kernel and the war of words that surrounds it. My personal experience with ext2/3 supports the view that the ext filesystems didn't fairly win the argument based on performance and data protection. Enough said. Unfortunately, filesystems are a very complex and emotive subject with no one choice fits all solution. My suggestion is you have lost data and have problems with what you are using ... time to move on, try ext3 (with "data=journal") next - because you can fix ext2 with e2fsck (though probably lose some data in the process, but ...), convert to ext3 then mount with "data=journal" without having to reinstall. Google for the commands needed ... worked for me. Have fun :) BillK ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-08 2:46 ` William Kenworthy @ 2009-11-08 6:35 ` Alan McKinnon 2009-11-08 10:25 ` Philip Webb 2009-11-08 12:14 ` pk 2009-11-08 15:12 ` [gentoo-user] "deleted inode referenced" [SOLVED] Philip Webb 1 sibling, 2 replies; 10+ messages in thread From: Alan McKinnon @ 2009-11-08 6:35 UTC (permalink / raw To: gentoo-user On Sunday 08 November 2009 04:46:50 William Kenworthy wrote: > On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: > > BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better > > ? -- I use Reiserfs on my desktop machines. > > Have you tried fsk on it? - "man e2fsck" > > The last question is a bit of a "how long is a piece of string" > question. > > My personal experience is ext2 is only for those occasions you dont > value the data at all :) > > ext3 isnt much better unless you use "data=journal" to get some basic > protection. That turns on the journal which will wear out an SSD in short order, so ext2 is indeed the better file system > But instead of fiddling with such (deleted disparaging comment) file > systems, use reiserfs though this may need a complete reinstall . > Updates are still occuring to the reiserfs code in the kernel, so > reiserfs is not abandoned by any means. I use reiser everywhere else but not on my netbook. Have you used it on an SSD and if so, what results did you get > ext4, reiserfs4, btfs and the like are too new for me, though I like the > look of btfs. All conventional filesystems are built in such a way as to suit rotating disk media. Not surprising, as those were the only disks available for many a year. SSDs however, are very different, especially the cheap nasty controllers that go into netbooks. I think one should be willing to experiment with those, see what comes up. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-08 6:35 ` Alan McKinnon @ 2009-11-08 10:25 ` Philip Webb 2009-11-08 15:27 ` Alan McKinnon 2009-11-08 12:14 ` pk 1 sibling, 1 reply; 10+ messages in thread From: Philip Webb @ 2009-11-08 10:25 UTC (permalink / raw To: gentoo-user 091108 Alan McKinnon wrote: > On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: >> is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? >> -- I use Reiserfs on my desktop machines. > the journal will wear out an SSD in short order, > so ext2 is indeed the better file system > All conventional filesystems are built to suit rotating disk media. > SSDs are very different, esp the cheap nasty controllers in netbooks. Sensible advice, no doubt, for those using SSDs in their netbooks, but as I said in my OP, my ASUS 1005HA has a 160 GB hard disk (HDD), whence the letter 'H' in its name. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-08 10:25 ` Philip Webb @ 2009-11-08 15:27 ` Alan McKinnon 0 siblings, 0 replies; 10+ messages in thread From: Alan McKinnon @ 2009-11-08 15:27 UTC (permalink / raw To: gentoo-user On Sunday 08 November 2009 12:25:19 Philip Webb wrote: > 091108 Alan McKinnon wrote: > > On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: > >> is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? > >> -- I use Reiserfs on my desktop machines. > > > > the journal will wear out an SSD in short order, > > so ext2 is indeed the better file system > > All conventional filesystems are built to suit rotating disk media. > > SSDs are very different, esp the cheap nasty controllers in netbooks. > > Sensible advice, no doubt, for those using SSDs in their netbooks, > but as I said in my OP, my ASUS 1005HA has a 160 GB hard disk (HDD), > whence the letter 'H' in its name. Yes, I saw that in another post you made. I find it harder and harder to keep track of what is shipped with what product these days... :-) -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-08 6:35 ` Alan McKinnon 2009-11-08 10:25 ` Philip Webb @ 2009-11-08 12:14 ` pk 1 sibling, 0 replies; 10+ messages in thread From: pk @ 2009-11-08 12:14 UTC (permalink / raw To: gentoo-user Alan McKinnon wrote: > That turns on the journal which will wear out an SSD in short order, so ext2 > is indeed the better file system http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/ Best regards Peter K ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" [SOLVED] 2009-11-08 2:46 ` William Kenworthy 2009-11-08 6:35 ` Alan McKinnon @ 2009-11-08 15:12 ` Philip Webb 2009-11-08 15:58 ` Dale 1 sibling, 1 reply; 10+ messages in thread From: Philip Webb @ 2009-11-08 15:12 UTC (permalink / raw To: gentoo-user 091108 William Kenworthy wrote: > On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: >> In the course of trying to get X to work on my ASUS 1005HA netbook, >> I had to power the machine off several times. In the course of this, >> some damage seems to have occurred to the file system. >> There are files in /var /tmp which I can't remove: >> the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: 16388". >> I got round the problem by creating new dirs, copying everything else >> & renaming the dirs, but that leaves me with /bad1 , which I can't remove >> as it contains a reference to an inode which no longer exists. >> BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? >> -- I use Reiserfs on my desktop machines. > Have you tried fsk on it? - "man e2fsck" Sorry to those who suggested this: I didn't think of it, as I haven't used Ext2 (except for /boot ) since 2003. > My personal experience is > ext2 is only for those occasions you dont value the data at all That's my impression from yesterday's potential disaster (wry smile). > ext3 isnt much better > unless you use "data=journal" to get some basic protection. It seemed behind Reiserfs back in 2003, when I built ANB2, & I kept it for ANB3 in 2007; there's never been a problem with it. > use Reiserfs though this may need a complete reinstall. > Updates are still occuring to the Reiserfs code in the kernel, > so Reiserfs is not abandoned by any means. I haven't updated R-fsprogs since 071222, tho' there's a minor revision. Of course, that doesn't mean the stuff in the kernel is that old. It wb a pity if it's not maintained at least till Btree-fs is reliable. Anyway, I've reformatted my partitions to Reiserfs without re-installing (clever, aren't I ? -- big grin). Besides / + /home , I have a big hangar-openspace partition I call /z ( 60 GB ), which is useful for unpacking stuff & has /z/tmp for Emerge to use. I created a dir /z/store3 , then did 'cp -a bin /z/store3' etc for all the dirs in / ; next I used SystemRescue to reformat /dev/hda3 , which is mounted as / , then 'cp -a' everything back again. And it worked !! Similarly for /home & for /z itself (using /store6 ). NB WARNING : if anyone else wants to do this, 'cp -a' is your friend, but be very careful to proof-read all your commands as you do it & use 'du' etc to check that the data really is being copied; some of the copies take a few minutes, but they do get there. So far, I'm very impressed with the ASUS 1005HA & even more with Gentoo, which is perfectly fit for this kind of job. Try a binary distro, run into any kind of problem & what can you do ? Gentoo makes it work ! Now I have to resume getting X to work properly. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" [SOLVED] 2009-11-08 15:12 ` [gentoo-user] "deleted inode referenced" [SOLVED] Philip Webb @ 2009-11-08 15:58 ` Dale 0 siblings, 0 replies; 10+ messages in thread From: Dale @ 2009-11-08 15:58 UTC (permalink / raw To: gentoo-user Philip Webb wrote: > Anyway, I've reformatted my partitions to Reiserfs without re-installing > (clever, aren't I ? -- big grin). Besides / + /home , > I have a big hangar-openspace partition I call /z ( 60 GB ), > which is useful for unpacking stuff & has /z/tmp for Emerge to use. > I created a dir /z/store3 , then did 'cp -a bin /z/store3' etc > for all the dirs in / ; next I used SystemRescue to reformat /dev/hda3 , > which is mounted as / , then 'cp -a' everything back again. > And it worked !! Similarly for /home & for /z itself (using /store6 ). > NB WARNING : if anyone else wants to do this, 'cp -a' is your friend, > but be very careful to proof-read all your commands as you do it > & use 'du' etc to check that the data really is being copied; > some of the copies take a few minutes, but they do get there. > > So far, I'm very impressed with the ASUS 1005HA & even more with Gentoo, > which is perfectly fit for this kind of job. Try a binary distro, > run into any kind of problem & what can you do ? Gentoo makes it work ! > > Now I have to resume getting X to work properly. > > cp -a is your friend. If you want to see the copy, just make it -av instead. I have used cp -av for a long time to move my Gentoo install from one drive to another. It's really simple to do with it. Just don't forget to put the boot manager on the new drive if you are moving a install. Dale :-) :-) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] "deleted inode referenced" 2009-11-07 17:05 [gentoo-user] "deleted inode referenced" Philip Webb 2009-11-08 0:26 ` Stroller 2009-11-08 2:46 ` William Kenworthy @ 2009-11-08 10:49 ` daid kahl 2 siblings, 0 replies; 10+ messages in thread From: daid kahl @ 2009-11-08 10:49 UTC (permalink / raw To: gentoo-user > There are files in /var /tmp which I can't remove: > the msg is "EXT2-fs error: ext2_lookup: deleted inode referenced: 16388". > > Can anyone help ? > Did you try removing it from a live Linux distro (ie: on a USB stick)? Or if it lets you move it, maybe you can move it to the temporary file system created in the RAM by a live install, and then when you reboot into your normal system the RAM is cleared. ~daid ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-11-08 15:58 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-07 17:05 [gentoo-user] "deleted inode referenced" Philip Webb 2009-11-08 0:26 ` Stroller 2009-11-08 2:46 ` William Kenworthy 2009-11-08 6:35 ` Alan McKinnon 2009-11-08 10:25 ` Philip Webb 2009-11-08 15:27 ` Alan McKinnon 2009-11-08 12:14 ` pk 2009-11-08 15:12 ` [gentoo-user] "deleted inode referenced" [SOLVED] Philip Webb 2009-11-08 15:58 ` Dale 2009-11-08 10:49 ` [gentoo-user] "deleted inode referenced" daid kahl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox