Skip to main content
Home
term:~# less tar.gz.ro

Main navigation

  • Home
    • My Yard Projects
  • AIX World
    • AIX Commands
    • HACMP Commands
    • HMC Commands
    • How to assign disks to AIX partition via VIO
    • Misc stuff
    • NIM (Network Installation Management)
    • Virtual I/O (VIO)
  • Apple World
    • News
    • Tips & Tricks
    • iOS
  • CygWin World
    • CygWin Tips and Tricks
    • Cygwin: clone disk with dd
    • Cygwin: how to have multiple tabs in Cygwin's Mintty
    • Cygwin: start and enable sshd
    • config.guess: unable to guess system type
  • ESXi World
    • ESXi 7: Create VMFS Partition Via Command Line
    • ESXi : A bunch of useful commands and information
    • ESXi: How to change the hostname of an ESXi host
    • ESXi: how to change the MTU of vmkernek (vmk) interface (when UI fails)
    • ESXi: how to resize the OS partition
    • How to create a bootable USB installer of ESXi 7.0
  • Games
    • Assetto Corsa Rally vs Real Life – La Bollène-VĂ©subie → Col de Turini | Monte-Carlo Rally
    • Assetto Corsa Rally – Early Access Deep Dive
    • Diablo 3 & Reaper of Souls tips
    • EA Sports WRC Time Trial Locations and Stages
    • EA Sports WRC vs Assetto Corsa Rally | Visual Comparison (Gravel, Asphalt, Wet, Night, Snow)
    • Global Chip Shortage? Build this oddity: PC From 2009 With GeForce GTX 1050ti 4G
    • Left4Dead Lan Play
    • Live Sessions
    • Mafia II Joe's Adventures - Playboy Locations
  • HP-UX World
    • Boot into HPUX L2000
    • How to increase the size of a filesystem in LVM
    • Miscellaneous
    • Performance tools
    • Working with HP VM
  • Hardware
    • 5 Months with iPhone 15 Pro: Not PERFECT But... Must See. From Gaming to ProRes Requirements.
    • Apple Watch Series 9? Not Yet! I Still Love My "Seven of Nine" 19 months later
    • Asus ROG Sheath in 2024: a HUGE Mousepad, Bigger Than Logitech G840 XL
    • Choose Your Perfect Mic / Lavalier | AIQIU M31 vs. Boya BY-M3/BY-M2 & Puluz PU425
    • DJI Mic Mini 2 – Real-World Review and Testing
    • How I Test Mousepads: Glide, Control, and Surface Noise Explained
    • How to build a 25U 600x600 Server Rack
    • I Tested Creative Pebble V2 on My Sim Rig – Surprising Results!
    • Icy Box IB-3805-C31 speed test
    • Is the RX 9060 XT Mercury Class Worth It? Silent Power Meets Real Gameplay
    • Logitech Pro X Wired Gaming Headset (2nd gen): review + mic test with G HUB on Windows 11 and macOS
    • Logitech RS H-Shifter - Amazing Feel, But There’s a Catch (As Always)
    • Mousepad Logitech G840
    • PX8 S2 – A Journey Through Sound, Expectations and Reality
    • Play Steam Games on iPhone with Backbone One Playstation Edition gen2 USB-C / Steam Deck Alternative
    • Qnap TR-004 short review - working with linux
    • Razer Gigantus V2 XXL – 5 Months Later (Still Worth It?)
    • Samsung 870 QVO 2TB: Speed Tests and comparison with Adata SU650 and Kingston K600
    • Server-Ready MS-01 - A Small PC with Everything: SFP+, USB4, 2.5gbps LAN, Enterprise SSD, TPM 2.0
    • The TCL 34R83Q is Insane
    • The TCL 34R83Q is Insane… But There’s a Catch! Honest Review About a Real Product! Read Description.
    • The one with APC Back-UPS BE850G2-GR: Charge Whatever With It, From Phone to Computer And BEYOND :D
    • Thermaltake Pure 20 fan - HUGE and quiet!
    • Ubiquiti EdgeRouter X lift off
    • VIOFO A139 Quad HD Dash Camera - 3 Channels Camera in a 2 Channels Package. Confused?
    • Why Bluetooth Headphones Switch to MONO When Using the Microphone?
    • Why the Logitech PRO Racing Wheel Made Me a Better Driver
  • Home
  • Linux World
    • Alternative to finger command? Sure: pinky :)
    • Backup/restore/reinstall tips
    • Copy one file in linux with progress bar, using pv
    • DNSKEY: verify failed due to bad signature (keyid=19297): RRSIG has expired
    • DRBD: How to replace drbd backend devices
    • Debian 11: Unable to locate package glances
    • Debian 13: missing last command
    • Debian Bullseye (11): zpool command missing
    • Debian DRBD: How to resize drbd and OCFS2 online
    • Debian DRBD: How to resize drbd volume on top of LVM
    • Debian DRBD: Tips, Tricks and Commands
    • Debian Heartbeat: Commands, Tips and Tricks
    • Debian Heartbeat: STONITH errors when configuring CRM cluster
    • Debian Jessie: how to enable and start OpenVPN
    • Debian Tips & Tricks
    • Debian on mac mini: Core temperature above threshold, cpu clock throttled
    • Debian: Can't locate LWP/UserAgent.pm in @INC
    • Debian: HA (cluster) NFS with DRBD and Heartbeat
    • Debian: How to install, configure and manage ZFS
    • Debian: How to split rc.local in rc.local.stop and rc.local.start
    • Debian: Install and configure AFP server
    • Debian: LVM on ISCSI not activated on reboot.
    • Debian: The repository does no longer have a Release file
    • Debian: add and configure VLAN
    • Debian: how to choose default kernel in grub2
    • Debian: how to create bonding device
    • Debian: install open-vm-tools
    • Debian: pdo_mysql.so: undefined symbol: pdo_parse_params in Unknown on line 0
    • Debian: reinstall zfs when changing the linux kernel
    • Debian: ssh key no longer works after upgrading to Debian version 9
    • Docker: Pi-Hole - Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
    • Gnome: Clear "Open With" list
    • How to add a swap file in linux
    • How to add an ISCSI disk from linux server
    • How to add exfat support on RHEL 6
    • How to be sure network interfaces have always the same names
    • How to check which local device is assigned to which iscsi disk
    • How to configure GlusterFS with a volume replicated over 2 nodes
    • How to create an encrypted image
    • How to create bond device under linux
    • How to create/modify a file's timestamp
    • How to give more memory to Lotus Notes in Linux
    • How to install bind (name server) in chroot environment
    • How to install mplayer on RHEL 6
    • How to install openoffice 4.0.1 on Fedora 20/19/18, CentOS/Red Hat (RHEL) 6.5
    • How to install python 2.7 on Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
    • How to modify the hostname on Linux
    • How to mount a HFS partition in linux as Read/Write?
    • How to properly configure oidentd for IRC connections
    • How to read MBR
    • How to remove LVM snapshots if you get message "Can't remove open logical volume"
    • How to setup OpenVPN server for iPhone
    • How to show UUID of a block device, including other attributes too
    • How to speed up things by using tmpfs (your memory)
    • How to switch from pc to efi and recreate boot partition
    • How to test ethernet speed with iperf
    • How to write CD or DVD under linux's console
    • ISCIS: remove disk from linux client
    • LVM
    • Linux Network Tips and Tricks
    • Linux: CPU utilization vs. load average
    • Linux: How to clear (delete) a GUID partition table (GPT)
    • Linux: TCP keepalive or not
    • Linux: Tuning network cards on Linux
    • Linux: how to check if the disk is SSD or not
    • Network Manager - get_secrets_cb(): Couldn't get connection secrets
    • RHEL6: yum update - package is a duplicate with package
    • RPM Tips and Tricks
    • ReiserFS: how to recover deleted files
    • ShellShock - Fix Bash on Debian Lenny
    • ShellShock - Fix Bash on Debian Squeeze
    • Spamassassin: eval/lookup failed: available_nameservers: No DNS servers available!
    • Start restricted graphical apps
    • Systemd startup order
    • Ubuntu: Fast Install With VMware Fusion
    • User Management
    • Using Mdadm
    • Wi-FI KO after upgrade to RHEL 6.5
    • ZFS: Convert a One Disk Pool in Two Disks Mirror
    • ZFS: cannot import 'whatever': no such pool available
    • how to resize iscsi volume in Linux
    • rc.openvpn for slackware
  • Solaris World
    • Tips & Tricks
  • Windows World
    • Active Directory Command Line (CMD) Tips & Tricks
    • Excel: extract text between two different characters
    • Excel: seconds in hours:minutes:seconds
    • PowerShell tips and tricks
    • Windows 7: How to repair boot partition
    • Windows 7: Steam not starting
    • Windows 7: how to disable/enable hibernation
    • Windows CMD commands
  • Tips & Tricks
    • Apache Tips & Tricks
    • Audio / Video *nix Command Line Tricks
    • Bombardier: How to use it to Download Boot Camp Drivers
    • Brigadier: How to use to Download Boot Camp Drivers
    • Citrix XEN: Install VM OS via CLI
    • Citrix Xen CLI Tips & Tricks
    • Citrix Xen: Connect to VM's VNC console
    • Citrix Xen: How to "migrate" VHD lv from one XEN to another with dd
    • Citrix Xen: How to attach an existing vdi to any virtual machine
    • Citrix Xen: How to rename a vm via command line
    • Citrix Xen: How to show vm information via command line
    • Citrix Xen: Modify VM memory value via CLI
    • Docker Tips and Tricks
    • Docker: Create a Custom Image
    • Docker: How to Check Which Docker Container is Using the Space in Linux
    • Docker: How to Run Your Own Docker Registry (e.g. Images Repository)
    • Docker: Install on Debian
    • Docker: Playing with consul
    • Docker: UNIX socket and TCP port
    • Docker: how to enable swap limit capabilities
    • Docker: how to increase php memory "the docker way"
    • Docker: syslog-ng setup
    • Executing commands remotely on multiple systems via SSH
    • FIO Perf Tool Nutshell
    • Flushing the ARP cache
    • FreeNAS console tricks
    • Gallery2 - Gd - How to create thumbnails with fixed width while keeping the aspect ratio (variable height)
    • Gallery2 - Imagemagick - How to create thumbnails with fixed width while keeping the aspect ratio (variable height)
    • Gallery2 - Netpbm - How to create thumbnails with fixed width while keeping the aspect ratio (variable height)
    • How to change the hostid of a Linux operating system
    • How to create a hash password from text
    • How to delete files or directories that contains special characters
    • How to display the output of a file without the blank lines
    • How to enable rstatd
    • How to encrypt a file in linux (or cygwin)
    • How to find out which process is using some port
    • How to login to youtube account via Apple TV if you have Google Authenticator enabled
    • How to resume failed scp transfer
    • How to rotate pdf files with pdftk tool
    • How to send a json from command line
    • How to use an LVM partition as VirtualBox disk
    • IBM DS System Storage common commands examples
    • ImageMagick Tricks
    • Logging ssh sessions
    • Merge mp3 files
    • Miscellaneous
    • MySQL Commands, Tips and Tricks
    • Nagios Stuff
    • Nagios: UNKNOWN: Drive S/N : No health status line found,
    • Networking - questions and answers
    • Oracle: How to connect to the listener and display a parameter's value
    • Oracle: How to list DBA users for a database
    • Oracle: dbfsize Header block magic number is bad
    • Oracle: display tablespace information with sizes
    • PHP: How to display in a table, information from a text file
    • Python: fake smtp server
    • Render Blocking JavaScript and CSS
    • Runlevels
    • SAP useful commands for UNIX administrator
    • SMF Tips and Tricks
    • Script to get memory usage of desired processes
    • Strings or File Manipulation
    • The Hard Link
    • Using Find Command
    • Using VI Editor
    • VirtualBox Tips&Tricks
    • VirtualBox: How to Add Serial Port for Linux Cluster Heartbeat Monitoring
    • VirtualBox: How to work with ISCSI disks
    • dsmc commands
    • iMessage “Waiting for Activation” Error on iPhone
  • Exclamation!
    • Bash CVE-2014-6278 CVE-2014-6277
    • Heartbleed Bug
    • PHP2Shell: Critical PHP Remote Code Execution Vulnerabilities
    • Ransomware KeRanger attached to Transmission app
    • Shellshock (CVE-2014-6271)
  • About This
    • Cookies, Cookies, Cookies!
  • Donate
