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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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. Solaris ZFS : How to Designate Hot Spares in a Storage Pool
  2. How to find zpool version and filesystem version in Solaris
  3. Solaris : How to determine number of free/used inodes in a file system
  4. How to identify the HBA cards/ports and WWN in Solaris
  5. Solaris (SPARC) : How to create OBP boot device alias at ok prompt
  6. Solaris 11 : How to Control Allocated Bandwidth of Network Interface on Per App/User Basis
  7. How to install and configure sudo in solaris 10 (SPARC and x86/x64)
  8. Complete Hardware Reference : SPARC T3-1 / T3-2 / T3-4
  9. Solaris 11 : Setting user and group quota for ZFS datasets
  10. Solaris 10 boot process : SPARC

You May Also Like

Primary Sidebar

Recent Posts

  • How to set the default character set in MySQL and how to propagate it in a master-master replication scenario
  • “Connection reset by peer” – error while ssh into a CentOS/RHEL system with a specific user only
  • MySQL: how to figure out which session holds which table level or global read locks
  • Recommended Configuration of the MySQL Performance Schema
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary