[j-nsp] cannot see hard disk

Brendan Mannella bmannella at teraswitch.com
Thu Sep 24 11:41:50 EDT 2009


The command he is referring to is...


>From shell, as root, check the boot devices

sysctl -a | grep bootdevs

(You will most likely see this) machdep.bootdevs: pcmcia-flash,compact-flash,lan

 
(at prompt, copy and paste this to put the HD back in the boot order) sysctl -w machdep.bootdevs: pcmcia-flash,compact-flash,disk,lan

Repeat  'sysclt-a | grep bootdevs' to ensure that it was changed.

If it happens again, there is most likely something wrong with the hard disk which seems to be common on the M7i, then your options are to RMA the RE if you have support, if not you can replace with a SSD drive.

Hope this helps.


Brendan Mannella




----- Original Message -----
From: "Jonathan Looney" <jonlooney at gmail.com>
To: "Shankar" <shankarks at gmail.com>
Cc: juniper-nsp at puck.nether.net
Sent: Thursday, September 24, 2009 11:31:26 AM GMT -05:00 US/Canada Eastern
Subject: Re: [j-nsp] cannot see hard disk

If your system booted without the hard disk, it is likely the hard disk was
removed from the boot order.  If the hard disk was removed from the boot
order, it won't show up in "show chassis hardware details" (at least in my
experience).  It probably won't even show up in the boot messages.  However,
that does not mean that the hard disk is permanently destroyed, defective,
etc.; rather, it just means that the system detected an error (whether
transient or fatal) and stopped using it (including removing it from the
boot order).

I believe there is at least one way to re-add it to the boot order; however,
it involves dropping down to the shell (and, therefore, is not "supported"
without JTAC blessing).  You should probably contact the JTAC for help.

-Jon

On Thu, Sep 24, 2009 at 10:53 AM, Shankar <shankarks at gmail.com> wrote:

> can you check if you have hard-dish using the following commands:
>
> show chassis hardware details
> show system boot-messaages...
>
> if not, you should have seen some hardware errors or logs relating to
> hard-disk..if yes, replace the RE...
>
> cheers
>
> On Thu, Sep 24, 2009 at 12:20 PM, Erol KAHRAMAN <erol.kahraman at gmail.com
> >wrote:
>
> > Hi all,
> >
> > I have m7i box. It restarted today and hard disk went off. I cannot see
> it
> > in my storage devices.
> >
> > Router1> show system storage
> > Filesystem              Size       Used      Avail  Capacity   Mounted on
> > /dev/ad0s1a             217M        61M       139M       30%  /
> > devfs                    16K        16K         0B      100%  /dev/
> > /dev/vn0                 16M        16M         0B      100%
> >  /packages/mnt/jbase
> > /dev/vn1                 65M        65M         0B      100%
> >  /packages/mnt/jkernel-8.4R1.13
> > /dev/vn2                8.5M       8.5M         0B      100%
> >  /packages/mnt/jpfe-M7i-8.4R1.13
> > /dev/vn3                2.6M       2.6M         0B      100%
> >  /packages/mnt/jdocs-8.4R1.13
> > /dev/vn4                 22M        22M         0B      100%
> >  /packages/mnt/jroute-8.4R1.13
> > /dev/vn5                8.0M       8.0M         0B      100%
> >  /packages/mnt/jcrypto-8.4R1.13
> > /dev/vn6                 14M        14M         0B      100%
> >  /packages/mnt/jpfe-common-8.4R1.13
> > mfs:136                  62M       1.0K        57M        0%  /tmp
> > mfs:150                  62M        16M        41M       28%  /mfs
> > /dev/ad0s1e              24M        18K        22M        0%  /config
> > procfs                  4.0K       4.0K         0B      100%  /proc
> >
> > How i can get it back. Any idea?
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/juniper-nsp
> >
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list