User account menu
  • Log in
Popular content

Today's:

  • PHP2Shell: Critical PHP Remote Code Execution Vulnerabilities
  • Drupal 7 to Drupal 10 Migration and Configuration Notes
  • How to test ethernet speed with iperf
  • Assetto Corsa Rally vs Real Life – La Bollène-VĂ©subie → Col de Turini | Monte-Carlo Rally
  • €6,000 MacBook Pro: Should I Throw It Away After 6 Years?
  • AIX FS Commands
  • CygWin World
  • CygWin Tips and Tricks
  • How to shrink a reiserfs LVM partition
  • ESXi: How to create a bootable USB installer of ESXi 7.0

All time:

  • Linux Networking: How to disable/enable offload features, RX/TX checksum, scatter, gather and beyond
  • Tivoli Storage Manager Client Commands (dsmc commands)
  • Centrify Useful Commands and Information
  • Run ZIM on OS X and create Zim.app
  • How to be sure network interfaces have always the same names
  • Linux backup/restore/reinstall
  • How to add exfat support on RHEL 6
  • Mafia II Joe's Adventures - Playboy Locations
  • HMC commands
  • Command Line Software Update in MacOS

Last viewed:

  • PHP2Shell: Critical PHP Remote Code Execution Vulnerabilities
  • How to shrink a reiserfs LVM partition
  • How to test ethernet speed with iperf
  • OS X - How to change audio output from Menubar
  • Linux: keepalive or not
  • The TCL 34R83Q is Insane! But There’s a Catch. Honest Review About a Real Product. Read Description.
  • Error: CarbonHeaders is an obsolete port. Please uninstall it.
  • Drupal 7 to Drupal 10 Migration and Configuration Notes
  • EA Sports WRC vs Assetto Corsa Rally | Visual Comparison in Ultra Wide (Gravel, Asphalt, Wet, Night, Snow)
  • ESXi: How to create a bootable USB installer of ESXi 7.0

