Operating System - HP-UX
1758664 Members
2529 Online
108874 Solutions
New Discussion юеВ

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

The Disks Showing CLAIMED DEVICE EMC SYMMETRIX are your disk from Storage and
disk 394 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 395 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 396 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c6t6d0 /dev/rdsk/c6t6d0

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?

now i understand, but if it is unused? How can i used it?

# pvdisplay /dev/dsk/c6t6d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c6t6d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c6t6d0".
#

Thanks to you all. I now understand how to differentiate my local disk from storage disk
Sharma Sanjeev
Respected Contributor

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

Hi Aristotle

You have to do pvcreate /dev/dsk/c6t6d0
than you can use this disk.
2. You have to assign this disk to any VG than only you can use this disk

E.G
you have to do
pvcreate /dev/dsk/c6t6d0
vgextend /dev/vg00 /dev/dsk/c6t6d0 ( If you want to extend VG00)
otheriwse with any other vg.

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?

pvcreate /dev/dsk/c6t6d0
vgextend /dev/vg00 /dev/dsk/c6t6d0

What if i want to create another filesystem?
Or another vg is it possible? Anyway thanks.

For the mean time how will i know the size of /dev/dsk/c6t6d0 ius there anyway?
Sharma Sanjeev
Respected Contributor

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

Hi Aristotle

Typo in last reply u have to use rdsk in place of /dev/dsk/c6t6d0 while doing pvcreate

E.G
you have to do
pvcreate /dev/rdsk/c6t6d0
vgextend /dev/vg00 /dev/dsk/c6t6d0 ( If you want to extend VG00)
otheriwse with any other vg.

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?

You may use SAM to create a new VG and LVOL with this disk.

For the size you can use "diskinfo", but even the identifier is telling you:

HP 36.4GST336752LC

It's a 36GB disk.

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!   
Sharma Sanjeev
Respected Contributor

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

Hi Aristotle

You can create aonther Vg using this disk
e.g
Yes, you can create another file system after extending you VG and even you can create new vg also if you want using this disk.

To Know Size of disk :
diskinfo /dev/rdsk/c6t6d0

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?

@torsten
At first look how will you know the disk /dev/dsk/c6t6d0 is unused? Also you could easily indentify
that the machine is rp8400.
Thanks

This is a rp8400.
Local disks are

disk 394 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0

disk 395 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0

disk 396 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c6t6d0 /dev/rdsk/c6t6d0

Based on the information above the disk /dev/dsk/c6t6d0 looks still unused.

Aristotle
Advisor

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

Ei guys no need to reply i get it in /etc/lvmtab.
thanks a lot for helping us.
Sharma Sanjeev
Respected Contributor

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

At first look how will you know the disk /dev/dsk/c6t6d0 is unused ?

The disk /dev/dsk/c6t6d0 was not in strings /etc/lvmtab output

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