System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Storage Volume Reads Less Than Actual Size

 
rianui
Trusted Contributor

Storage Volume Reads Less Than Actual Size

Hello Gurus,

 

I recently curved a 400gb volume on an EMC Clariion storage box (FC) and presented it to an rx6600 running HP-UX11.23

Whe I check the size of unused volumes in HP-UX, I can see the 400gb volume and prepare it for use. However after mounting it, what appears is only 40gb and not the whole 400gb. Below are the commands that I ran. I am not sure my vgcreate is as it should be but I'll leave it to you to tell me where I'm going wrong.

 

 

# pvcreate -f /dev/rdsk/c7t0d3

# mknod /dev/vgbkp c 128 0x030000

# vgcreate -s 128 -e 65535 /dev/vg_bkp /dev/dsk/c7t0d3

# lvcreate -L 405000 /dev/vg_bkp

# newfs -F vxfs /dev/vg_bkp/rlvol1

# mount /dev/vg_bkp /backup

 

 

Best Regards,

 

Rianui

5 REPLIES
Torsten.
Acclaimed Contributor

Re: Storage Volume Reads Less Than Actual Size

Shouldn't it be

# mknod /dev/vgbkp/group c 128 0x030000

instead of

# mknod /dev/vgbkp c 128 0x030000

to create the LVM version 2.x group file?
BTW, vgcreate will do this for you anyway.

There must be a "-V 2..." in vgcreate, right?

But the "-e" switch is not supported for LVM version 2.x.



I guess some of the steps went wrong ...

 

 

[Edit]:

Ooops, it's 11.23, so LVM version 1 only.

The mknod command must be

 

# mknod /dev/vgbkp c 64 0x030000

 

Check with vgdisplay and lvdisplay what you have now.


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!   
Patrick Wallek
Honored Contributor

Re: Storage Volume Reads Less Than Actual Size

>>The mknod command must be

 

>># mknod /dev/vgbkp c 64 0x030000

 

Rather:

 

# mknod /dev/vgbkp/group c 64 0x030000

Torsten.
Acclaimed Contributor

Re: Storage Volume Reads Less Than Actual Size

Wrong copy and paste, sorry.


# mknod /dev/vgbkp/group c 64 0x030000

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!   
rianui
Trusted Contributor

Re: Storage Volume Reads Less Than Actual Size

Hi gurus,

 

So I went for a holiday break and while away my colleague went to look at it.

Since he couldn't understand what was wrong he deleted the volume from the server and the storage system then re-created it afresh. It's now up and running.

I never got to know what I had done wrong :( but I appreciate your support a lot.

 

Thanks!

 

Rianui

Aneesh Mohan
Honored Contributor

Re: Storage Volume Reads Less Than Actual Size

Hi,

 

I am sure you type size "40500" in your screen on lvcreate command and not "405000" :) , because I could see alot of mismatches in your commands mentioned.

 

 

 

regards,

Aneesh