Breadcrumb

  1. Home

IBM DS System Storage common commands examples

Profile picture for user root
By root, 9 June, 2014
In these examples, we will use
dscli
command without connecting to the storage device by using a profile. If you want to configure yours, check the following tutorial on iBM website. However, if you are connected directly to the storage device, you can use them without it, just stick with bold green from the examples below.

How to list the physical disks attached to the storage with
lsddm
command:

The unassigned ones from our example below are newly added - after a minute they will be automatically initialised and seen differently, depending of RAID level: spare required or unconfigured.
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsddm IBM.1750-6969696[/color][/b]
Date/Time: November 12, 2010 10:47:18 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
ID                             DA Pair dkcap (10^9B) dkuse          arsite State
=================================================================================
IBM.1750-522-6969696/R0-P1-D1  0                73.0 spare required S3     Normal
IBM.1750-522-6969696/R0-P1-D2  0                73.0 array member   S1     Normal
IBM.1750-522-6969696/R0-P1-D3  0                73.0 array member   S3     Normal
IBM.1750-522-6969696/R0-P1-D4  0                73.0 array member   S3     Normal
IBM.1750-522-6969696/R0-P1-D5  0                73.0 array member   S3     Normal
IBM.1750-522-6969696/R0-P1-D6  0                73.0 array member   S4     Normal
IBM.1750-522-6969696/R0-P1-D7  0                73.0 array member   S4     Normal
IBM.1750-522-6969696/R0-P1-D8  0                73.0 array member   S4     Normal
IBM.1750-522-6969696/R0-P1-D9  0                73.0 array member   S4     Normal
IBM.1750-522-6969696/R0-P1-D10 0                73.0 array member   S1     Normal
IBM.1750-522-6969696/R0-P1-D11 0                73.0 array member   S1     Normal
IBM.1750-522-6969696/R0-P1-D12 0                73.0 array member   S1     Normal
IBM.1750-522-6969696/R0-P1-D13 0                73.0 spare required S2     Normal
IBM.1750-522-6969696/R0-P1-D14 0                73.0 array member   S2     Normal
IBM.1750-522-6969696/R0-P1-D15 0                73.0 array member   S2     Normal
IBM.1750-522-6969696/R0-P1-D16 0                73.0 array member   S2     Normal
IBM.1750-EX2-6839366/R0-P1-D1  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D2  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D3  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D4  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D5  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D6  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D7  0               300.0 unassigned     -      New
IBM.1750-EX2-6839366/R0-P1-D8  0               300.0 unassigned     -      New
IBM.1750-EX2-6854765/R0-P1-D1  0                73.0 array member   S13    Normal
IBM.1750-EX2-6854765/R0-P1-D2  0                73.0 array member   S15    Normal
IBM.1750-EX2-6854765/R0-P1-D3  0                73.0 array member   S15    Normal
IBM.1750-EX2-6854765/R0-P1-D4  0                73.0 array member   S15    Normal
IBM.1750-EX2-6854765/R0-P1-D5  0                73.0 array member   S15    Normal
IBM.1750-EX2-6854765/R0-P1-D6  0                73.0 array member   S16    Normal
IBM.1750-EX2-6854765/R0-P1-D7  0                73.0 array member   S16    Normal
IBM.1750-EX2-6854765/R0-P1-D8  0                73.0 array member   S16    Normal
IBM.1750-EX2-6854765/R0-P1-D9  0                73.0 array member   S16    Normal
IBM.1750-EX2-6854765/R0-P1-D10 0                73.0 array member   S13    Normal
IBM.1750-EX2-6854765/R0-P1-D11 0                73.0 array member   S13    Normal
IBM.1750-EX2-6854765/R0-P1-D12 0                73.0 array member   S13    Normal
IBM.1750-EX2-6854765/R0-P1-D13 0                73.0 array member   S14    Normal
IBM.1750-EX2-6854765/R0-P1-D14 0                73.0 array member   S14    Normal
IBM.1750-EX2-6854765/R0-P1-D15 0                73.0 array member   S14    Normal
IBM.1750-EX2-6854765/R0-P1-D16 0                73.0 array member   S14    Normal
IBM.1750-EX2-6864352/R0-P1-D1  0                73.0 spare required S7     Normal
IBM.1750-EX2-6864352/R0-P1-D2  0                73.0 array member   S5     Normal
IBM.1750-EX2-6864352/R0-P1-D3  0                73.0 array member   S7     Normal
IBM.1750-EX2-6864352/R0-P1-D4  0                73.0 array member   S7     Normal
IBM.1750-EX2-6864352/R0-P1-D5  0                73.0 array member   S7     Normal
IBM.1750-EX2-6864352/R0-P1-D6  0                73.0 array member   S8     Normal
IBM.1750-EX2-6864352/R0-P1-D7  0                73.0 array member   S8     Normal
IBM.1750-EX2-6864352/R0-P1-D8  0                73.0 array member   S8     Normal
IBM.1750-EX2-6864352/R0-P1-D9  0                73.0 array member   S8     Normal
IBM.1750-EX2-6864352/R0-P1-D10 0                73.0 array member   S5     Normal
IBM.1750-EX2-6864352/R0-P1-D11 0                73.0 array member   S5     Normal
IBM.1750-EX2-6864352/R0-P1-D12 0                73.0 array member   S5     Normal
IBM.1750-EX2-6864352/R0-P1-D13 0                73.0 spare required S6     Normal
IBM.1750-EX2-6864352/R0-P1-D14 0                73.0 array member   S6     Normal
IBM.1750-EX2-6864352/R0-P1-D15 0                73.0 array member   S6     Normal
IBM.1750-EX2-6864352/R0-P1-D16 0                73.0 array member   S6     Normal
IBM.1750-EX2-6875242/R0-P1-D1  0                73.0 array member   S9     Normal
IBM.1750-EX2-6875242/R0-P1-D2  0                73.0 array member   S9     Normal
IBM.1750-EX2-6875242/R0-P1-D3  0                73.0 array member   S9     Normal
IBM.1750-EX2-6875242/R0-P1-D4  0                73.0 array member   S9     Normal
IBM.1750-EX2-6875242/R0-P1-D5  0                73.0 array member   S10    Normal
IBM.1750-EX2-6875242/R0-P1-D6  0                73.0 array member   S10    Normal
IBM.1750-EX2-6875242/R0-P1-D7  0                73.0 array member   S10    Normal
IBM.1750-EX2-6875242/R0-P1-D8  0                73.0 array member   S10    Normal
IBM.1750-EX2-6875242/R0-P1-D9  0                73.0 array member   S11    Normal
IBM.1750-EX2-6875242/R0-P1-D10 0                73.0 array member   S11    Normal
IBM.1750-EX2-6875242/R0-P1-D11 0                73.0 array member   S11    Normal
IBM.1750-EX2-6875242/R0-P1-D12 0                73.0 array member   S11    Normal
IBM.1750-EX2-6875242/R0-P1-D13 0                73.0 array member   S12    Normal
IBM.1750-EX2-6875242/R0-P1-D14 0                73.0 array member   S12    Normal
IBM.1750-EX2-6875242/R0-P1-D15 0                73.0 array member   S12    Normal
IBM.1750-EX2-6875242/R0-P1-D16 0                73.0 array member   S12    Normal

