1855749 Members
4881 Online
104103 Solutions
New Discussion

this disk free or no

 
SOLVED
Go to solution
Mousa55
Super Advisor

this disk free or no

Hi
what is the method to know if this disk is used or not used?
--------
disk 89 0/0/8/1/0/4/0.149.0.4.0.1.3 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c13t1d3 /dev/rdsk/c13t1d3
disk 94 0/0/8/1/0/4/0.149.0.4.0.1.4 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c13t1d4 /dev/rdsk/c13t1d4
disk 108 0/0/8/1/0/4/0.149.0.4.0.1.5 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c13t1d5 /dev/rdsk/c13t1d5
disk 113 0/0/8/1/0/4/0.149.0.4.0.1.6 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c13t1d6 /dev/rdsk/c13t1d6
disk 121 0/0/8/1/0/4/0.149.0.4.0.1.7 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c13t1d7 /dev/rdsk/c13t1d7
disk 10 0/0/10/1/0/4/0.61.0.1.0.0.1 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d1 /dev/rdsk/c14t0d1
disk 17 0/0/10/1/0/4/0.61.0.1.0.0.2 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d2 /dev/rdsk/c14t0d2
disk 28 0/0/10/1/0/4/0.61.0.1.0.0.3 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d3 /dev/rdsk/c14t0d3
disk 47 0/0/10/1/0/4/0.61.0.1.0.0.4 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d4 /dev/rdsk/c14t0d4
disk 51 0/0/10/1/0/4/0.61.0.1.0.0.5 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d5 /dev/rdsk/c14t0d5
disk 48 0/0/10/1/0/4/0.61.0.1.0.0.6 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d6 /dev/rdsk/c14t0d6
disk 60 0/0/10/1/0/4/0.61.0.1.0.0.7 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c14t0d7 /dev/rdsk/c14t0d7
15 REPLIES 15
Murat SULUHAN
Honored Contributor

Re: this disk free or no

Hi Nejad

pvdisplay

vgdisplay -v /dev/

will help you,

Best Regards
Murat
Murat Suluhan
Hasan  Atasoy
Honored Contributor

Re: this disk free or no

your system sees from two paths c13 and c14.
1. if you using lvm ;
strings /etc/lvmtab should noy contain that disk .
pvdisplay /dev/dsk/c13t1d3 should not give you disk you are trying to add .
2. if you are using vxvm
vxdisk list output should noy give you that disk name.

note that c13t1d4 and c14t1d4 are the same disk.

Patrick Wallek
Honored Contributor

Re: this disk free or no

While vxdisk and pvdisplay will show you if the disk is in use by VxVM or LVM, NOTHING other than good documentation will show you if the disk is in use as a raw disk.

Raw disks, where you talk directly to the disk via the /dev/dsk or /dev/rdsk device file, are sometimes used for databases.

YOu absolutely MUST keep good documentation on the use of your disks.
Mousa55
Super Advisor

Re: this disk free or no

Hi
i am increased this disk /dev/rdsk/c10t1d5 from SAN storge by 50GB but the size of the mount point on this disk is not change.
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg09/lvol1 136192000 48958608 86552136 36% /u09
and
# diskinfo /dev/rdsk/c10t1d5
SCSI describe of /dev/rdsk/c10t1d5:
vendor: HP
product id: HSV210
type: direct access
size: 31457280 Kbytes
bytes per sector: 512
how to solve this problem?
thanks



Hasan  Atasoy
Honored Contributor
Solution

Re: this disk free or no

hopps ; you must not change disk size on storage . you should create a new virtual disk and present to this host. after creating disk devices with ioscan fnC disk; insf . you should extend vg by vgextend and extend lv by lvextend and lastly extendfs filesystem. if you have online jfs license, you can extend filesystem by fsadm instead of extendfs.

mathmad.
Murat SULUHAN
Honored Contributor

Re: this disk free or no

Hi Nejad


When you run bdf it will display your VGs and their LVs and which LV mounted on which mount point like that

/dev/vg09/lvol1 136192000 48958608 86552136 36% /u09

/dev/vg09 is VG

and when you run the following command

vgdisplay -v /dev/vg09

it will display the VG's physical disks (or LUNs)


You must run vgdisplay with each VG to find which disk belong to which VG

In vg display output, you can also see how many physical extent free for each disk

And you must not modify LUNs on storage side, you must create new virtual disk and you must add to vg that you wanted to extend. Howewer 11.31 has new features about vg management.

I think you are note familiar with VG administration, so you should consult your HP support representative. And my recommendation is you must backup before VG operations.



Best Regards
Murat
Murat Suluhan
Mousa55
Super Advisor

Re: this disk free or no

Hi
thanks
but the 50GB Where go? and how find it
and i Manage to retrieval the 50GB to SAN.
thanks and best regards
Murat SULUHAN
Honored Contributor

Re: this disk free or no

Hi Nejad

In fact you have got trouble with the LUN
Can you submit your UX release info.

Best Regards
Murat


Don't forget the points
Murat Suluhan
Mousa55
Super Advisor

Re: this disk free or no

Hi
i want to select point but all it hidden
thanks
Murat SULUHAN
Honored Contributor

Re: this disk free or no

Hi Nejad

OS info?
Have you got any backups?
Do you have any support contract?

Best Regards
Murat
Murat Suluhan
Torsten.
Acclaimed Contributor

Re: this disk free or no

"i am increased this disk /dev/rdsk/c10t1d5 from SAN storge by 50GB but the size of the mount point on this disk is not change."

If you run HP-UX 11.23 or 11.31 use vgmodify.

man vgmodify

For 11.11 backup the data, reduce the disk from the VG, (remove VG if needed), create a new PV and add it to the VG. Restore your data.

Better solution: Don't increase the vdisk size, but create a new vdisk.

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!   
Mousa55
Super Advisor

Re: this disk free or no

Hi
i am create a new virtual disk, but there error in create VG
# vgextend vg09 /dev/dsk/c17t2d0
vgextend: Physical Volume "/dev/dsk/c17t2d0" contains no LVM information

i am execute insf -eH command
what is the LVM information and solution this problem
thanks
Torsten.
Acclaimed Contributor

Re: this disk free or no

You must create a physical volume before extending the VG:

# pvcreate /dev/rdsk/c17t2d0
# vgextend ...

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!   
Murat SULUHAN
Honored Contributor

Re: this disk free or no

Hi Nejad

Did you prepare your just created disk with pvcreate command like following line

pvcreate /dev/rdsk/c17t2d0

Did you solve the previos problem?

Best Regards
Murat
Murat Suluhan
Mousa55
Super Advisor

Re: this disk free or no

Hi

thank you for all