1751936 Members
4765 Online
108783 Solutions
New Discussion юеВ

Re: sasmgr command

 
Rineesh Nallatath
Occasional Contributor

sasmgr command

Hi,

Can anubody explain about "sasmgr" ?

In our itanium server, we have hardware mirroring for root disk,and the disks are connected in SAS.

Rgds
Rineesh Nallatath
2 REPLIES 2
R.K. #
Honored Contributor

Re: sasmgr command

Hi Rineesh,

Man Page of sasmgr:

http://www.docs.hp.com/en/B3921-60631/sasmgr.1M.html

Are you looking for anything particular in sasmgr?
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: sasmgr command

Few Exmples:

Display all PHY statistics of the SAS I/O card / HBA whose device file is /dev/sasd0:
sasmgr get_info -D /dev/sasd0 -q phy=all

Display all RAID volume information of the Core I/O card / HBA whose device file is dev/sasd0:
sasmgr get_info -D /dev/sasd0 -q raid

Clear statistics for a port with PHY ID 1 of the SAS I/O card / HBA whose device file is /dev/sasd0:
sasmgr clear_stat -D /dev/sasd0 -q phy_in_port=1

Forcefully issue disable request to the SAS I/O card / HBA whose device file is /dev/sasd0:
sasmgr -f disable -D /dev/sasd0

Add a RAID volume with size 34000 (MB), level 1 (RAID1), and enc_bay 1:4,1:5 to the Core I/O card / HBA whose device file is /dev/sasd0:
sasmgr add -D /dev/sasd0 -q raid -q level=1 -q size=34000 -q enc_bay=1:4,1:5

Add a spare disk to the Core I/O card / HBA whose device file is /dev/sasd0 :
sasmgr add -D /dev/sasd0 -q raid -q spare -q enc_bay=1:4,1:5

Delete a RAID volume with volume ID 4 to the Core I/O card / HBA whose device file is /dev/sasd0 :
sasmgr delete -D /dev/sasd0 -q raid -q raid_vol=4

Delete the Core I/O card / HBA Spare on the HBA whose device file is /dev/sasd0 :
sasmgr delete -D /dev/sasd0 -q raid -q spare

Change the state to ACTIVE for the RAID volume with volume id 3.
sasmgr set_attr -D /dev/sasd0 -q raid -q raid_vol=3 -q state=ACTIVE

Change the rebuild rate to 20% for the RAID volume with volume id 3.
sasmgr set_attr -D /dev/sasd0 -q raid -q raid_vol=3 -q rebuild_rate=20
Don't fix what ain't broke