[j-nsp] J-Series and USB storage

Stacy W. Smith stacy at acm.org
Fri Apr 4 16:11:24 EDT 2008


On Apr 4, 2008, at 1:55 PM, Chris Adams wrote:
> I'm trying to snapshot a J2300 to a USB key.  I got a Kingston 1G USB
> (listed on the supported page) but it still doesn't work.  I do:
>
> admin at testj2300> request system snapshot as-primary partition swap- 
> size 0 media usb
> error: usb media missing or invalid
>
> admin at testj2300>
>
> Any ideas?

I would suggest leaving off "as-primary", but that's probably not the  
cause of your problem. "as-primary" was required in JUNOS 7.4 and  
earlier if you were using a USB to CF adapter and you planned on using  
the resulting CF in the primary CF slot. It's essentially a no-op for  
7.5 and later. Either way, it's not required for a USB stick.

I would also leave of the "swap-size 0" and stick with the default  
partition sizes. Again, that's unlikely to be the cause of your actual  
problem.

Does "show chassis hardware detail" show the USB stick?

lab at Denver> show chassis hardware detail
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                JN10920F8ADA      J4350
Midplane         REV 02   710-014594   NN2247
System IO        REV 01   710-016210   NN8543            JX350 System IO
Crypto Module                                            Crypto  
Acceleration
Routing Engine   REV 08   710-015273   NM4352            RE-J4350-2540
  ad0     977 MB  SanDisk SDCFJ-1024   020802K0106R4229  Compact Flash
  usb0 (addr 1)  UHCI root hub 0       Intel             uhub0
  usb0 (addr 2)  U3 Cruzer Micro 21510 SanDisk Corporation umass0
FPC 0                                                    FPC
  PIC 0                                                  4x GE Base PIC
FPC 1            REV 06   750-010356   AG06319611        FPC
  PIC 0                                                  2x Serial
Power Supply 0

If not, I would simply suggest removing and re-inserting to see if  
it's recognized.

If it has anything like San Disk's U3 "smart technology" you may want  
to repartition/reformat in a PC in order to remove that. Even so,  
you'll still need to use the "partition" keyword to "request system  
snapshot".

--Stacy





More information about the juniper-nsp mailing list