Operating System - HP-UX
1832951 Members
2971 Online
110048 Solutions
New Discussion

Re: how to check if i have still free 20g local disk?

 
SOLVED
Go to solution
Sharma Sanjeev
Respected Contributor

Re: how to check if i have still free 20g local disk?

Hi Aristotle

Qustion: ll /dev/*/group ( Use new Number which is not listed)
--what do you mean use new number?

Answer: It will show you major and Minor Number like 64 0x000000
u have to choose unique number like in your output


# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Oct 22 2002 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x150000 Jul 13 2005 /dev/vg15/group
crw-rw-rw- 1 root sys 64 0x0a0000 Oct 3 2007 /dev/vgdev/group

You can use 0x010000 its not being used.
you can use
mknod /dev/newvg/group c 64 0x010000

Question : newfs -F vxfs -o largefiles /dev/newvg/rlvname ( use r )

--use r? why and how?

When you will create new LV it will give you new raw device name starts with rlvname
with newfs wh have to use raw (r) Name.

Hope it clear your doughts.
Please assign points also for my Answers if it clear your doughts :-)

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Aristotle
Advisor

Re: how to check if i have still free 20g local disk?

thanks my doubts are all cleared. Thanks

I will try to handle this to the error i have encountered.

# lvcreate -L 34728M -n lvol20 /dev/newvg
Logical volume "/dev/newvg/lvol20" has been successfully created with
character device "/dev/newvg/rlvol20".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/newvg/lvol20" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
# newfs -F vxfs -o largefiles /dev/newvg/rlvol20
vxfs newfs: no space allocated to device /dev/newvg/rlvol20
Aristotle
Advisor

Re: how to check if i have still free 20g local disk?

Thanks my doubts are all cleared.
thanks
# lvcreate -L 34728M -n lvol20 /dev/newvg
Logical volume "/dev/newvg/lvol20" has been successfully created with
character device "/dev/newvg/rlvol20".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/newvg/lvol20" could not be extended.
Run the "lvextend" command to create space on the Logical Volume.
# newfs -F vxfs -o largefiles /dev/newvg/rlvol20
vxfs newfs: no space allocated to device /dev/newvg/rlvol20
Sharma Sanjeev
Respected Contributor

Re: how to check if i have still free 20g local disk?

Hi Aristotle

You picked it very Fast great :-)

The LV size your are trying to create is more than you have in Disk,that's why u are getting this error
Reduce he size you will be done.

To see how much space u have in your newvg
do vgdisplay /dev/vgnew

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Torsten.
Acclaimed Contributor

Re: how to check if i have still free 20g local disk?

Use again pvdisplay or vgdisplay to get the number of free PE's.

The number you used is too large.

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!   
Naveen M
Advisor

Re: how to check if i have still free 20g local disk?

In order to identify a free disk on the system, you can check the output of following commands as well.

1. in case the disk is being used by VXVM then it will not be listed in /etc/lvmtab but still it may not be free. So, use

#vxdisk list

2. The drive may be used a whole disk swap or whole disk file system.

#swapinfo -d
#bdf
Sharma Sanjeev
Respected Contributor

Re: how to check if i have still free 20g local disk?

Hi Naveen M

I think you did'nt read full Queries & replies.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE