Routing
Highlighted
Routing

partitions

‎05-15-2020 04:32 PM

Hi,

Can I ask where can be seen the all disks, partitions (primary and secondary)?

 

show chassis hardware detail
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                JNXXXPPPREDFR             MX104
Midplane         REV 57   750-062050   USAsdgf675          MX104
PEM 0            REV 05   740-045933   5j154654264       AC Power Entry Module
PEM 1            REV 05   740-045933   5j154654264       AC Power Entry Module
Routing Engine 0 REV 04   750-061985   USAsdgf675         RE-MX-104
  da0    7640 MB  USB Flash Module                       Nand Flash 0
  usb0 (addr 1)  product 0x0000 0      vendor 0x0000     uhub0
  usb0 (addr 2)  product 0x2513 9491   vendor 0x0424     uhub1
  usb0 (addr 3)  product 0x0400 1024   vendor 0x1370     umass0
Routing Engine 1 REV 04   750-061985   USAsdgf675        RE-MX-104
  da0    7640 MB  USB Flash Module                       Nand Flash 0
  usb0 (addr 1)  product 0x0000 0      vendor 0x0000     uhub0
  usb0 (addr 2)  product 0x2513 9491   vendor 0x0424     uhub1
  usb0 (addr 3)  product 0x0400 1024   vendor 0x1370     umass0
AFEB 0                    BUILTIN      BUILTIN           Forwarding Engine Processor
14 REPLIES 14
Highlighted
Routing

Re: partitions

‎05-15-2020 04:55 PM
Hi Arix,

You can go through below link to understand on disk partitions.

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/storage-media-and-routing-engines...



If this solves your problem, please mark this post as "Accepted Solution" so we can help others too



Kudos are appreciated too





Regards
Nadeem
Highlighted
Routing

Re: partitions

‎05-15-2020 05:10 PM

I read but couldn't find  storage name from the table 1 for the FRU Model Number: RE-S-MX104-S

Highlighted
Routing

Re: partitions

‎05-15-2020 05:23 PM
Hi Arix,

Please find the attached screenshot for MX 104 RE.

Regards
Nadeem.
Highlighted
Routing

Re: partitions

‎05-15-2020 05:30 PM

attached screenshot?

Highlighted
Routing

Re: partitions

‎05-15-2020 05:39 PM
Hi Arix,

Looks like it was not attached. Pasting the below output. Alternatively you can search in the above shared link with RE-MX-104.

RE-MX-104

FreeBSD 6.x

No

da0

No

da1 and da2

Regards
Nadeem
Highlighted
Routing

Re: partitions

‎05-15-2020 09:48 PM

Hi Arix,

 

On MX104 routers, the 8-GB internal NAND flash device (da0) mounted on the internal eUSB card acts as the primary boot and storage device. Two USB ports on the front panel accept USB storage devices (usb0 and usb1)
that can also function as alternative boot devices.

 

8-GB on-board NAND Flash—Provides primary storage for software images, configuration files, and microcode. The NAND flash is fixed and is inaccessible from outside the router.

 

So, coming to your question, as per my understanding we are already seeing all the disks in the output that you shared. There is no secondary on MX104. Its either the internal NAND disk or the USB.

 

Please refer the below document which is a complete hardware guide for MX104:

https://www.juniper.net/documentation/en_US/release-independent/junos/information-products/pathway-p...

 

Hope this helps 🙂

 

Please mark "Accepted Solution" if this solves your query.

Kudo this post if you feel that I earned it 🙂

 

Highlighted
Routing

Re: partitions

‎05-15-2020 10:26 PM

Hello Arix,

 

Greetings!

 

Checked in the lab MX104 device and below is the explanation:

 

