Sunteți pe pagina 1din 18

Useful SAN Storage command and OS system commands.

It take me for a Little While to compile the below SAN Storage commands and OS systems commands. I'd love to hear from my readers, so if you have anything to say, leave me your comments. Symdev Commands symdev List ~ List all devices on symm ~ List devices maped to that one FA ~ List all bcv or rdf1 volumes ~ List devices not mapped to any FE ports

symdev -sa -p List symdev List -bcv or -rdf1 symdev List -noport symdev List -clariion symdev show 0123 -v

~ vebose Listing of one device ~ vebose Listing of a rage of devices

symdev List -RANGE 0001:0123 -v symdev List pd

~ List devices this host can see

Symcfg Commands symcfg discover symcfg List ~ discover the storage environment ~ List local and remote symmetrixes ~ List clariions

symcfg List -clariion symcfg List -v

~ Lists whether the Symmetrix director has device masking turned on ~ Lists all fibre directors in a Symmetrix system ~ identify the address information for devices ~ sid 1924 ~ returns th e next available LUN address

symcfg List -FA all List

symcfg List -dir all -address -sid 1924 symcfg List -dir all -address -available symcfg List -lockn all

~ List of visible Symm exclusive locks ~ release a lock on a Symmetrix array.

symcfg -sid 098712321337 -lockn 15 release

Symconfigure Commands symconfigure -sid <sid> -f <filename> preview symconfigure -sid <sid> -f <filename> commit symconfigure -sid <sid> -f <filename> prepare ~ checks file to make sure it is ok to exe ~ makes the changes from file

Symmaskdb Commands symmaskdb List devs symmaskdb remove symmaskdb restore symmaskdb backup ~ Lists all devices accessible to an HBA on a specified Symmetrix system ~ removes the meta member devices ~ restores a database from a specified file ~ backs up a database to a specified file

symmaskdb init

~ deletes and creates a new VCMDB ~Lists deives already assigned ~Lists deives not yet assigned

symmaskdb List assignment symmaskdb List no_assignment

Symmask Commands symmask add devs symmask remove devs symmask delete symmask replace symmask refresh symmask login ~ adds a device to the List of devices that a WWN can access in the database ~ removes a device from the List of devices that a WWN can access in the database

~ deletes all access rights for a WWN in the databa se ~ allows one HBA to replace another ~ refresh vcmdb to all FA ports ~ Lists for each Fibre director which hosts and HBAs are logged in to a Symmetrix system ~ Lists the WWN of the Fibre HBAs on this host

symmask List HBAs

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 symdg symld symbcv symmir symclone symsnap symrdf groups symcg symrslv symstat device. symioctl ~ sends I/O control commands to application ~ Performs operations on a Symmetrix RDF composite group ~ Displays logical -to-physical mapping information about a logical object that is stored on a disk. ~ Displays statistics information about a Symmetrix, any or all directors, a device group, a disk, or a ~List ports and LUN WWNs seen from a specific Symmetrix director and port ~ creates/deletes/renames device groups ~ addes & removes devices to a deivce group ~ associates/disassociate BCV with device groups ~ performs (split/establish/restore) BCV mirror commands against device groups ~ performs (split/establish/restore/activate/terminate/recreate) ~ performs (restore/activate/terminate/recreate) ~ performs (split/establish/restore/failover/update/failback/suspend/resume) against RDF device

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 Line symdev - 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 Symmetri symgate - 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 Commands symacl - 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 functionalit symmask - 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 operatio ns. symqos - Perform Quality of Service operations on Symmetrix Devices symrdf - 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) Commands symhostfs - 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 <SP IP> getsp ~ verify connectivity

navicli -h <SP IP> register ~registers host with Clariion and tests agent install navicli -h <SP IP> storagegroup navicli -h <SP IP> getrg -lunList navicli -h <SP IP> getdisk ~ List all info about existing groups ~ List all existing raid groups and LUNS

~ shows numbers of disks in storage array ~ show s the number of raid groups ~ Lists all the disks ~ displays storage groups

navicli -h <SP IP> getrg <rg id> navicli -h <SP IP> get lun <lun id>