How to list the arrays with
lsarraysite
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsarraysite[/color][/b]
Date/Time: November 12, 2010 1:09:41 PM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
arsite DA Pair dkcap (10^9B) State      Array
=============================================
S1     0                73.0 Assigned   A0
S2     0                73.0 Assigned   A0
S3     0                73.0 Assigned   A1
S4     0                73.0 Assigned   A1
S5     0                73.0 Assigned   A2
S6     0                73.0 Assigned   A2
S7     0                73.0 Assigned   A3
S8     0                73.0 Assigned   A3
S9     0                73.0 Assigned   A4
S10    0                73.0 Assigned   A4
S11    0                73.0 Assigned   A5
S12    0                73.0 Assigned   A5
S13    0                73.0 Assigned   A6
S14    0                73.0 Assigned   A6
S15    0                73.0 Assigned   A7
S16    0                73.0 Assigned   A7
S17    0               300.0 Unassigned -
S18    0               300.0 Unassigned -

How to create an array with
mkarray
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]mkarray -dev IBM.1750-6969696 -raidtype 5 -arsite S17,S18[/color][/b]
Date/Time: November 12, 2010 2:06:00 PM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
CMUC00004I mkarray: Array A8 successfully created.

How to list the arrays with
lsarray
command:

A8 Array does not have rank yet so that is why it is unassigned
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsarray[/color][/b]
Date/Time: November 12, 2010 4:12:59 PM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
Array State      Data   RAIDtype  arsite  Rank DA Pair DDMcap (10^9B)
=====================================================================
A0    Assigned   Normal 5 (6+P+S) S1,S2   R0   0                 73.0
A1    Assigned   Normal 5 (6+P+S) S3,S4   R1   0                 73.0
A2    Assigned   Normal 5 (6+P+S) S5,S6   R2   0                 73.0
A3    Assigned   Normal 5 (6+P+S) S7,S8   R3   0                 73.0
A4    Assigned   Normal 5 (7+P)   S9,S10  R4   0                 73.0
A5    Assigned   Normal 5 (7+P)   S11,S12 R5   0                 73.0
A6    Assigned   Normal 5 (7+P)   S13,S14 R6   0                 73.0
A7    Assigned   Normal 5 (7+P)   S15,S16 R7   0                 73.0
A8    Unassigned Normal 5 (6+P+S) S17,S18 -    0                300.0