XXXX> show chassis hardware detail
Hardware inventory:
Item Version Part number Serial number Description
Routing Engine 0 REV 04 750-061985 XXXXXXXX RE-MX-104
da0 7640 MB USB Flash Module Nand Flash 0
usb0 (addr 1) product 0x0000 0 vendor 0x0000 uhub0
usb0 (addr 2) product 0x2513 9491 vendor 0x0424 uhub1
usb0 (addr 3) product 0x0400 1024 vendor 0x1370 umass0

 

Above you see there is only 1 partition i.e., da0 and no secondary partition. Also, there is a USB in the RE-MX-104.

 

Below is the disk partition of da0 and its allocated space.

Mainly we have 3 major partitions in da0: da0s1a, da0s1e, da0s1f.

 

XXXX> show system storage detail
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/da0s1a 925228 298140 553070 35% /
/dev/da0s1e 102636 206 94220 0% /config
procfs 4 4 0 100% /proc
/dev/da0s1f 5634196 4828716 354746 93% /var

 

Use the command "show system storage detail" to check all the storage partitions on any device.

 

Let me know if you have any more queries.

 

I hope this helps. Please mark this post "Accept as solution" if this answers your query.

 

Kudos are always appreciated! Smiley Happy

 

Best Regards,

Lingabasappa H

 

Highlighted
Routing

Re: partitions

[ Edited ]
‎05-16-2020 04:38 AM
Hello Arix,

Thanks for the kudos.

Let me know if you have any other queries regarding this post.

Please acknowledge the post which has helped you solving the issue. This will help others to get answer for the similar queries posted.

Please mark my post as "Accept as solution" if that answered your query.

Kudos are always appreciated! Smiley Happy

Best Regards,
Lingabasappa H
Highlighted
Routing

Re: partitions

‎05-16-2020 08:12 PM

Thanks for responses... in the lab I have just performed the followings to see in real things...  

Why >request system snapshot recovery takes more time than >request system snapshot ?

Highlighted
Routing

Re: partitions

[ Edited ]
‎05-16-2020 09:42 PM

Arix, 

 

The Junos OS with upgraded FreeBSD has two types of snapshots: recovery snapshots and non-recovery snapshots.

 

The Non-recovery snapshots are the ones taken with the request system snapshot command. Non-recovery snapshots are essentially lists of software components and configuration files, which can be helpful when major software or configuration changes are occurring and establishment of a known stable system baseline is required.

 

Recovery snapshots are the ones taken with the request system snapshot recovery command. Recovery snapshots, shown as recovery.ufs files are full copies of the packages and configuration taken at the time the snapshot command is issued.
Since the recovery snapshot copy the package as well along with the config, the size is long and it takes longer take to capture the recovery snapshots. 

Link : https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/request-system-sn...

 

Hope this answers your query.

Mark "Accept as solution" if this answers your query. 

 

Kudos are appreciated too! 

 

Regards, 

Sharat Ainapur

Highlighted
Routing

Re: partitions

[ Edited ]
‎05-16-2020 10:06 PM

Hi Arix,

 

Posting the same reply from your "backup" post.

 

Hi Arix,

 

Junos OS with upgraded FreeBSD has two types of snapshots: recovery snapshots and non-recovery snapshots. Non-recovery snapshots are the ones taken with the request system snapshot command. Non-recovery snapshots are essentially lists of software components and configuration files, which can be helpful when major software or configuration changes are occurring and the establishment of a known stable system baseline is required. Recovery snapshots are the ones taken with the request system snapshot recovery command. Recovery snapshots, shown as recovery.ufs files are full copies of the packages and configuration taken at the time the snapshot command is issued.

 

On Routers, you can simply run the "request system snapshot" command to execute the snapshot.

https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/request-system-sn...

 

To check the location of the snapshot:

user@host> show system snapshot
content_copy
zoom_out_map
Non-recovery snapshots:
Snapshot snap.20190412.124526:
Location: /packages/sets/snap.20190412.124526            <<< LOCATION
Creation date: Apr 12 12:45:26 2019
Junos version: 18.3R1.8

Total non-recovery snapshots: 1

Recovery Snapshots:
Snapshots available on the OAM volume:                   <<< LOCATION
recovery.ufs
Date created: Thu Mar 28 07:44:25 PDT 2019
Junos version: 18.3R1.8

Total recovery snapshots: 1

 

By rollback snapshot, if you mean to delete the snapshot you took, the below should help :

user@host> request system snapshot delete snap.20150112.122106
content_copy
zoom_out_map
NOTICE: Snapshot ’
snap.20150112.122106’
deleted successfully

 

You may also want to check the below links-

"request system recover"

https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/request-system-re...

 

Create a snapshot on OAM volume successfully:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB33892&actp=METADATA

 

Hope this helps Smiley Happy 

 

Please mark this Accepted Solution if this helps you solve your query.

Kudos are much appreciated too Smiley Happy

Highlighted
Routing

Re: partitions

‎05-17-2020 12:00 AM

hi there,

Thanks replies... 

JHow to check whether or not Junos OS with upgraded FreeBSD?

Highlighted
Routing

Re: partitions

‎05-17-2020 12:13 AM

Hi Arix,

 

Juniper Networks devices that run Junos OS with upgraded FreeBSD have two separate volumes:

  • dev/gpt/junos (/junos for short) volume that is used to run Junos OS and to store the configuration and log files

  • dev/gpt/oam (/oam for short), and Operations, Administration, and Maintenance (OAM) volume that is used to store a complete backup of Junos OS and the configuration

Boot Menu looks like this :

Boot Menu

1. Boot [P]revious installed Junos packages
2. Boot Junos in [S]ingle user mode
3. Boot from [R]ecovery snapshot

4. Boot from [U]SB

5. Boot to [O]AM shell

6. Snapshot [B]oot menu

7. [M]ain menu

Choice: 

 

The below links will give you more details:

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/how-to-recover-junos-upgraded-fre...

 

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/recovery-of-junos-os.html#id-reco...

 

The below KB has consolidated details. Please give this a read:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB30473&actp=METADATA

 

Hope this helps 🙂

 

Please mark "Accepted Solution" if you feel this solves your query.

Kudos would be much appreciated too 🙂

Highlighted
Routing

Re: partitions

[ Edited ]
‎05-17-2020 02:42 AM

hi,

This one different but there is no OAM as you can see. and also can u give some indication about what is Virtio Block Disk? Only harddisk there...And not sure this is Junos Os with upgraded FreeBSD?

Routing Engine 0 REV 19   660-003421   XXXXXXX          RE-S-2X00x6
  vtbd0 17408 MB                                         Virtio Block Disk
  vtbd1 15360 MB                                         Virtio Block Disk
  ada0    511 MB  QEMU HARDDISK        QM00002           Emulated IDE Disk
  usb0 (addr 0.1) XHCI root HUB 0      0x8086            uhub0
Routing Engine 1 REV 19   660-023747   XXXXXXX           RE-S-2X00x6
  vtbd0 17408 MB                                         Virtio Block Disk
  vtbd1 15360 MB                                         Virtio Block Disk
  ada0    511 MB  QEMU HARDDISK        QM00002           Emulated IDE Disk
  usb0 (addr 0.1) XHCI root HUB 0      0x8086            uhub0

show system storage detail
Filesystem       1024-blocks       Used      Avail   Capacity   Mounted on
/dev/gpt/junos      10450965    5190336    4424552        48%  /.mount
/dev/gpt/config       456652        164     419956         0%  /.mount/config
/dev/gpt/var        14773568    5964208    7627476        40%  /.mount/var
tmpfs               27004548        268   27004280         0%  /.mount/tmp
tmpfs                8380668       1108    8379560         0%  /.mount/mfs


 

another Mx Device:

>show system snapshot
Doing the initial labeling...
error: cannot use internal media, may need to partition ----------------------->>>>?

 

Feedback