navicli -h <SP IP> storagegroup -List navicli -h <SP IP> getcache

~ shows the cache

navicli -h <SP IP> storagegroup -create -gname <name>

~ creates a new storage group ~ assigns LUNs to storage group ~ assigns host to storage

navicli -h <SP IP> storagegroup -addhlu -gname <name> -hlu <#> -alu <#>

navicli -h <SP IP> storagegroup -connecthost -host <hname> -gname <gname> group

POWERPATH COMMANDS powermt powercf emcpreg emcpupgrade ~ manage powerpath environment ~ configure powerpath devices ~ manage powerpath license registration ~ convert powerpath configuration files

INQ INQ Inq -h Inq -hba Inq -btl Inq -show_vol Inq -winvol Inq -dev ## -page0 Inq -clariion ~ List options and syntax ~ List hba wwn ~ display Bus Target and Lun ~ display Symmetrix Volume Number. ~ show Windows filesystems ~ Raw unformatted data on a single device ~ display CLARiiON device information

MDS-SERIES (CISCO) COMMANDS MDS-SERIES Switch Commands ip address 191.168.123.222 255.255.255.0 View = show environment show flogi database show fcns database show vsan membership show interface brief ~ show running-config ~ shows status of all installed hardware components ~ shows database List of all FLOGI events ~ shows database List of all N -ports logged in ~ shows List of VSAN members ~ Lists the interfaces and status

MDS-SERIES Zoning Commands config terminal ~Enters configuration terminal ~ creates a zone ~ adds node to the zone above ~deletes member from zone

zone name TestZone1 vsan 4 member pwwn 10:01:10:01:10:ab:cd:ef

no member pwwn <colon separated wwn> zoneset name Zoneset1 vsan 4 member <zone name>

~ creates a zoneset ~adds zone to the ZoneSet above

no zone name <zone name> vsan <vsan Id> ~ Deletes a zone zoneset activate name Zoneset1 vsan 4 zone copy active-zoneset full-Zoneset1 vsan 4 copy running-config start-up config vsan database ~ copy from source to startup configura tion

~ go into vsan configuration mode ~move port 21 on module 3 to vsan 4

vsan 4 interface fc3/21 show zoneset

~ shows all zonesets that are active ~ shows all zones active in vsan ~ displays the active zoneset

show zone vsan <#> show zoneset active show vsan

~ shows the vsans on the switch

show zoneset active vsan <vsan Id> ~ Shows active zoneset

B-SERIES (BROCADE) COMMANDS B-SERIES Switch Commands switchDisable ipAddrSet switchShow supportShow ~ offline ~set the IP address of a Brocade switch ~ display switch info ~ full detailed switch info

portShow # nsShow nsAllShow fabricShow ad --create ad -apply

~ display port info ~ Name server contents ~ NS for full fabric ~ fabric information ~create a new Admin Domain. ~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 zoneAdd zoneRemove zoneDelete cfgAdd cfgRemove cfgDelete cfgClear ~ shows defined and effective zones and configurations

~ adds a member to a zone ~ removes a member from a zone ~ deletes a zone ~ adds a zone to a zone configuration ~ removes a zone from a zone configuration ~ deletes a zone from a zone configuration ~ clears all zoning information/ must disable the effective configuration

M-SERIES (McDATA) COMMANDS M-SERIES Switch Commands View= Config> ip Show> switch Show> switch Show > system Show> nameserver Show> loginServer Show> nameServer Show.Fabric> nodes Maint > system > setOnlineState ~ ~ config ip show (new IP and Subnet mask)

M-SERIES Zoning Commands

Config.Zoning> addWwnMem: <zoneName> <wwn> Config.Zoning> addZone ~ add a new zone to the working area ~ activation of changes

Config.Zoning> activateZoneset Config.Zoning> showactive Config.Zoning> clearZone Config.Zoning> deletezone Config.Zoning> showPending

~ shows actively connected running zoneset ~ clear WWNs i n a zone ~ remove zone from the running config ~ show pending zones

Config.Zoning> renameZone:<oldzonename><newzonename> Config.Zoning> deleteWwnMem Config.Zoning> renameZoneSet ~ <zonename><wwn> ~ <zoneSetName>

