X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C894F0.B58F9E70@onstor-exch02.onstor.net>; Wed, 2 Apr 2008 11:38:13 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: I could not boot Cougar filer as NFS root
Date: Wed, 2 Apr 2008 11:38:13 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C951B@onstor-exch02.onstor.net>
In-Reply-To: <20080402112859.14dec10b@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: I could not boot Cougar filer as NFS root
Thread-Index: AciU72sA5rmixJJMTO++u5ZVNUl80wAAGCpw
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>,
	"Sripal Surendiran (HCL)" <sripal.surendiran@onstor.com>

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=3D12m 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=20
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,
>=20
> 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=20
> 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=20
> 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=3D" boot option; here are the available=20
> 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=20
> 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";
>         }
>=20
> *Prom details*
> SSC-PROM> env view
>=20
> Current Environment Settings:
>         autoload       =3D on         ( off on )
>         autoreboot     =3D off        ( off on )
>         load_src       =3D network    ( disk network )
>         load_opts      =3D mAt        ( m/s|A/a|d|t )
>         boot_dev       =3D sc0        ( sda1 sdb1 sc0 )
>         upgrade_prom   =3D yes        ( no yes )
>         env_reset      =3D no         ( no yes )
>         autolinkenable =3D f          (SP.0 enabled, SP.1 enabled, =
SP.2=20
> enabled, SP.3 enabled)
>         hw_qt          =3D off        ( off on )
>         hw_ft          =3D off        ( off on )
>         hw_diag        =3D off        ( off on )
>=20
> SSC-PROM> ver
>=20
> PROM_SIBYTE_CG : Cougar-prom-1.0.5 : Tue Mar 18 11:08:26 2008
>=20
> *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=3D12m 0 0
>
10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/b
in=20
> /onstor/bin nfs defaults 0 0
>
10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/l
ib=20
> /onstor/lib nfs defaults 0 0
>
10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/m
an=20
> /onstor/man nfs defaults 0 0
>
10.0.0.222:/s_home/users/sripal/private/work/dev/nfx-tree/Build/ch/opt/w
eb=20
> /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?
>=20
> Sripal.
>=20
>=20
