View
485
Download
4
Category
Preview:
Citation preview
Symdev Commands
symdev List ~ List all devices on symm
symdev -sa -p List ~ List devices maped to that one FA
symdev List -bcv or -rdf1 ~ List all bcv or rdf1 volumes
symdev List -noport ~ List devices not mapped to any FE ports
symdev List -clariion
symdev show 0123 -v ~ vebose Listing of one device
symdev List -RANGE 0001:0123 -v ~ vebose Listing of a rage of devices
symdev List pd ~ List devices this host can see
Symcfg Commands
symcfg discover ~ discover the storage environment
symcfg List ~ List local and remote symmetrixes
symcfg List -clariion ~ List clariions
symcfg List -v ~ Lists whether the Symmetrix director has device masking turned on
symcfg List -FA all List ~ Lists all fibre directors in a Symmetrix system
symcfg List -dir all -address -sid 1924 ~ identify the address information for devices
symcfg List -dir all -address -available ~ sid 1924 ~ returns the next available LUN address
symcfg List -lockn all ~ List of visible Symm exclusive locks
symcfg -sid 098712321337 -lockn 15 release ~ release a lock on a Symmetrix array.
Symconfigure Commands
symconfigure -sid -f preview ~ checks file to make sure it is ok to exe
symconfigure -sid -f commit ~ makes the changes from file
symconfigure -sid -f prepare
Symmaskdb Commands
symmaskdb List devs ~ Lists all devices accessible to an HBA on a specified Symmetrix system
symmaskdb remove ~ removes the meta member devices
symmaskdb restore ~ restores a database from a specified file
symmaskdb backup ~ backs up a database to a specified file
symmaskdb init ~ deletes and creates a new VCMDB
symmaskdb List assignment ~Lists deives already assigned
symmaskdb List no_assignment ~Lists deives not yet assigned
Symmask Commands
symmask add devs ~ adds a device to the List of devices that a WWN can access in the database
symmask remove devs ~ removes a device from the List of devices that a WWN can access in the database
symmask delete ~ deletes all access rights for a WWN in the database
symmask replace ~ allows one HBA to replace another
symmask refresh ~ refresh vcmdb to all FA ports
symmask login ~ Lists for each Fibre director which hosts and HBA’s are logged in to a Symmetrix system
symmask List HBA’s ~ Lists the WWN of the Fibre HBAs on this host
symmask -sid 381 -wwn 50060D000034F7F6 -dir 16C -p 1 set heterogeneous on HP_UX
symmask -sid SymmID set lunoffset on offset base \ -awwn awwn -dir # -p # ~ offset high lun numbers
Other SYMCLI Commands
symsan ~List ports and LUN WWNs seen from a specific Symmetrix director and port
symdg ~ creates/deletes/renames device groups
symld ~ addes & removes devices to a deivce group
symbcv ~ associates/disassociate BCV with device groups
symmir ~ performs (split/establish/restore) BCV mirror commands against device
groups
symclone ~ performs (split/establish/restore/activate/terminate/recreate)
symsnap ~ performs (restore/activate/terminate/recreate)
symrdf ~ performs (split/establish/restore/failover/update/failback/suspend/resume) against RDF device groups
symcg ~ Performs operations on a Symmetrix RDF composite group
symrslv ~ Displays logical-to-physical mapping information about a logical object that is stored on a disk.
symstat ~ Displays statistics information about a Symmetrix, any or all directors, a device group, a disk, or a device.
symioctl ~ sends I/O control commands to application
SYMCLI BASE Commands
symapierr - Used to translate SYMAPI error code numbers into SYMAPI error messages.symaudit - List records from a symmetrix audit log file.symbcv - Perform BCV support operations on Symmetrix BCV devices.symcfg - Discover or display Symmetrix configuration information. Refresh the host's Symmetrix database file or remove Symmetrix info from the file. Can also be used to view or release a 'hanging' Symmetrix exclusive lock.symchg - Monitor changes to Symmetrix devices or to logical objects stored on Symmetrix devices.symcli - Provides the version number and a brief description of the commands included in the Symmetrix Command Linesymdev - Perform operations on a device given the device's Symmetrix name. Can also be used to view Symmetrix device locks.symdg - Perform operations on a device group (dg).symdisk - Display information about the disks within a Symmetrix.symdrv - List DRV devices on a Symmetrix.symevent - Monitor or inspect the history of events within a Symmetrisymgate - Perform operations on a gatekeeper device.symhost - Display host configuration information and performance statistics.syminq - Issues a SCSI Inquiry command on one or all devices. Interface.symlabel - Perform label support operations on a Symmetrix device.symld - Perform operations on a device in a device group (dg).symlmf - Registers SYMAPI license keys.sympd - Perform operations on a device given the device's physical name.symstat - Display statistics information about a Symmetrix, a Director, a device group, or a device.symreturn - Used for supplying return codes in pre-action and post-action script files.
SYMCLI CONTROL Commandssymacl - Administer symmetrix access control information.symauth - Administer symmetrix user authorization information.symcg - Perform operations on an composite group (cg).
symchksum - Administer checksum checks when an Oracle database writes data files on Symmetrix devices.symclone - Perform Clone control operations on a device group or on a device within the device group.symconfigure - Perform modifications on the Symmetrix configuration.symconnect - Setup or Modify Symmetrix Connection Security functionalitsymmask - Setup or Modify Symmetrix Device Masking functionality.symmaskdb - Backup, Restore, Initialize or Show the contents of the device masking database.symmir - Perform BCV control operations on a device group or on a device within the device group.symoptmz - Perform Symmetrix Optimizer control operations.symqos - Perform Quality of Service operations on Symmetrix Devicessymrdf - Perform RDF control operations on a device group or on a device within the device group.symreplicate - Perform automated, consistent replication of data given a pre-configured SRDF/Timefinder setup.symsnap - Perform Symmetrix Snap control operations on a device group or on devices in a device file.symstar - Perform SRDF STAR management operations.symrcopy - Perform Symmetrix Rcopy control operations on devices in a device file.
SYMCLI SRM(Mapping) Commandssymhostfs - Display information about a host File, Directory, or host File System.symioctl - Send IO control commands to a specified application.symlv - Display information about a volume in Logical Volume Group (vg).sympart - Display partition information about a host device.symrdb - Display information about a third-party Relational Database.symrslv - Display detailed Logical to Physical mapping information about a logical object stored on Symmetrix devices.symvg - Display information about a Logical Volume Group (vg).
NAVICLI COMMANDS
navicli -h getsp ~ verify connectivity
navicli -h register ~registers host with Clariion and tests agent install
navicli -h storagegroup ~ List all info about existing groups
navicli -h getrg -lunList ~ List all existing raid groups and LUNS
navicli -h getdisk ~ shows numbers of disks in storage array
navicli -h getrg ~ shows the number of raid groups
navicli -h get lun ~ Lists all the disks
navicli -h storagegroup -List ~ displays storage groups
navicli -h getcache ~ shows the cache
navicli -h storagegroup -create -gname ~ creates a new storage group
navicli -h storagegroup -addhlu -gname -hlu <#> -alu <#> ~ assigns LUNs to storage group
navicli -h storagegroup -connecthost -host -gname ~ assigns host to storage group
POWERPATH COMMANDS
powermt ~ manage powerpath environment
powercf ~ configure powerpath devices
emcpreg ~ manage powerpath license registration
emcpupgrade ~ convert powerpath configuration files
INQ
INQ
Inq -h ~ List options and syntax
Inq -hba ~ List hba wwn
Inq -btl ~ display Bus Target and Lun
Inq -show_vol ~ display Symmetrix Volume Number.
Inq -winvol ~ show Windows filesystems
Inq -dev ## -page0 ~ Raw unformatted data on a single device
Inq -clariion ~ display CLARiiON device information
MDS-SERIES (CISCO) COMMANDS
MDS-SERIES Switch Commands
ip address 191.168.123.222 255.255.255.0
View = ~ show running-config
show environment ~ shows status of all installed hardware components
show flogi database ~ shows database List of all FLOGI events
show fcns database ~ shows database List of all N-ports logged in
show vsan membership ~ shows List of VSAN members
show interface brief ~ Lists the interfaces and status
MDS-SERIES Zoning Commands
config terminal ~Enters configuration terminal
zone name TestZone1 vsan 4 ~ creates a zone
member pwwn 10:01:10:01:10:ab:cd:ef ~ adds node to the zone above
no member pwwn ~deletes member from zone
zoneset name Zoneset1 vsan 4 ~ creates a zoneset
member ~adds zone to the ZoneSet above
no zone name vsan ~ Deletes a zone
zoneset activate name Zoneset1 vsan 4
zone copy active-zoneset full-Zoneset1 vsan 4
copy running-config start-up config ~ copy from source to startup configuration
vsan database ~ go into vsan configuration mode
vsan 4 interface fc3/21 ~move port 21 on module 3 to vsan 4
show zoneset ~ shows all zonesets that are active
show zone vsan <#> ~ shows all zones active in vsan
show zoneset active ~ displays the active zoneset
show vsan ~ shows the vsans on the switch
show zoneset active vsan ~ Shows active zoneset
B-SERIES (BROCADE) COMMANDS
B-SERIES Switch Commands
switchDisable ~ offline
ipAddrSet ~set the IP address of a Brocade switch
switchShow ~ display switch info
supportShow ~ full detailed switch info
portShow # ~ display port info
nsShow ~ Name server contents
nsAllShow ~ NS for full fabric
fabricShow ~ fabric information
ad --create ~create a new Admin Domain.
ad -apply ~enforce the new Admin Domain configuration.
B-SERIES Zoning Commands
aliCreate “Alias”, “20:00:00:e0:23:40:07:08”
zoneCreate “ZoneName”, “20:00:00:e0:69:40:07:08; 50:06:04:64:b6:91:c1:1d”
cfgCreate “Test_cfg”, “Zone1; Zone2”
cfgSave ~ saves zoning information across reboots
cfgEnable “Test_cfg”
zoneShow or cfgShow ~ shows defined and effective zones and configurations
zoneAdd ~ adds a member to a zone
zoneRemove ~ removes a member from a zone
zoneDelete ~ deletes a zone
cfgAdd ~ adds a zone to a zone configuration
cfgRemove ~ removes a zone from a zone configuration
cfgDelete ~ deletes a zone from a zone configuration
cfgClear ~ clears all zoning information/ must disable the effective configuration
M-SERIES (McDATA) COMMANDS
M-SERIES Switch Commands
View= ~ config ip show
Config> ip ~ (new IP and Subnet mask)
Show> switch
Show> switch
Show > system
Show> nameserver
Show> loginServer
Show> nameServer
Show.Fabric> nodes
Maint > system > setOnlineState
M-SERIES Zoning Commands
Config.Zoning> addWwnMem:
Config.Zoning> addZone ~ add a new zone to the working area
Config.Zoning> activateZoneset ~ activation of changes
Config.Zoning> showactive ~ shows actively connected running zoneset
Config.Zoning> clearZone ~ clear WWNs in a zone
Config.Zoning> deletezone ~ remove zone from the running config
Config.Zoning> showPending ~ show pending zones
Config.Zoning> renameZone:
Config.Zoning> deleteWwnMem ~
Config.Zoning> renameZoneSet ~
Veritas VM HOST COMMANDS
Veritas VM Device Commands
vxdisk List ~ List all disks under volume manager control and give there status.
vxdiskadd c1t2d3 ~ add or bring a disk under volume manager control
vxdiskadmin ~ Interactive front end to the vxdisk program
Veritas VM Filesystem commands
vxdisk init ~ Initialize Physical Volume
vxdg init mydg mydg-01=c1t11d0 ~ Create Disk Group
vxassist -g mydg make myvol ~ Create Logical Volume
mkfs -F vxfs /dev/vx/rdsk/mydg/myvol ~ create file system
vxvol -g mydg stopall ~ stop a volume
vxdg deport mydg ~ deport disk group
vxdg import mydg ~ import disk group
vxvol -g mydg startall ~ starting a imported volume
VMware ESX HOST COMMANDS
VMware ESX Device Commands
esxcfg-rescan ~scan for new disks
esxcfg-swiscsi -e ~enable iSCSI initiator
more /proc/scsi/lpfc/X ~ wwn of HBA
esxcfg-vswitch ~
VMware ESX Filesystem Commands
vmkfstools ~
Windows HOST COMMANDS
Windows 2003 server SP1 Device Commands
SystemInfo ~ Displays detailed configuration information about a computer and its operating system
Shutdown /r /f ~ forced reboot
Netstat ~ Displays active TCP connections, ports on which the computer is Listening
mstsc /v: 255.255.255.255 /console ~ launches a Remote desktop Connection
net use \\ComputerName\ShareName\volume ~ Connects a computer to a computer shared resource
FC ~ compares two files and displays the differences
ChkDsk ~ check and repair disk problems
Recover ~ Recover a damaged file from a defective disk.
fcinfo /details ~ if fcinfo is installed ,this will List the HBA’s wwns
Windows 2003 server SP1 LVM Commands
Diskpart rescan ~ Locates new disks that may have been added to the computer
Diskpart List disk ~ Displays a List of disks and information about them,
Diskpart select disk ~ Selects the specified disk and shifts the focus to it.
Diskpart detail disk ~ Displays the properties of the selected disk and the volumes on that disk.
MountVol ~ Creates, deletes, or Lists a volume mount point.
Diskpart assign ~ Assigns a drive letter or mount point to the volume with focus.
Diskpart extend ~ Extends the volume with focus into next contiguous unallocated space
Diskpart import ~ Imports a foreign disk group into the local computer's disk group
Format /FS:filesystem ~ Specifies the type of the file system (FAT, FAT32, or NTFS).
FSutil volume dismount
VI COMMANDS
Cursor movements
h ~ left one character
l ~ right one character
j ~ down one line
k ~ up one line
w ~ right one word
b ~ back one word
Deleting, Yanking, and Pasting
d ~ delete
x ~ delete character cursor is on
r ~ replace one character
y ~ yank (copy into temporary buffer)
Y ~ yank line cursor is on
p ~ paste below cursor line (deleted or copied text)
Saving and Exiting
u ~ undo last editing command
ZZ ~ save and exit (hold down shift and press "z" twice)
:wq! ~ write and quit even if it is read-only
FTP COMMANDS
open ~ undo last editing command
close ~ save and exit (hold down shift and press "z" twice)
bin ~set to transfer for binary and text files
hash ~display progress during get
mget ~mutiple get - download files in to current directory
mput ~multiple pu - upload files from current directory
AIX/IBM HOST COMMANDS
AIX Software Installation
/usr/lpp ~ Software Directory
lslpp -L all ~ List installed software
lslpp -f fileset ~ List all files
instfix -i ~ List installed patches
cp *.lpp /usr/sys/inst.images ~ copy lpp software to the install directory
smit installp ~ Install a software package
rmdev ~ Remove a device
AIX Device Commands
lscfg ~ Lists all comfigured components
smit or smitty ~ system management utility
lscfg -v l ~ Lists all attributes (WWN’s) for a device
emc_cfgmgr ~ configures symmetrix devices
mkbcv ~ makes BCV visable to AIX to avoid locking during boot
(1) chdev -l fcsX -a init_link=pt2pt -P ~ “To change INIT Link flags parameter”
(2) chdev -l fscsiX -a fc_err_recov=fast_fail -P ~ “Fabric Event Error RECOVERY Policy”
(3) cfgmgr -v ~ cofigures devices and optionally installs device software
AIX NFS Commands
exportfs ~Lists all exported filesystems
exportfs -a ~Exports all fs's in /etc/exports file
exportfs -u (filesystem) ~Un-exports a filesystem
mknfs ~Configures and starts NFS services
rmnfs ~Stops and un-configures NFS services
mknfsexp -d /directory ~Creates an NFS export directory
mknfsmnt ~Creates an NFS mount directory
mount hostname:/filesystem /mount-point ~Mount an NFS filesystem
nfso -a ~Display NFS Options
AIX iSCSI Commands
smit iscsi
AIX Filesystem Commands
lsdev -Cc disk ~ Device Listing and status
mkdev ~ configures a disk device masking sue it is available as a physical volume
chdev -l hdisk# -a pv=yes ~ Initialize Physical Volume
lspv -l hdisk# ~ Disk Label
mkvg -y myvg -s 16 hdisk2 ~ groups one or more physical devices into a volume group
mirrorvg ~Creates mirror volumes for all volumes in a volume group.
extendvg myvg hdisk3 hdisk4 ~ Extend Volume Goup
lsvg -l vgname ~ displays volumes, with a specified volume group
mklv -y mylv myvg 16 ~ Make logical volume
mklvcopy hd1 2 hdisk1 ~(2) makes a copy of lv should be followed up by syncvg command
lslv ~ List Logical Volume
crfs -v jfs -d mylv -m /myfs
mount ~ mounts a filesystem
varyoffvg myvg ~ Deactivate Volume Group
exportvg myvg ~ Export Volume Group
importvg -y myvg -f /dev/hdisk9 ~ Import Volume Group
varyonvg myvg ~ Activate Volume Group
HP/UX HOST COMMANDS
HP/UX Software Installation
sysdef ~ analyzes current running system
swList -l bundle ~ displays version and type of HP-UX
swList -l patch ~ List installed patches
swreg -l depot /full/path/to/your/depot_file ~ Register a depot package for install
swinstall ~ Install the Software depot
HP/UX Device Commands
insf -e ~ install special device files
ioscan -fnC disk ~ scans system hardware
sam ~ System administration tool
dd if=/dev/rdsk/c34t15d0 of=/dev/zero count=1 ~ makes HP register with a Clariion thru LUNZ device
navicli -h register ~registers host with Clariion and tests agent install
lsdev -C disk ~ List device drivers in the system
mknod ~ makes a directory, special, or ordinary file
/stand/system ~ system configuration file
HP SAN Commands
fcmsutil /dev/fcd0 ~ List HBA wwn
tdutil /dev/td0 ~ List HBA wwn
HP NFS Commands
/etc/exports ~file controls which file systems are exported to remote hosts and specify options
/exported/directory example.emc.com ~Exports directory to host example.emc.com (found in /etc/exports)
exportfs -a ~command to read /etc/export and export filesystem
mount shadowman.emc.com:/misc/export /misc/local ~mount an NFS export from shadowman.emc.com to the dir /misc/local
HP/UX Filesystem commands
pvcreate /dev/rdsk/c1t0d2 ~ creates a physical volume within a LVM volume group
pvdisplay ~ display info about physical volumes within an LVM volume group
ls -l /dev/*/group ~List the minor number of each vg in 6th field (all not Listed are available)
mkdir /dev/myvg ~Create directory entry in /dev for Volume Group
mknod /dev/myvg/group c 64 0x010000 ~ Create a file for Volume Group
vgcreate -s 16 /dev/myvg /dev/dsk/c1t0d0 ~ creates a LVM volume group
vgextend /dev/myvg /dev/dsk/c1t0d1 ~ add disk to VG
vgchange -a y myvg ~ Avtivate VG
vgscan ~ scan physical volumes for LVM volume groups
vgdisplay ~ displays info about LVM volume groups
lvcreate -l 16 -n mylv /dev/myvg ~ creates LVM logical volumes
lvcreate -m mylv /dev/myvg ~ creates mirrored logical volumes
lvdisplay ~ displays LVM logical volumes
newfs /dev/myvg/rmylv ~ Create file system
mount /dev/myvg/mylv /myfs ~ Mount file system
vgchange -a n myvg ~ Deactivate Volume Group
vgexport myvg ~ Export Volume Group
vgimport /dev/myvg /dev/dsk/c1t0d0 ~ Import Volume Group
PROCEDURES
zone hp server to symm
symmask List hba -v ~to List your servers paths to the symm
symmask -wwn -dir -p add dev ~(use wwn, dir, p values from above command) run command for each hba to FA zone
symmask -wwn -dir -p set heterogeneous on HP_UX ~use wwn from the (symmask List hba -v )
symmask refresh
ioscan -fnC disk
insf -e
symcfg dis
sympd List
To get HPUX to register with Clariion if using NaviAgent
Install NaviAgent
Edit agent.config file
ioscan -fnC disk
insf -e
/sbin/init.d/agent stoprm /etc/log/HostIdFile.txt/sbin/init.d/agent start
dd if=/dev/rdsk/c34t15d0 of=/dev/zero count=1 ~ makes HP register with a Clariion thru LUNZ device
navicli -h register ~registers host with Clariion and tests agent install
# rmsf path ( The paths are showing NO_HW or not sensing).
# ioscan -fnc disk (check)
# insf -e
# symcfg discover
# powermt display ( check for any dead path)
# powermt check (checks and corrects dead path).
# powermt config
# powermt save
Linux HOST COMMANDS
Linux Software Installation
rpm -hiv
Linux Device Commands
modprobe -l *lpfc* `List Emulex modules
modprobe -r ~ discover new disk
/sys/class/scsi_host/host1/issue_lip ~ discover new disk
/sys/class/scsi_host/host1/scan ~ discover new disk
/usr/sbin/lpfc lun_scan all
Linux FC SAN Commands
more /proc/scsi/lpfc/X ~ wwn on RHEL3
more /sys/class/scsi_host/hostX/port_name ~ wwn on RHEL4
more /sys/class/fc_host/hostX/port_name ~ wwn on RHEL5
(X is the instance number of the HBA)
Linux iSCSI Commands
yum install iscsi-initiator-utils ~install iSCSI soft initiator
rpm -q srvadmin-deng iscsi-initiator-utils ~install iSCSI soft initiator
rpm -ql iscsi-initiator-utils ~confiure iSCSI soft initiator
iscsiadm -m discovery -t -p 192.168.1.100 ~discover iSCSI target
iscsiadm --mode node --targetname iqn ~
Linux NFS Commands
/etc/exports ~file controls which file systems are exported to remote hosts and specify options
/exported/directory example.emc.com ~Exports directory to host example.emc.com (found in /etc/exports)
exportfs -a ~command to read /etc/export and export filesystem
mount shadowman.example.com:/misc/export /misc/local ~mount an NFS export
redhat-config-nfs ~RedHat NFS tool
Linux Filesystem commands
pvcreate /dev/emcpowerX ~ initializes PhysicalVolume for later use by the Logical Volume Manager
vgcreate VG_Name /dev/emcpowerX ~ creates a new volume group
lvcreate --size 2000m --name LV_Name /dev/VG_Name ~creates 2000MB logical volume mkfs -t ext2 /dev/VG_Name/LV_Name ~ Make a file system on a logical volume
mount -t ext2 /dev/VG_Name/LV_Name /mnt/FS_MountPoint ~ mount File system
df -a ~display filesystems
Fdisk /dev/sda ~ partition table manipulation
pvdisplay ~ allows you to see the attributes of one or more physical volumes
pvscan ~ scans all supported LVM block devices in the system for physical volumes
vgdisplay ~display attributes of volume groups
vgextend ~ allows you to add one or more initialized physical volumes
vgscan ~ scan physical volumes for LVM volume groups
vgexport ~make volume groups unknown to the system
vgimport ~make volume groups known to the system
lvdisplay ~display attributes of a logical volume
lvextend ~ Extend logigal volume
e2fsadm ~ resizing of a logical volume
fsck ~Command used to check and repair a Linux filesystem
SUN/SOLARIS HOST COMMANDS
SOLARIS Software Installation
ptree -a ~ Shows all running processes in a tree format
showrev -p ~ Displays currently installed Solaris patches
prtconf ~ prints system configurations
pkginfo ~ Lists installed software packages
pkgadd ~ install software packages
pkgrm ~ removes installed software packages
Solaris Device Commands
cfgadm -a ~ List all
cfgadm -c configure c4 ~ configure StorEdge Leadville driver.(Search for new devices)
devfsadm -vC ~ searches for devices and also cleans up old
update_drv -f sd -d -I ~ searches for devices
devinfo ~ print device specific information about disk devices
drvconfig ~ generates special device files
reboot -- -r ~ reboots system to discover configuration changes, and rebuild special files
/etc/system ~ system files
/kernel/drv/sd.conf ~ Lists of available target ids and luns
/kernel/drc/lpfc.conf ~ used for persistent binding on Emulex (qla22xx.conf for Qlogic)
/var/adm/messages ~ system messages
Solaris iSCSI Commands
iscsiadm add static-config iqn.1999-08.com.array:sn.01234567,192.168.1.3:3260 ~map target
iscsiadm add discovery-address 192.168.1.13:3260
iscsiadm modify discovery --isns enable
iscsiadm List target -vS Target: iqn.1986-03.com
devfsadm -Cv -i iscsi
Solaris FC SAN Commands
fcinfo hba-port ~ Lists information and WWNs
fcinfo remote-port -p 10000000c937694f -ls ~ Lists the remote-port information
Solaris NFS Commands
share -F nfs -d "Cartman dir" / share2
mount -F nfs cartman:/share2 /cartman
share -F nfs -o ro=sun.ucs.indiana.edu,rw=teak.uwsg.indiana.edu /reports ~ export (share) /reports à read only to sun.ucs.indiana.edu, read,write to teak.uwsg.indiana.edu
/etc/dfs/dfstab ~ file to edit to make a share permanent
shareall -F nfs ~ command to excute that will read /etc/dfs/dfstab and share to the network
SOLARIS Filesystem Commands
*** Format and lable all devices before using zpool ***
zpool create spoon c3t6d9 ~create & mounts storage pool named spoon and mounts it at /spoon (no slice #)
zpool create spoon mirror emcpower3c emcpower4c ~create a RAID1 storage pool mounted at /spoon
zpool destroy -f spoon ~destroy a zpool
zfs create spoon/fs ~creates ZFS file system spoon/fs, automatically mounted at /spoon/fs.
zpool List ~List pools
format ~ Disk partitioning and maintenance program
sysdef ~ Device Listing
prtvtoc ~ Disk Label
metadevadm ~ Checks device ID configuration.
metainit ~ Configures volumes.
metastat ~ Displays the status of volumes or hot spare pools.
metaset ~ Administers disk sets.
newfs -v ~ makes a UFS filesystem on disk drive or partition within a diskdrive
SOLUTIONS ENABLER COMMANDS
Commands to see devices
syminq ~ List all devides seen by host OS
syminq -cids ~ List Clariion devices
syminq hba -fibre ~ List HBA
syminq -pdevfile ~List the location of devices
sympd List ~ Lists the Symmetrix devices that the host OS can see
sympd List -vcm ~ Lists all the physical device name in the device masking database
symdev List pd ~ Lists the Symmetrix devices that the host OS can see
Recommended