Veritas VM HOST COMMANDS Veritas VM Device Commands vxdisk List ~ List all disks under volume manager control and give there status. ~ add or bring a disk under volume manager control ~ Interactive front end to the vxdisk program

vxdiskadd c1t2d3 vxdiskadmin

Veritas VM Filesystem commands vxdisk init ~ Initialize Physical Volume ~ Create Disk Group ~ Create Logical Volume ~ create file system

vxdg init mydg mydg-01=c1t11d0 vxassist -g mydg make myvol <size> mkfs -F vxfs /dev/vx/rdsk/mydg/myvol vxvol -g mydg stopall vxdg deport mydg vxdg import mydg vxvol -g mydg startall

~ stop a volume ~ deport disk group ~ import disk group ~ starting a imported volume

VMware ESX HOST COMMANDS VMware ESX Device Commands esxcfg-rescan <vmkernel adpter> ~scan for new disks

esxcfg-swiscsi -e ~enable iSCSI initiator more /proc/scsi/lpfc/X esxcfg-vswitch ~ wwn of HBA ~

VMware ESX Filesystem Commands vmkfstools ~

Windows HOST COMMANDS Windows 2003 server SP1 Device Commands SystemInfo Shutdown /r /f Netstat ~ Displays detailed configuration information about a computer and its operating system ~ forced reboot

~ Displays active TCP connections, ports on which the computer is Listening ~ launches a Remote desktop Connection ~ Connects a computer to a computer shared resource

mstsc /v: 255.255.255.255 /console

net use \\ComputerName\ShareName\volume FC ChkDsk Recover fcinfo /details

~ compares two files and displays the differences ~ check and repair disk problems ~ Recover a damaged file from a defective disk. ~ if fcinfo is installed ,this will List the HBAs wwns

Windows 2003 server SP1 LVM Commands Diskpart rescan Diskpart List disk Diskpart select disk Diskpart detail disk MountVol ~ Locates new disks that may have been added to the computer ~ Displays a List of disks and information about them, ~ Selects the specified disk and shifts the focus to it. ~ Displays the properties of the selected disk and the volumes on that disk.

~ Creates, deletes, or Lists a volume mount point. ~ Assigns a drive letter or mount point to the volume with focus. ~ Extends the volume with focus into next contiguous unallocated space ~ Imports a foreign disk gro up into the local computer's disk group ~ Specifies the type of the file system (FAT, FAT32, or NTFS).

Diskpart assign Diskpart extend Diskpart import

Format /FS:filesystem FSutil volume dismount

VI COMMANDS Cursor movements h l j k w b ~ left one character ~ right one character ~ down one line ~ up one line ~ right one word ~ back one word

Deleting, Yanking, and Pasting d ~ delete

x r y Y p

~ delete character cursor is on ~ replace one character ~ yank (copy into temporary buffer) ~ yank line cursor is on ~ paste below cursor line (deleted or copied text)

Saving and Exiting u ZZ :wq! ~ undo last editing command ~ save and exit (hold down shift and press "z" twice) ~ write and quit even if it is read -only

FTP COMMANDS open <IP address> close <IP address> bin hash mget mput ~ undo last editing command ~ save and exit (hold down shift and press "z" twice) ~set to transfer for binary and text files ~display progress during get ~mutiple get - download files in to current directory ~multiple pu - upload files from current directory

AIX/IBM HOST COMMANDS AIX Software Installation /usr/lpp lslpp -L all lslpp -f fileset instfix -i ~ Software Directory ~ List installed software ~ List all files ~ List installed patches

cp *.lpp /usr/sys/inst.images ~ copy lpp software to the install directory smit installp rmdev ~ Install a software package ~ Remove a device

AIX Device Commands lscfg ~ Lists all comfigured component s ~ system management utility ~ Lists all attributes (WWNs) for a device

smit or smitty

lscfg -v l <interface> emc_cfgmgr mkbcv

~ configures symmetrix devices ~ makes BCV visable to AIX to avoid locking during boot ~ To change INIT Link flags parameter ~ Fabric Event Error RECOVERY Policy

