[j-nsp] altconfig and altroot
harry
harry at juniper.net
Thu Apr 22 23:42:59 EDT 2004
Try:
root at Montreal% df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 158174 57280 88242 39% /
devfs 32 32 0 100% /dev/
/dev/vn0 20040 20040 0 100% /packages/mnt/jbase
devfs 32 32 0 100% /dev/
/dev/vn1 51796 51796 0 100%
/packages/mnt/jkernel-6.1B3.3
/dev/vn2 17120 17120 0 100%
/packages/mnt/jpfe-M10-6.1B3.3
/dev/vn3 3844 3844 0 100%
/packages/mnt/jdocs-6.1B3.3
/dev/vn4 23328 23328 0 100%
/packages/mnt/jroute-6.1B3.3
/dev/vn5 8832 8832 0 100%
/packages/mnt/jcrypto-6.1B3.3
mfs:2285 1524446 10 1402482 0% /tmp
/dev/ad0s1e 23742 12 21832 0% /config
procfs 8 8 0 100% /proc
/dev/ad1s1f 14312104 2272972 10894164 17% /var
root at Montreal% mount /altroot
root at Montreal% df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 158174 57280 88242 39% /
devfs 32 32 0 100% /dev/
/dev/vn0 20040 20040 0 100% /packages/mnt/jbase
devfs 32 32 0 100% /dev/
/dev/vn1 51796 51796 0 100%
/packages/mnt/jkernel-6.1B3.3
/dev/vn2 17120 17120 0 100%
/packages/mnt/jpfe-M10-6.1B3.3
/dev/vn3 3844 3844 0 100%
/packages/mnt/jdocs-6.1B3.3
/dev/vn4 23328 23328 0 100%
/packages/mnt/jroute-6.1B3.3
/dev/vn5 8832 8832 0 100%
/packages/mnt/jcrypto-6.1B3.3
mfs:2285 1524446 10 1402482 0% /tmp
/dev/ad0s1e 23742 12 21832 0% /config
procfs 8 8 0 100% /proc
/dev/ad1s1f 14312104 2272972 10894164 17% /var
/dev/ad1s1a 146510 64538 70252 48% /altroot
Snapshot mounts the /altroot and /altconfig partitions, and then copies the
contents of the / and /config partitions from the boot device, which is
*normally* the flash, so that you can later boot from the "other" device,
which is normally the hard drive. Reverse if you have booted from the hard
drive.
HTHS
> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of
> Harshit Kumar
> Sent: Thursday, April 22, 2004 10:46 AM
> To: Hansson Henrik; Yuki Arif (JA/EID); juniper-nsp at puck.nether.net
> Subject: RE: [j-nsp] altconfig and altroot
>
>
> define "trick" ? :)
>
> AFAIK, it doesn't mount the directories for you...
>
> - Harshit
>
> >-----Original Message-----
> >From: Hansson Henrik [mailto:Henrik.Hansson at telenor.se]
> >Sent: Thursday, April 22, 2004 4:29 AM
> >To: Harshit Kumar; Yuki Arif (JA/EID); juniper-nsp at puck.nether.net
> >Subject: SV: [j-nsp] altconfig and altroot
> >
> >
> >
> >"request system snapshot" will do the trick.
> >
> >
> >/Henrik
> >
> >
> >
> >> -----Ursprungligt meddelande-----
> >> Från: Harshit Kumar [mailto:harshit at juniper.net]
> >> Skickat: den 22 april 2004 06:11
> >> Till: Yuki Arif (JA/EID); juniper-nsp at puck.nether.net
> >> Ämne: RE: [j-nsp] altconfig and altroot
> >>
> >> Hi Yuki,
> >>
> >> /altroot and /altconfig are stored on the disk and not mounted
> >> automatically.
> >>
> >> BR,
> >> Harshit
> >>
> >> >-----Original Message-----
> >> >From: juniper-nsp-bounces at puck.nether.net
> >> >[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of
> Yuki Arif
> >> >(JA/EID)
> >> >Sent: Wednesday, April 21, 2004 7:34 PM
> >> >To: 'juniper-nsp at puck.nether.net'
> >> >Subject: [j-nsp] altconfig and altroot
> >> >
> >> >Hello,
> >> >
> >> >I am a newbie in Juniper Router.
> >> >
> >> >I have Juniper M10.
> >> >
> >> >I did an upgrade of JunOS from 5.6R1.3 to 6.2R1.5
> >> >
> >> >Before I did an upgrade I did "request system snapshot" and the
> >> >snapshot is saved in /altroot and /altconfig.
> >> >
> >> >When I do "start shell" from cli and "df -k" I don't see
> >> /altroot and
> >> >/altconfig. Are these directories not mounted ?
> >> >
> >> >How can I see these directories ?
> >> >
> >> >% df -k
> >> >Filesystem 1K-blocks Used Avail Capacity Mounted on
> >> >/dev/ad0s1a 109345 30284 70314 30% /
> >> >devfs 16 16 0 100% /dev/
> >> >/dev/vn0 10950 10950 0 100%
> >/packages/mnt/jbase
> >> >/dev/vn1 34204 34204 0 100%
> >> >/packages/mnt/jkernel-6.2R1.5
> >> >/dev/vn2 8804 8804 0 100%
> >> >/packages/mnt/jpfe-M10-6.2R1.5
> >> >/dev/vn3 2054 2054 0 100%
> >> >/packages/mnt/jdocs-6.2R1.5
> >> >/dev/vn4 13444 13444 0 100%
> >> >/packages/mnt/jroute-6.2R1.5
> >> >mfs:127 1524335 3 1402386 0% /tmp
> >> >/dev/ad0s1e 12117 24 11124 0% /config
> >> >procfs 4 4 0 100% /proc
> >> >/dev/ad1s1f 17287463 277622 15626844 2% /var
> >> >%
> >> >%
> >> >%
> >> >
> >> >
> >> >After the upgrade I did not do "request system snapshot",
> so I have
> >> >6.2R1.5 running on the flash and 5.6R1.3 on the hard disk.
> >> >
> >> >Is there a command to see/check JunOS version in the hard disk ?
> >> >
> >> >
> >> >Thanks in advance
> >> >
> >> >
> >> >
> >> >Best Regards
> >> >
> >> >__________________________________________________
> >> >
> >> >Yuki Arif
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >_______________________________________________
> >> >juniper-nsp mailing list juniper-nsp at puck.nether.net
> >> >http://puck.nether.net/mailman/listinfo/juniper-nsp
> >> >
> >> >
> >>
> >> _______________________________________________
> >> juniper-nsp mailing list juniper-nsp at puck.nether.net
> >> http://puck.nether.net/mailman/listinfo/juniper-nsp
> >>
> >>
> >
> >
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
>
More information about the juniper-nsp
mailing list