How to create a rank with the command
mkrank
:

We have several examples here, one of them is giving error because the licenced capacity was over exceeded.
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]mkrank -dev IBM.1750-6969696 -array A8 -stgtype fb -wait[/color][/b]
Date/Time: November 12, 2010 4:17:33 PM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
[color=red]CMUN02403E mkrank: Unable to create rank: licensed capacity has been exceeded.[/color]
if you try again without extending the license, you will have the surprise seeing the disks as being formatted.
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]mkrank -dev IBM.1750-6969696 -array A8 -stgtype fb -wait[/color][/b]
Date/Time: November 12, 2010 2:46:54 PM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
[color=yellow]CMUN02428E mkrank: Unable to create rank. Disks are being formatted.[/color]
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]mkrank -dev IBM.1750-6969696 -array A8 -stgtype fb -wait[/color][/b]
Date/Time: November 23, 2010 9:19:17 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
[color=green]CMUC00007I mkrank: Rank R8 successfully created.[/color]

How to list (
lskey
) and apply (
applykey
) a new license key to your storage device:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lskey IBM.1750-6969696[/color][/b]
Date/Time: November 23, 2010 9:09:07 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
Activation Key              Authorization Level (TB) Scope
==========================================================
Operating environment (OEL) 5                        FB
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]applykey -key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX IBM.1750-6969696[/color][/b]
Date/Time: November 23, 2010 9:10:04 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
CMUC00199I applykey: License Machine Code successfully applied to storage image IBM.1750-6969696.
root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lskey IBM.1750-6969696[/color][/b]
Date/Time: November 23, 2010 9:10:52 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
Activation Key              Authorization Level (TB) Scope
==========================================================
Operating environment (OEL) 8                        All