(1) chdev -l fcsX -a init_link=pt2pt -P

(2) chdev -l fscsiX -a fc_err_recov=fast_fail -P (3) cfgmgr -v

~ cofig ures devices and optionally installs device software

AIX NFS Commands exportfs exportfs -a ~Lists all exported filesystems ~Exports all fs's in /etc/exports file ~Un -exports a filesystem

exportfs -u (filesystem) mknfs rmnfs

~Configures and starts NFS services ~Stops and un -configures NFS services ~Creates an NFS export directory ~Creat es an NFS mount directory

mknfsexp -d /directory mknfsmnt

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 mkdev

~ Device Listing and status

~ configures a disk device masking sue it is available as a physical volume ~ Initialize Physical Volume

chdev -l hdisk# -a pv=yes lspv -l hdisk#

~ Disk Label ~ gr oups one or more physical devices into a volume group

mkvg -y myvg -s 16 hdisk2

mirrorvg ~Creates mirror volumes for all volumes in a volume group. extendvg myvg hdisk3 hdisk4 lsvg -l vgname ~ Extend Volume Goup

~ displays volumes, with a specified volume group ~ Make logical volume ~(2) makes a copy of lv should be followed up by syncvg command

mklv -y mylv myvg 16 mklvcopy hd1 2 hdisk1 lslv

~ List Logical Volume

crfs -v jfs -d mylv -m /myfs mount ~ mounts a filesystem ~ Deactivate Volume Group ~ Export Volume Group ~ Import Volume Group

varyoffvg myvg exportvg myvg

importvg -y myvg -f /dev/hdisk9 varyonvg myvg

~ Activate Volume Group

HP/UX HOST COMMANDS HP/UX Software Installation sysdef ~ analyzes current running system ~ displays version and type of HP -UX ~ List installed patches ~ Register a depot package for install

swList -l bundle swList -l patch

swreg -l depot /full/path/to/your/depot_file swinstall

~ Install the Software depot

HP/UX Device Commands insf -e ~ install special device files ~ scans system hardware

ioscan -fnC disk 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 <SP IP> register ~registers host with Clariion and tests agent install lsdev -C disk mknod ~ List device drivers in the system

~ makes a directory, special, or ordinary file ~ system configuration file

/stand/system

HP SAN Commands fcmsutil /dev/fcd0 tdutil /dev/td0 ~ List HBA wwn ~ List HBA wwn

HP NFS Commands /etc/exports ~file controls which file systems are exported to remote hosts and specify options ~Exports directory to host example.emc.com (found in /etc/exports)

/exported/directory example.emc.com exportfs -a

~command to read /etc/export and export filesystem

mount shadowman.emc.com:/misc/export /misc/local ~mount an NFS export from sha dowman.emc.com to the dir /misc/local

HP/UX Filesystem commands pvcreate /dev/rdsk/c1t0d2 pvdisplay ~ creates a physical volume within a LVM volume group

~ 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 vgcreate -s 16 /dev/myvg /dev/dsk/c1t0d0 vgextend /dev/myvg /dev/dsk/c1t0d1 vgchange -a y myvg vgscan vgdisplay ~ Avtivate VG ~ Create a file for Volume Group ~ creates a LVM volume group ~ add disk to VG

~ scan physical volumes for LVM volume groups ~ displays info abou t LVM volume groups ~ creates LVM logical volumes ~ creates mirrored logical volumes

lvcreate -l 16 -n mylv /dev/myvg lvcreate -m mylv /dev/myvg lvdisplay

~ displays LVM logical volumes ~ Create file system ~ Mount file system

newfs /dev/myvg/rmylv mount /dev/myvg/mylv /myfs

vgchange -a n myvg vgexport myvg

~ Deactivate Volume Group ~ Export Volume Group ~ Import Volume Group

