AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080402114221.64167689@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>,<sripal.surendiran@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C951B@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 2 Apr 2008 11:42:24 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Cc: "Sripal Surendiran (HCL)" <sripal.surendiran@onstor.com>
Subject: Re: I could not boot Cougar filer as NFS root
Message-ID: <20080402114224.593e5046@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C951B@onstor-exch02.onstor.net>
References: <20080402112859.14dec10b@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C951B@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

The fstab isn't really the problem.  This is the problem:

> > Root-NFS: No NFS server available, giving up.

This message is usually given when there is no IP address so it can't
even try and find the NFS server.



On Wed, 2 Apr 2008 11:38:13 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Andy pointed out most of the major mistakes. I suspect your /etc/fstab
> is either missing or incorrect.
> 
> At a minimum it should be:
> 
> /dev/root       /               nfs             defaults 0 0
> proc            /proc   proc    defaults 0 0
> tmpfs           /tmp    tmpfs   defaults,size=12m 0 0
> 
> I just checked your nfsroot directory and /var/nfsroot/g7r10/etc/fstab
> looks ok. Did you just update it?
> 
> Larry
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Wednesday, April 02, 2008 11:29 AM
> To: Sripal Surendiran (HCL)
> Cc: Larry Scheer
> Subject: Re: I could not boot Cougar filer as NFS root
> 
> On Wed, 02 Apr 2008 23:51:39 +0530 Sripal
> <sripal.surendiran@onstor.com> wrote:
> 
> > Larry,
> > 
> > I just followed steps in wiki to create NFS root. I get following
> > error when I boot my system using tftp server.
> 
> 
> You cut off the IP initialization section...probably the important
> part.
> 
> > sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> > sd 0:0:0:0: [sda] Write Protect is off
> > sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled,
> > doesn't support DPO or FUA
> > sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> > sd 0:0:0:0: [sda] Write Protect is off
> > sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled,
> > doesn't support DPO or FUA
> >  sda: sda1 sda2 sda3 sda4
> > sd 0:0:0:0: [sda] Attached SCSI removable disk
> > Root-NFS: No NFS server available, giving up.
> > VFS: Unable to mount root fs via NFS, trying floppy.
> > VFS: Cannot open root device "nfs" or unknown-block(2,0)
> > Please append a correct "root=" boot option; here are the available 
> > partitions:
> > 0800    1030176 sda driver: sd
> >   0801     712624 sda1
> >   0802      30240 sda2
> >   0803     174384 sda3
> >   0804     112896 sda4
> > Kernel panic - not syncing: VFS: Unable to mount root fs on 
> > unknown-block(2,0)
> > Rebooting in 5 seconds..
> > *
> > DHCP configuration*
> > host g7r10.onstor.lab {
> >         hardware ethernet 00:07:34:10:00:00;
> >         fixed-address 10.2.10.7;
> >         next-server 10.0.0.143;
> >         option root-path "10.0.0.143:/var/nfsroot/g7r10";
> >         option host-name "g7r10";
> >         option subnet-mask 255.255.0.0;
> >         option routers 10.2.0.1;
> >         filename "10.2.10.7/vmlinux.bin";
> >         }
> > 
> > *Prom details*
> > SSC-PROM> env view
> > 
> > Current Environment Settings:
> >         autoload       = on         ( off on )
> >         autoreboot     = off        ( off on )
> >         load_src       = network    ( disk network )
> >         load_opts      = mAt        ( m/s|A/a|d|t )
> >         boot_dev       = sc0        ( sda1 sdb1 sc0 )
> >         upgrade_prom   = yes        ( no yes )
> >         env_reset      = no         ( no yes )
> >         autolinkenable = f          (SP.0 enabled, SP.1 enabled,
> > SP.2 enabled, SP.3 enabled)
> >         hw_qt          = off        ( off on )
> >         hw_ft          = off        ( off on )
> >         hw_diag        = off        ( off on )
> > 
> > SSC-PROM> ver
> > 
> > PROM_SIBYTE_CG : Cougar-prom-1.0.5 : Tue Mar 18 11:08:26 2008
> > 
> > *Fstab entry:*
> > [sripal@linux-compile rootfs]#cat etc/fstab.sav
> > /dev/root   /       nfs     defaults 0 0
> > proc        /proc   proc    defaults 0 0
> > tmpfs       /tmp    tmpfs   defaults,size=12m 0 0
> >
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/b
> in 
> > /onstor/bin nfs defaults 0 0
> >
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/l
> ib 
> > /onstor/lib nfs defaults 0 0
> >
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/m
> an 
> > /onstor/man nfs defaults 0 0
> >
> 10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/w
> eb 
> > /onstor/web nfs defaults 0 0
> 
> I doubt it's a good idea to mount your Cheetah build directories to a
> Cougar.  And it should be etc/fstab, shouldn't
> it?  /var/nfsroot/g7r10/etc/fstab?
> 
> > Whether I am missing something?
> > 
> > Sripal.
> > 
> > 
