File system access

Description

When the user logs in to the Service OS CLI, they are presented with a limited file system. The user can use standard file system commands of cd, ls, and pwd to view and move through the file system.

On login, the user is first placed in the /home directory:
(C) Copyright 2017 Hewlett Packard Enterprise Development LP

                      RESTRICTED RIGHTS LEGEND
Confidential computer software. Valid license from Hewlett Packard Enterprise
Development LP required for possession, use or copying. Consistent with FAR
12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the
U.S. Government under vendor's standard commercial license.

To reboot without logging in, enter 'reboot' as the login user name.

ServiceOS login: admin
SVOS> pwd
/home
SVOS>

The home directory and the USB device (/mnt/usb and any sub directory) are the only writable directories available. These directories can be used as a staging location for downloading product images using TFTP. /home can also be used as temporary storage before copying files from the management module through TFTP or USB. Any changes made to /home will not persist across reboots or after booting an ArubaOS-CX image.

The root / directory displays viewable directories:
SVOS> ls /
bin       coredump  lib       mnt       selftest
cli       home      logs      nos
SVOS>

The directories coredump, selftest, nos, and logs each provide the user access to an SSD partition mount. The user may read, but not write any file on these partitions.

These mount points allow the user to copy files on the SSD to a USB storage device or upload files using TFTP. Copying files from the SSD is intended to be used under the guidance of a support engineer (to upload logs or coredumps to HPE support).

USB storage device access is provided through the mount at /mnt/usb.

The remaining directories in the root file system bin, cli, and lib are not intended to be used by the customer.