• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to collect XSCF snapshot on M-series servers (M3000 / M4000 / M5000 / M8000 / M9000)

by admin

This post describes the various ways to gather diagnostic data from either the XSCF or the domain and XSCF combined. Snapshot stores the collected data on a remote network host or on an external media device, based upon the use of the -T, -t or -d option. To store the collected data on a remote network host using the -t option, the command line must specify a host name (or IP address), a target directory on the remote network host, and the user name of a user on the remote host. When storing data on a remote network host, snapshot opens a network connection using SSH to act as a data pipe to the remote file.

Example of collecting a snapshot using the value for user@host:directory previously set using the set archiving command:

XSCF> snapshot -L F -T

Example of collecting a snapshot to host 10.140.0.21, as user mark, writing the snapshot file to directory /tmp/mark:

XSCF> snapshot -L F -t mark@10.140.0.21:/tmp/mark

Example of collecting a snapshot to an external USB stick:

XSCF> snapshot -L F -d usb0

Troubleshooting

1. SSH: Could not resolve hostname

XSCF> snapshot -L F -t username@hostname:/home/username
Downloading Public Key from 'hostname'...
Error downloading key for host 'hostname'
- Program exited unexpectedly: /usr/bin/ssh
- Output: "ssh: Could not resolve hostname [hostname]: Temporary failure in name resolution"
Error with SSH settings

Resolution: Use the ip address instead of the host name

2. Unable to mount USB device

After inserting a USB memory stick into the maintenance port of an XSCF, snapshot reported that it is unable to mount the USB device.

Sun SPARC Enterprise M3000/M4000/M5000/M8000/M9000 (OPL) Servers: snapshot “Unable to mount USB device”.

Problem: The snapshot command expects the USB device to have a partition 1 with a fat32 filesystem. (/dev/sda1) If your device does not have any partitions, the XSCF will see your USB memory stick as /dev/sda. Without the partition snapshot will not be able to mount the device correctly and report “Unable to mount USB device”.

Resolution: To create a partition table on your USB stick, you can plug your USB memory stick into a Windows Computer, which should re-partition and format the device with one large partition as a FAT32 file system. This issue is fixed in XCP 1050.

Filed Under: Hardware, Solaris

Some more articles you might also be interested in …

  1. How to configure additional IP address on the same interface in solaris zones
  2. How to determine link status (up/down) of network interfaces in Solaris
  3. How to run savecore (crash dump) manually in Solaris
  4. Solaris Volume Manager (SVM) : How to Use Mirrors to Roll Back System Changes
  5. 17 Examples of using Solaris boot command
  6. How to prevent SSH connections from disconnecting due to inactivity when using MobaXterm
  7. Solaris : How to include date and timestamp in bash shell command history
  8. A beginners guide to Solaris Multipathing Software (MPxIO or STMS)
  9. How to allow only specific non-root user(s) to use crontab
  10. How to Install Oracle Solaris 11 (Text Installer)

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3api” Command Examples
  • “aws s3” Command Examples
  • “aws s3 rm” Command Examples
  • “aws s3 presign” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright