cisco · Catalyst 9000 Series Switches · 14 pp.

Cisco Catalyst 9000 Series Switches Flash File System User Manual PDF

Read online

Related manuals

Contents

Document text

Displaying Available File Systems

Working with the Flash File System Information About the Flash File System, on page 1 Displaying Available File Systems, on page 1 Setting the Default File System, on page 5 Displaying Information About Files on a File System, on page 5 Changing Directories and Displaying the Working Directory , on page 6 Creating Directories , on page 7 Copying Files, on page 8 Creating, Displaying and Extracting Files , on page 11 Additional References for Flash File System, on page 12 Feature History for Flash File System, on page 13 Information About the Flash File System The flash file system is a single flash device on which you can store files.

It also provides several commands to help you manage software bundles and configuration files. The default flash file system on the device is named flash:. As viewed from the active device, or any stack member, flash: refers to the local flash device, which is the device attached to the same device on which the file system is being viewed. Only one user at a time can manage the software bundles and configuration files. Displaying Available File Systems To display the available file systems on your device, use the show file systems privileged EXEC command as shown in this example for a standalone device: Device# show file systems Size(b) Free(b) Type Flags Prefixes - - opaque rw system:

- - opaque rw tmpsys: 1651314688 1559785472 disk rw crashinfo: * 11353194496 9693396992 disk rw flash: 8049967104 7959392256 disk ro webui: - - opaque rw null: Working with the Flash File System 1

Page 1

Displaying Available File Systems

- - opaque ro tar: - - network rw tftp: 2097152 2080848 nvram rw nvram: - - opaque wo syslog: - - network rw rcp: - - network rw http: - - network rw ftp: - - network rw scp: - - network rw https: - - opaque ro cns: Device# show file systems File Systems: Size(b) Free(b) Type Flags Prefixes - - opaque rw system: - - opaque rw tmpsys: 1651314688 1467920384 disk rw crashinfo: * 11353194496 6942072832 disk rw flash: 7723847680 7646384128 disk ro webui: - - opaque rw null: - - opaque ro tar: - - network rw tftp: 2097152 2089932 nvram rw nvram: - - network rw rcp: - - network rw http: - - network rw ftp: - - network rw scp: - - network rw https: - - opaque ro cns:

118014062592 111933124608 disk rw usbflash1: Device# show file systems File Systems: Size(b) Free(b) Type Flags Prefixes - - opaque rw system: - - opaque rw tmpsys: * 11250098176 9694093312 disk rw bootflash: flash: 1651314688 1232220160 disk rw crashinfo: 118148280320 112084115456 disk rw disk0: 189628416 145387520 disk rw usbflash0: 7763918848 7696850944 disk ro webui: - - opaque rw null: - - opaque ro tar: - - network rw tftp: 33554432 33532852 nvram rw nvram: - - opaque wo syslog: - - network rw rcp: - - network rw http: - - network rw ftp: - - network rw scp: - - network rw https: - - opaque ro cns: This example displays the usbflash1 filesystem format. Device# show usbflash1:

filesys Filesystem: usbflash1 Working with the Flash File System Displaying Available File Systems Working with the Flash File System 2

Page 2

Displaying Available File Systems

Filesystem Path: /vol/usb1 Filesystem Type: ext4 Mounted: Read/Write This example shows a device stack. In this example, the active device is stack member 1; the file system on stack member 2 is displayed as flash-2:, the file system on stack member 3 is displayed as flash-3: and so on up to . The example also shows the crashinfo directories and a USB flash drive plugged into the active device: Device# show file systems File Systems: Size(b) Free(b) Type Flags Prefixes - - opaque rw system: - - opaque rw tmpsys: 1651314688 1520742400 disk rw crashinfo: crashinfo-1: 1651507200 1516240896 disk rw crashinfo-2: stby-crashinfo: 1651507200 1517289472 disk rw crashinfo-3:

1651507200 1519386624 disk rw crashinfo-4: 1651507200 1524629504 disk rw crashinfo-5: 1651507200 1523580928 disk rw crashinfo-6: 1651507200 1517289472 disk rw crashinfo-7: 1651507200 1526726656 disk rw crashinfo-8: * 11353194496 7916576768 disk rw flash: flash-1: 11353980928 7944011776 disk rw flash-2: stby-flash: 11353980928 7876902912 disk rw flash-3: 11353980928 7944011776 disk rw flash-4: 11353980928 7939817472 disk rw flash-5: 11353980928 7944011776 disk rw flash-6: 11353980928 7944011776 disk rw flash-7: 11353980928 7944011776 disk rw flash-8: 3824013312 3756507136 disk ro webui: - - opaque rw null: - - opaque ro tar: - - network rw tftp: 2097152 2052489 nvram rw nvram:

- - opaque wo syslog: - - network rw rcp: - - network rw http: - - network rw ftp: - - network rw scp: - - network rw https: - - opaque ro cns: 2097152 2052489 nvram rw stby-nvram: - - nvram rw stby-rcsf: - - opaque rw revrcsf: This example shows a device stack. In this example, the active device is stack member 2; the file system on stack member 1 is displayed as flash-1:,the file system on stack member 2 is displayed as flash-2:, the file system on stack member 3 is displayed as flash-3: and so on up to . The example also shows the crashinfo directories and a USB flash drive plugged into the active device: Device# show file systems File Systems:

Size(b) Free(b) Type Flags Prefixes - - opaque rw system: - - opaque rw tmpsys: 1651314688 1565089792 disk rw crashinfo: crashinfo-2: 1651507200 1560281088 disk rw crashinfo-1: 1651507200 1562378240 disk rw crashinfo-3: stby-crashinfo: * 11353194496 10735611904 disk rw flash: flash-2: Working with the Flash File System Displaying Available File Systems Working with the Flash File System 3

Page 3

Displaying Available File Systems

11353980928 10152312832 disk rw flash-1: 11353980928 2161115136 disk rw flash-3: stby-flash: 15243046912 14423638016 disk rw usbflash0: usbflash0-2: 520093696 520093696 disk rw usbflash0-1: 3497074688 3417554944 disk ro webui: - - opaque rw null: - - opaque ro tar: - - network rw tftp: 2097152 2085334 nvram rw nvram: - - network rw rcp: - - network rw http: - - network rw ftp: - - network rw scp: - - network rw https: - - opaque ro cns: 21003628544 19867037696 disk rw usbflash1: usbflash1-2: 118014083072 111933390848 disk rw usbflash1-3: stby-usbflash1: 2097152 2085334 nvram rw stby-nvram: - - nvram rw stby-rcsf: - - opaque rw revrcsf: Table 1:

show file systems Field Descriptions Working with the Flash File System Displaying Available File Systems Field Value Size(b) Amount of memory in the file system in bytes. Free(b) Amount of free memory in the file system in bytes. Type Type of file system. disk—The file system is for a flash memory device, USB flash, and crashinfo file. network—The file system for network devices; for example, an FTP server or and HTTP server. nvram—The file system is for a NVRAM device. opaque—The file system is a locally generated pseudo file system (for example, the system) or a download interface, such as brimux. unknown—The file system is an unknown type. Flags Permission for file system. ro—read-only.

rw—read/write. wo—write-only. Working with the Flash File System 4

Page 4