How to list ranks with
lsrank
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsrank[/color][/b]
Date/Time: November 23, 2010 9:33:27 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
ID Group State      datastate Array RAIDtype extpoolID stgtype
==============================================================
R0     0 Normal     Normal    A0           5 P0        fb
R1     1 Normal     Normal    A1           5 P1        fb
R2     0 Normal     Normal    A2           5 P2        fb
R3     1 Normal     Normal    A3           5 P3        fb
R4     0 Normal     Normal    A4           5 P4        fb
R5     1 Normal     Normal    A5           5 P5        fb
R6     0 Normal     Normal    A6           5 P6        fb
R7     1 Normal     Normal    A7           5 P7        fb
R8     - Unassigned Normal    A8           5 -         fb

How to list the pools with
lsextpool
command (use
-l
to see extra information):

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsextpool[/color][/b]                 
Date/Time: November 23, 2010 9:27:26 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
Name   ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols
========================================================================================
Pool_0 P0 fb            0   full                 0        100         0        0       5
Pool_1 P1 fb            1   full                 0        100         0        0       5
Pool_2 P2 fb            0   full                 0        100         0        0       7
Pool_3 P3 fb            1   full                 0        100         0        0       7
Pool_4 P4 fb            0   full                 0        100         0        0       6
Pool_5 P5 fb            1   full                 0        100         0        0       6
Pool_6 P6 fb            0   full                 0        100         0        0       9
Pool_7 P7 fb            1  below                45         89        45        0       8

