ts-7000
[Top] [All Lists]

[ts-7000] Re: fsck at boot question

To:
Subject: [ts-7000] Re: fsck at boot question
From: "Rekcut_Nod" <>
Date: Mon, 12 Sep 2011 20:05:03 -0000
I'm still trying to understand how fsck is run on the SD card filesystem.  I 
check to make sure what I think is the root file system is jfs:

tcors02:~# df -t jfs                                                            
Filesystem           1K-blocks      Used Available Use% Mounted on              
rootfs                 1894904    674044   1220860  36% /                       

OK, so far so good.  Then I try to do the jfs equivalent of dumpe2fs:

tcors02:~# jfs_tune -l /                                                        
jfs_tune version 1.1.12, 24-Aug-2007                                            
ujfs_rw_diskblocks: read 0 of 4096 bytes at offset 32768                        
ujfs_rw_diskblocks: read 0 of 4096 bytes at offset 61440                        
ujfs_rw_diskblocks: read 0 of 2116 bytes at offset 4096                         
                                                                                
Could not read valid JFS FS or log superblock on device /.                      

Googling on this error returned nothing.  It looks like something might be 
wrong with the file system, but I can't tell what.  I have already run fsck.jfs 
on the SD card's 4th partition and was told that the file system was clean, so 
I'm not sure what is happening.

Don



--- In  "Rekcut_Nod" <> wrote:
>
> I boot my TS-7260 from a SD image, and I want to force fsck to run at boot.  
> I put the following entry into my /etc/fstab file (I'm running a Debian lenny 
> distro):
> rootfs          /               jfs     defaults,noatime        0 1
> 
> When I look at /var/log/fsck/checkroot I see this:
> 
> Log of fsck -C -a -t jfs /lib/init/rw/rootdev 
> Fri Sep  9 21:39:43 2011
> 
> fsck 1.41.3 (12-Oct-2008)
> fsck.jfs version 1.1.12, 24-Aug-2007
> processing started: 9/9/2011 21.39.43
> The current device is:  /lib/init/rw/rootdev
> Block size in bytes:  4096
> Filesystem size in blocks:  475840
> **Phase 0 - Replay Journal Log
> Filesystem is clean.
> 
> Fri Sep  9 21:39:44 2011
> ----------------
> 
> This makes me concerned that fsck is not actually running on the root file 
> system, since there is a comment in /etc/rcS.d/S10checkroot.sh that says:
> 
> # Does the root device in /etc/fstab match with the actual device ?
> # If not we try to use the /dev/root alias device, and if that
> # fails we create a temporary node in /lib/init/rw.
> 
> Can someone tell me how to ensure that fsck is actually running on the SD 
> card's root file system?
> 
> Don
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU