1833787 Members
2459 Online
110063 Solutions
New Discussion

Extend drive space...

 
SOLVED
Go to solution
Gops_1
Regular Advisor

Extend drive space...

Hi all,
I have database server in which the drives are mounted on SAN VA7110. One of the path in my DB server is 98% i wish to extend this.
I wish to know the following,

1. How much free space available on my SAN.
2. How can use that free space to extend that 98% drive path,

I am attaching that bdf details below.

This is critical prodution server. I need a expert to reply to this,

Bdf as follows,

/dev/vg00/lvol3 1540096 1436200 103096 93% /
/dev/vg00/lvol1 497584 89168 358656 20% /stand
/dev/vg00/lvol10 6144000 2439176 3678808 40% /var
/dev/vg00/lvol8 6144000 3985600 2141560 65% /usr
/dev/vg00/lvol7 4096000 3412035 651361 84% /u01
/dev/vg00/lvol6 1024000 654528 366696 64% /tmp
/dev/vg00/lvol5 6144000 4282136 1849000 70% /opt
/dev/vg00/lvol4 1024000 20358 940921 2% /infraservices
/dev/vg00/lvol9 1024000 149944 867368 15% /home
/dev/vg01/lvol1 9216000 7685432 1482740 84% /pdwp1pkg/u02
/dev/vg01/lvol2 9433088 8197448 1197030 87% /pdwp1pkg/u03
/dev/vg01/lvol3 11980800 11733464 239610 98% /pdwp1pkg/u04
/dev/vg01/lvol4 11980800 7347350 4491582 62% /pdwp1pkg/u05
/dev/vg01/lvol5 512000 81224 411952 16% /infraservices/XML
/dev/vg01/lvol6 4096000 2042896 1924848 51% /pdwp1pkg/u06

You can see one drive path is 98%. I wish to extend this using the available free space in SAN.
Lot of points...

FYI: vg01 is mounted on SAN VA7110.

Thanks
gVee
13 REPLIES 13
Ivan Krastev
Honored Contributor
Solution

Re: Extend drive space...

As far i can see: is this server is a part of the cluster ?

The procedure is easy:
1. present disks (LUNs) from VA7110
2. Add this disks in the volume group vg01 (check for mirrors, etc ...).
3. extend the partition(s).

In case of cluster volume group you need to export it in PREVIEW mode and create map file for importing on the other node(s).

regards,
ivan
Johnson Punniyalingam
Honored Contributor

Re: Extend drive space...

1. How much free space available on my SAN.

vgdisplay -v /dev/vg01 |more --> need out put

PE Size (Mbytes) ?
Free PE ?

PE Size * Free PE = (Free Space left under vg01)

2. How can use that free space to extend that 98% drive path,

I am attaching that bdf details below.
(bdf - out put will not help vgdisplay /dev/vg01 out put needed)

Question:-

Do you have Online -JFS if not we can't extend with-out umounting the File system

if Yes --> we can extend file system "ONLINE"

swlist |grep -i JFS --> need out put to check Online JFS Installed

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Sandy Chen
Honored Contributor

Re: Extend drive space...

Hi,

do you have commandview sdm installed on your server?

if you do, please run these command
1. armdsp -i -> notify your alias_name
2. armdsp -a

second command will give you the configuration of the VA7110

Regards,
Sandy

I never think of the future. It comes soon enough.
Gops_1
Regular Advisor

Re: Extend drive space...

Hi Ivan,
Yes its in HP Service guard cluster.

you have list the steps 1,2,3 . I am not much to into this SAN and HP Ux.
Let me knw the exact command o/p you need for. Assist me according to that.

Thanks

Hi Johnson,
I've attached the vgdisplay as you requested for. I didn't see any JFS there.

There are 3 more servers sharing those SAN storage.
1. OVO server
2. remedy server
3. Backup server (HP storage Data protector)
4. Database server ( I wish to extend on this server)

What more details you need ?

Thanks
gV.
Johnson Punniyalingam
Honored Contributor

Re: Extend drive space...

Hi Gops,

Many Thanks for attachements

I've attached the vgdisplay as you requested for.
>>>vgdisplay<< show you have only 900 MB free space left ...:(

You need Add more disk ,

Also you have mentioned "Cluster"

ONLINE -JFS is much needed for this "becoz" if your "Logical Volume part" of Cluster pkg we need "haltpkg" and "vgextend" for "vg01" than "vgexport" map file "vgimport" the map files to Failover Node"

I didn't see any JFS there.

>>>(I didn't see any JFS there --> You need downtime for "DB Server") <<<<


Thanks
Johnson
Problems are common to all, but attitude makes the difference
Gops_1
Regular Advisor

Re: Extend drive space...

Hi Sandy,
I have command view SDM. I am attaching armdsp -a.

Hi johnson,
What is JFS, how can load that into my HP UX server. I am having HP UX 11.0
Gops_1
Regular Advisor

Re: Extend drive space...

Hi johnson,
I am happy that we have 900 MB free space. As i am having a SAN VA7110. I wish to know how much space am having in SAN server. If i get some good space in SAN,
1. I will add that space to this DB server
2. I will use your steps to use that free space and extend that drive

So my present requirement is

1. I wish to know what is my current SAN configuration
2. Can i use my SAN space effectively.

Everything is there in front of us. But there is lack of visibility. This applies to me.

thanks
gV
Johnson Punniyalingam
Honored Contributor

Re: Extend drive space...

So my present requirement is

1. I wish to know what is my current SAN configuration

CAPACITY USAGE

Total Disk Enclosures:________________1

Redundancy Group:_____________________1
Total Disks:________________________15
Total Physical Size:________________500.679 GB
Allocated to Regular LUNs:__________130.107 GB
Allocated as Business Copies:_______110 GB
Used as Active Hot Spare:___________66.757 GB
Used for Redundancy:________________193.083 GB
Unallocated (Available for LUNs):___748 MB

2. Can i use my SAN space effectively.

Yes, you can ,

Everything is there in front of us. But there is lack of visibility. This applies to me

In this Case can you Check with any Storage Support Admin for this Server,..?

to help you figure-out and provide you

Device Path /dev/dsk/cxtxdx

so using those free Device path we can vgextend /dev/vg01

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Sandy Chen
Honored Contributor

Re: Extend drive space...

Hi,

From the armdsp, I can see that your VA has only 748 MB unallocated disk space. You can create a new lun on the VA, present it to the server and extend the VG. Do you need a step by step guide how to do that?

Regards,
Sandy
I never think of the future. It comes soon enough.
Gops_1
Regular Advisor

Re: Extend drive space...

Yes sandy thanks for understanding my requirements. Kindly send me the step by step procedure.

Do you need any more o/p.

The server i wish to increase is a DB server having HP Service Guard Cluster.

Some one said i have 900 MB. free space on my server itself. Can you analyse that too.

Thanks
gV
Gops_1
Regular Advisor

Re: Extend drive space...

I am having a test server. I wish to do a disk extendion (vg extend)on this server first. Can anyone tell how much free space i have on this server.

(/)# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1032192 627792 401568 61% /
/dev/vg00/lvol1 298928 42760 226272 16% /stand
/dev/vg00/lvol13 10240000 5499384 4704848 54% /var
/dev/vg00/lvol14 40960000 3528 40636512 0% /var/opt/ignite/recovery/arch ives
/dev/vg00/lvol12 2572288 1470848 1092848 57% /usr
/dev/vg00/lvol11 8192000 3108 7677094 0% /u04
/dev/vg00/lvol10 8192000 3108 7677094 0% /u03
/dev/vg00/lvol9 8192000 3108 7677094 0% /u02
/dev/vg00/lvol8 8192000 666928 7054819 9% /u01
/dev/vg00/lvol7 524288 27512 494608 5% /tmp
/dev/vg00/lvol6 30720000 21446820 9133464 70% /software
/dev/vg00/lvol5 8192000 3045240 5108768 37% /opt
/dev/vg00/lvol16 2048000 396214 1548581 20% /infraservices
/dev/vg00/lvol17 2048000 449835 1499735 23% /infraservices/XML
/dev/vg00/lvol15 524288 3136 517128 1% /home
(/)# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 16
Open LV 16
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 8181
Free PE 567
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1008
Current LE 63
Allocated PE 63
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 500
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 30000
Current LE 1875
Allocated PE 1875
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 2512
Current LE 157
Allocated PE 157
Used PV 2

LV Name /dev/vg00/lvol13
LV Status available/syncd
LV Size (Mbytes) 10000
Current LE 625
Allocated PE 625
Used PV 1

LV Name /dev/vg00/lvol14
LV Status available/syncd
LV Size (Mbytes) 40000
Current LE 2500
Allocated PE 2500
Used PV 1

LV Name /dev/vg00/lvol15
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/lvol16
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 125
Allocated PE 125
Used PV 1

LV Name /dev/vg00/lvol17
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 125
Allocated PE 125
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 4374
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 4374
Free PE 567
Autoswitch On
Proactive Polling On


thanks
gV
Sandy Chen
Honored Contributor

Re: Extend drive space...

Hi,

You have a 9 GB free space on your VG00, but as the one that you would like to increase is /pdwp1pkg/u04 which is on VG01, you cannot make use this free space.

About the VA, yours is already utilized > 87%, and as far as I can remember, it is not recommended to make use 100% of your available space on VA. I can give you the step by step guide on how to make use your unallocated space, but I would recommend you to upgrade your storage.

1. Create a LUN on the VA:
# armcfg -L 21 -a 748 MB -g 1
note: if the command failed, then I suggest you reduce the size of the LUN

on both of your server:

2. scan your disk and see if there is a new disk installed:
# ioscan -fnC disk

3. install the disk driver and take note of the address of the new disk /dev/dsk/cxtydz
# insf -e

On the First node:

4. shutdown the cluster package on both server
# cmhaltpkg

5. Ensure the package is down properly VG01 is de-activate, use
# vgdisplay -v vg01 -> this should give you an error

6. activate vg01 manually
# vgchange -a y /dev/vg01

7. extend vg01 using the new disk
# vgextend /dev/vg01 /dev/dsk/cxtydz

8. extend the volume that you wanted:
# lvextend -L /dev/vg01/lvol3

9. extend the FS:
# extendfs -F vxfs /dev/vg01/lvol3

10. create export mapfile for the vg01
# vgexport -s -p -v -m /tmp/vg01.newmap /dev/vg01

11. ftp or copy the mapfile to the second cluster

On the Second node:

12. remove all vg01 configuration
# vgexport /dev/vg01

13. import the vg01 config from the mapfile
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport -s -p -m /tmp/vg01.newmap /dev/vg01

Back on the First Node:

14. deactive vg on 1st server
# vgchange -a n /dev/vg01

15. Make vg01 cluster aware
# vgchange -c y /dev/vg01

16. cmrunpkg

Again, please consider to upgrade your storage, and do very careful when doing these steps, especially if this is a production server. And if you can have someone else to take a look of the steps given, that would be great.

Good luck!

Regards,
Sandy
I never think of the future. It comes soon enough.
Johnson Punniyalingam
Honored Contributor

Re: Extend drive space...

CAPACITY USAGE
Hi Gops,

As i mentioned earlier on the post , Unallocated (Available for LUNs):___748 MB
(will this acomplish you task for creating lun 748..?)

as far my concern my recommed action would buy disk add to the storage and Create LUN)

Choice is your's buddy

Total Disk Enclosures:________________1

Redundancy Group:_____________________1
Total Disks:________________________15
Total Physical Size:________________500.679 GB
Allocated to Regular LUNs:__________130.107 GB
Allocated as Business Copies:_______110 GB
Used as Active Hot Spare:___________66.757 GB
Used for Redundancy:________________193.083 GB
Unallocated (Available for LUNs):___748 MB

Thanks,
Johnson
Problems are common to all, but attitude makes the difference