HP MSA Storage P2000 G3 – assigning new IP address using SSH

1. Login to  management console using SSH

2.  Show the current IP address setting using following command

show network-parameter

3.  Change IP address of controller A using following command

set network-parameters ip <IP_ADDRESS> netmask <NETMASK> gateway <GATEWAY> controller a

4. Restart controller A

restart mc a

5. Change IP address of contoller B using following command

set network-parameters ip <IP_ADDRESS> netmask <NETMASK> gateway <GATEWAY> controller b

6. restart controller B

restart mc a

 

RHEL 6.5 partition 3TB harddisk using gparted

RHEL 6.5 partition 3TB harddisk using gparted

For my senario,the fdisk -l shows 3TB hdd connected as /dev/sdb

1. So started parted using ,
parted /dev/sdb

2.  create gpt disk label,
mklabel gpt

3. change unit to TB
unit TB

4.  create 3TB partition
mkpart primary 0.00TB 3.00TB

5. fdisk -l , shows that a new partition /dev/sdb1 is created of 3TB in size

 

5.   To format as EXT4 filesystem,
mkfs.ext4 /dev/sdb1