Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: nsp: juniper

M7i won't go through password recovery.

 

 

nsp juniper RSS feed   Index | Next | Previous | View Threaded


dave at terabitsystems

May 14, 2012, 4:01 PM

Post #1 of 2 (423 views)
Permalink
M7i won't go through password recovery.

Hey all--

I've got an M7i with an RE-400, and it won't go through the standard
password recovery procedure. It suggests running fsck manually, which
reveals no errors, and then goes through the same loop. I'm not an
expert with these things, at all. I'm probably just missing something
very simple. Hoping one of you can talk me down from the ledge. Thanks
much. Sample output below:

--Dave Peters

Hit [Enter] to boot immediately, or space bar for command prompt.


Type '?' for a list of commands, 'help' for more detailed help.
OK boot -s

!truncated!

Enter full pathname of shell or 'recovery' for root password recovery or
RETURN
for /bin/sh: recovery

!truncated!

error: filesystem consistency of secondary filesystems (fsck -p -y /var)
failed

An emergency shell can be started to repair any damage and
perform the required operation before exiting and allowing
this script to continue operation.

continue, shell, abort, retry, or reboot ? sh
# fsck
** /dev/ad1s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1358 files, 50481 used, 60549 free (21 frags, 7566 blocks, 0.0%
fragmentation)
** /dev/ad1s1e (NO WRITE)
** Last Mounted on /config
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
7 files, 7 used, 12239 free (23 frags, 1527 blocks, 0.2% fragmentation)

# cd /packages
# ./mount.jkernel
Mounted jkernel package on /dev/md1...
Verified manifest signed by PackageProduction_9_0_0
# ./mount.jroute
Mounted jroute package on /dev/md2...
Verified manifest signed by PackageProduction_9_0_0
# /usr/libexec/ui/recovery-mode

Performing filesystem consistency checks ...
/dev/ad1s1a: NO WRITE ACCESS
/dev/ad1s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

error: filesystem consistency checks (fsck -p -y) failed

An emergency shell can be started to repair any damage and
perform the required operation before exiting and allowing
this script to continue operation.

continue, shell, abort, retry, or reboot ?
_______________________________________________
juniper-nsp mailing list juniper-nsp [at] puck
https://puck.nether.net/mailman/listinfo/juniper-nsp


ObrienH at missouri

May 14, 2012, 4:49 PM

Post #2 of 2 (404 views)
Permalink
Re: M7i won't go through password recovery. [In reply to]

Offhand, I'd say you're not running fsck on the partition that's failing.
Try looking at /dev/da* and making sure that you've run it on all of the partitions.

Otherwise, there are some emergency options but I haven't done them..



On May 14, 2012, at 6:01 PM, Dave Peters wrote:

> Hey all--
>
> I've got an M7i with an RE-400, and it won't go through the standard password recovery procedure. It suggests running fsck manually, which reveals no errors, and then goes through the same loop. I'm not an expert with these things, at all. I'm probably just missing something very simple. Hoping one of you can talk me down from the ledge. Thanks much. Sample output below:
>
> --Dave Peters
>
> Hit [Enter] to boot immediately, or space bar for command prompt.
>
>
> Type '?' for a list of commands, 'help' for more detailed help.
> OK boot -s
>
> !truncated!
>
> Enter full pathname of shell or 'recovery' for root password recovery or RETURN
> for /bin/sh: recovery
>
> !truncated!
>
> error: filesystem consistency of secondary filesystems (fsck -p -y /var) failed
>
> An emergency shell can be started to repair any damage and
> perform the required operation before exiting and allowing
> this script to continue operation.
>
> continue, shell, abort, retry, or reboot ? sh
> # fsck
> ** /dev/ad1s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 1358 files, 50481 used, 60549 free (21 frags, 7566 blocks, 0.0% fragmentation)
> ** /dev/ad1s1e (NO WRITE)
> ** Last Mounted on /config
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 7 files, 7 used, 12239 free (23 frags, 1527 blocks, 0.2% fragmentation)
>
> # cd /packages
> # ./mount.jkernel
> Mounted jkernel package on /dev/md1...
> Verified manifest signed by PackageProduction_9_0_0
> # ./mount.jroute
> Mounted jroute package on /dev/md2...
> Verified manifest signed by PackageProduction_9_0_0
> # /usr/libexec/ui/recovery-mode
>
> Performing filesystem consistency checks ...
> /dev/ad1s1a: NO WRITE ACCESS
> /dev/ad1s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
>
> error: filesystem consistency checks (fsck -p -y) failed
>
> An emergency shell can be started to repair any damage and
> perform the required operation before exiting and allowing
> this script to continue operation.
>
> continue, shell, abort, retry, or reboot ?
> _______________________________________________
> juniper-nsp mailing list juniper-nsp [at] puck
> https://puck.nether.net/mailman/listinfo/juniper-nsp


_______________________________________________
juniper-nsp mailing list juniper-nsp [at] puck
https://puck.nether.net/mailman/listinfo/juniper-nsp

nsp juniper RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.