How to create a new pool with
mkextpool
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]mkextpool -dev IBM.1750-6969696 -rankgrp 0 -stgtype fb Pool_8[/color][/b]
Date/Time: November 23, 2010 9:38:35 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
CMUC00000I mkextpool: Extent pool P8 successfully created.

How to attach the rank to the newly created pool with
chrank
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]chrank -dev IBM.1750-6969696 -extpool P8 R8[/color][/b]
Date/Time: November 23, 2010 9:45:31 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
CMUC00008I chrank: Rank R8 successfully modified.

How to list ranks with
lsrank
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.6969696 [color=green][b]lsrank[/color][/b]
Date/Time: November 23, 2010 9:47:21 AM CET IBM DSCLI Version: 5.2.422.20 DS: IBM.1750-6969696
ID Group State  datastate Array RAIDtype extpoolID stgtype
==========================================================
R0     0 Normal Normal    A0           5 P0        fb
R1     1 Normal Normal    A1           5 P1        fb
R2     0 Normal Normal    A2           5 P2        fb
R3     1 Normal Normal    A3           5 P3        fb
R4     0 Normal Normal    A4           5 P4        fb
R5     1 Normal Normal    A5           5 P5        fb
R6     0 Normal Normal    A6           5 P6        fb
R7     1 Normal Normal    A7           5 P7        fb
R8     0 Normal Normal    A8           5 P8        fb