vgimport /dev/myvg /dev/dsk/c1t0d0

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 symmask refresh ioscan -fnC disk insf -e symcfg dis sympd List ~use wwn from the (symmask List hba -v )

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 stop rm /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 <SP IP> 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* modprobe -r `List Emulex modules ~ 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 ~ wwn on RHEL4 ~ wwn on RHEL5

more /sys/class/scsi_host/hostX/port_name more /sys/class/fc_host/hostX/port_name (X is the instance number of the HBA)

Linux iSCSI Commands yum install iscsi-initiator-utils ~install iSCSI soft initiator ~install iSCSI soft initiator

rpm -q srvadmin-deng iscsi-initiator-utils rpm -ql iscsi-initiator-utils

~confiure iSCSI soft initiator ~discover iSCSI target ~

iscsiadm -m discovery -t -p 192.168.1.100 iscsiadm --mode node --targetname iqn

Linux NFS Commands /etc/exports ~file controls which file systems are exported to remote hosts and specify options ~Exports directory to host example.emc.com (found in /etc/exports)

/exported/directory example.emc.com

exportfs -a ~command to read /etc/export and export filesystem mount shadowman.example.com:/misc/export /misc/local redhat-config-nfs ~RedHat NFS tool ~mount an NFS export

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 File system

mount -t ext2 /dev/VG_Name/LV_Name /mnt/FS_MountPoint

df -a Fdisk /dev/sda pvdisplay pvscan vgdisplay vgextend vgscan

~display filesystems ~ partition table manipulation ~ allows you to see the attributes of one or more physical volumes ~ scans all supported LVM block devices in the system for physical volumes ~display attributes of volume groups ~ allows you to add one or more initialized physical volumes ~ scan physical volumes for LVM volume groups

vgexport ~make volume groups unknown to the system vgimport ~make volume groups known to the system lvdisplay lvextend e2fsadm fsck ~display attributes of a logical volume ~ Extend logigal volume ~ resizing of a logical volume ~Command used to check and repair a Linux filesystem

SUN/SOLARIS HOST COMMANDS SOLARIS Software Installation ptree -a showrev -p prtconf pkginfo pkgadd pkgrm ~ prints system configurations ~ Lists install ed software packages ~ install software packages ~ removes installed software packages ~ Shows all running processes in a tree format ~ Displays currently installed Solaris patches

Solaris Device Commands cfgadm -a ~ List all ~ configure StorEdge Leadville driver.(Search f or new devices)

cfgadm -c configure c4 devfsadm -vC

~ searches for devices and also cleans up old ~ searches for devices

update_drv -f sd -d -I devinfo drvconfig reboot -- -r /etc/system

~ print device specific information about disk devices ~ generates special devic e files ~ reboots system to discover configuration changes, and rebuild special files ~ system files ~ Lists of available target ids and luns ~ used for persistent binding on Emulex (qla22xx.conf for Qlogic) ~ system messages

/kernel/drv/sd.conf /kernel/drc/lpfc.conf /var/adm/messages

Solaris iSCSI Commands iscsiadm add static-config iqn.1999-08.com.array:sn.01234567,192.168.1.3:3260 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 ~map target

Solaris FC SAN Commands fcinfo hba-port ~ Lists information and WWNs ~ Lists the remote -port information

fcinfo remote-port -p 10000000c937694f -ls

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 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 read only to

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 zpool destroy -f spoon zfs create spoon/fs zpool List format sysdef prtvtoc metadevadm metainit metastat metaset newfs -v ~destroy a zpool ~creates ZFS file system spoon/fs, automatically mounted at /spoon/fs. ~List pools ~ Disk partitioning and maintenance program ~ Device Listing ~ Disk Label ~ Checks device ID configuration. ~ Configures volumes. ~ Displays the status of volumes or hot spare pools. ~ Administers disk sets. ~ makes a UFS filesystem on disk drive or partition within a diskdrive ~create a RAID1 storage pool mounted at /spoon

SOLUTIONS ENABLER COMMANDS Commands to see devices syminq ~ List all devides seen by host OS ~ List Clariion devices ~ List HBA

syminq -cids syminq hba -fibre

syminq -pdevfile ~List the location of devices sympd List ~ Lists the Symmetrix devices that the host OS can see ~ Lists all the physical device name in the device masking database ~ Lists the Symmetrix devices that the host OS can see

sympd List -vcm symdev List pd

S-ar putea să vă placă și