1825002 Members
2829 Online
109678 Solutions
New Discussion

New Disk Group.

 
itrc55
Regular Advisor

New Disk Group.

Hi,

 

How to create a disk group and increase this disk ? step by step please because i am new on this.

 

Thanks

8 REPLIES 8
Shibin_2
Honored Contributor

Re: New Disk Group.

What is your OS version ?

This link will be more helpful for you to learn.

http://www.unixguide.net/hp/hplvmtasks.shtml
Regards
Shibin
amc_madhu
Occasional Visitor

Re: New Disk Group.

Hi itrc55

 

Clarify us what required.

 

DO you need to create new VG or need to increase the VG size.

 

guess so that You requirement is increasing the VG size.

 

1.Allocate the required disk from storage.

2.Find the cxtydz no

3.pvcreate /dev/rdsk/diskno ( if persistent device file)

4.vgextend /dev/vgname

5.lvextend -L size in mb [lvname] [vgname]

5.vgdisplay -v vgname

6.fsadm -F vxfs -b size mountpoint 

 

to use fsadm online JFS feature must be installed.

 

to check swlist  | grep -i online

 

if not you have to unmount the file system

 

umount the file system and do extendfs

 

if the system is in cluster ,,,, do a vgexport and do vgimport in the fail over server.

 

 

regards

 

Madhu 

 

 

 

itrc55
Regular Advisor

Re: New Disk Group.

Hi,

 

my OS is HP-UX 11.31, but my questions is how to create a disk group (raw disk) and how increase it ?

 

ex) /dev/vx/dsk/mdmrac-dg/redovol  

 

Thanks

 

Torsten.
Acclaimed Contributor

Re: New Disk Group.

Looks like you wantr to use VxVM instead of LVM - please confirm!


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
itrc55
Regular Advisor

Re: New Disk Group.

Hi,

 

"Looks like you wantr to use VxVM instead of LVM - please confirm!"

Yes, and i want to know how to create disk group and extend it.

 

Thanks

Torsten.
Acclaimed Contributor

Re: New Disk Group.

Consider to use the system management homepage (smh) to create and manage your volume groups.

 

http://your_server:2301


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
itrc55
Regular Advisor

Re: New Disk Group.

Hi,

 

how can i resize this disk group to 6 TB i have 12 disk with 500 GB

 

/dev/vx/dsk/medoffdg/backupvol     4194304000 2060566327 2000461371   51% /comptel4/elink/backup

 

Thanks                  

Torsten.
Acclaimed Contributor

Re: New Disk Group.

Since this is VxVM you should try smh, otherwise you need to work with

 

# vxdiskadm.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!