How to list Volume Groups and which server is using them with
lsvolgrp
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.69ABAY0 [color=green][b]lsvolgrp[/color][/b]
Date/Time: June 9, 2010 12:48:00 PM CEST IBM DSCLI Version: 5.2.422.20 DS: IBM.2107-69ABAY0
Name                ID  Type
=======================================
jupiter             V0  SCSI Mask
oesix               V1  SCSI Mask
venus               V2  SCSI Mask
egg                 V3  SCSI Mask
vbox		    V4  SCSI Mask
All Fixed Block-520 V30 OS400 All

How to list luns with
lsfbvol
command. In our example we grep for V0 volume group.

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.69ABAY0 [color=green][b]lsfbvol -l | grep -w V0[/color][/b]
jupiter_data1 1010 Online   Normal    Normal      2107-900  FB 512   P2      Standard      DS        36.0           -     75497472 V0
jupiter_data3 1057 Online   Normal    Normal      2107-900  FB 512   P20     Standard      DS        11.0           -     23068672 V0
jupiter_data2 1136 Online   Normal    Normal      2107-900  FB 512   P3      Standard      DS        36.0           -     75497472 V0
jupiter_data4 114A Online   Normal    Normal      2107-900  FB 512   P21     Standard      DS        11.0           -     23068672 V0

How to create a 11G lun with
mkfbvol
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.69ABAY0 [color=green][b]mkfbvol -extpool P27 -name jupiter_data5 -cap 11 2704[/color][/b]
Date/Time: June 9, 2010 12:45:38 PM CEST IBM DSCLI Version: 5.2.422.20 DS: IBM.2107-69ABAY0
CMUC00025I mkfbvol: FB volume 2704 successfully created.

How to attach the newly created lun to a volume group with
chvolgrp
command:

root@gznim:/opt/ibm/dscli/profile # dscli -cfg dscli.profile.69ABAY0 [color=green][b]chvolgrp -action add -volume 2704 V0[/color][/b]
Date/Time: June 9, 2010 12:51:53 PM CEST IBM DSCLI Version: 5.2.422.20 DS: IBM.2107-69ABAY0
CMUC00031I chvolgrp: Volume group V0 successfully modified.
  • Log in to post comments
  • 21049 views

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!
Or at least link back to this website.

Popular content

Today's:

  • PHP2Shell: Critical PHP Remote Code Execution Vulnerabilities
  • Drupal 7 to Drupal 10 Migration and Configuration Notes
  • How to test ethernet speed with iperf
  • Assetto Corsa Rally vs Real Life – La Bollène-VĂ©subie → Col de Turini | Monte-Carlo Rally
  • €6,000 MacBook Pro: Should I Throw It Away After 6 Years?
  • AIX FS Commands
  • CygWin World
  • CygWin Tips and Tricks
  • How to shrink a reiserfs LVM partition
  • ESXi: How to create a bootable USB installer of ESXi 7.0

All time:

  • Linux Networking: How to disable/enable offload features, RX/TX checksum, scatter, gather and beyond
  • Tivoli Storage Manager Client Commands (dsmc commands)
  • Centrify Useful Commands and Information
  • Run ZIM on OS X and create Zim.app
  • How to be sure network interfaces have always the same names
  • Linux backup/restore/reinstall
  • How to add exfat support on RHEL 6
  • Mafia II Joe's Adventures - Playboy Locations
  • HMC commands
  • Command Line Software Update in MacOS

Last viewed:

  • PHP2Shell: Critical PHP Remote Code Execution Vulnerabilities
  • How to shrink a reiserfs LVM partition
  • How to test ethernet speed with iperf
  • OS X - How to change audio output from Menubar
  • Linux: keepalive or not
  • The TCL 34R83Q is Insane! But There’s a Catch. Honest Review About a Real Product. Read Description.
  • Error: CarbonHeaders is an obsolete port. Please uninstall it.
  • Drupal 7 to Drupal 10 Migration and Configuration Notes
  • EA Sports WRC vs Assetto Corsa Rally | Visual Comparison in Ultra Wide (Gravel, Asphalt, Wet, Night, Snow)
  • ESXi: How to create a bootable USB installer of ESXi 7.0