- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VG extended
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 06:08 PM
тАО05-12-2009 06:08 PM
VG extended
Here is the vgdisplay output from my system.we have a clarion and they have added some disk to existing disk through mata LUN and it is showing at storage side.but i can not see the newly added space.
i would like to exted my existing vg by 400GB can i do that ? and how ?
OS HPUX 11.11 without online jfs.
# vgdisplay -v vgdb
--- Volume groups ---
VG Name /dev/vgdb
VG Write Access read/write
VG Status available
Max LV 8
Cur LV 1
Open LV 1
Max PV 255
Cur PV 4
Act PV 4
Max PE per PV 25000
VGDA 8
PE Size (Mbytes) 64
Total PE 9592
Alloc PE 9340
Free PE 252
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 06:46 PM
тАО05-12-2009 06:46 PM
Re: VG extended
1.pvcreate ├в f /dev/rdsk/c#t#d#
2.vgextend /dev/
3.lvextend -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 07:45 PM
тАО05-12-2009 07:45 PM
Re: VG extended
Follow the below steps,
#pvcreate -f /dev/rdsk/cxtxdx
#pvcreate -f /dev/rdsk/cytydy
#vgchange -a y /dev/vgdb
#vgextend /dev/vgdv /dev/dsk/cxtxdx /dev/dsk/cytydy
#strings /etc/lvmtab (for checking lvmtab)
Create a logical volume of size 409600 MB in volume group /dev/vgdb:
lvcreate -L
#lvcreate -L
#mkdir /mounpoint (Create mountpoint--if required))
#mount /dev/vgdb/lvol /mountpoint
Check below links,
http://docs.hp.com/en/B2355-90129/vgextend.1M.html
http://docs.hp.com/en/B2355-90129/lvcreate.1M.html
If helps, pls assign point.
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 08:34 PM
тАО05-12-2009 08:34 PM
Re: VG extended
If I understand it correctly, you are not able to see the newly assigned LUNs on the Unix host. Please ask your storage team to provide you the LUN details and ask them if they've done zoning.
run #insf -e
and see if you can find the newly assigned LUNs runing `ioscan -fnC disk` , check the difference against the old ioscan output(If you've have).
Follow the instructions provided above.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 09:59 PM
тАО05-12-2009 09:59 PM
Re: VG extended
first, check to your storage admin, ask to them whether the new lun is zoned to your server or not ? if yes, scan your new lun with "ioscan -nfCdisk". If the new lun already presented, do these:
a. insf -e or insf -H hw_path_new_lun",
b. pvcreate /dev/rdsk/cxtxdx (your new path lun)
c. vgextend /dev/vgdb /dev/dsk/cxtxdx
d. to extend your lvol:
lvextend -L (new size) /dev/vgdb/lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 10:09 PM
тАО05-12-2009 10:09 PM
Re: VG extended
once u presented disk from storage to hp-ux box u have to create device file
insf -C disk
then use ioscan -funC disk
once u got the lun number use the following
commands.
please don't try to use pvcreate -f command
if this lun is already use it will destroyed all data belongs to that lun.
if u are using pvcreate only it will ask
this lun is already used or not
#pvcreate /dev/rdsk/c#t#d#
#vgchange -a y /dev/vgdb
#vgextend /dev/vgdb /dev/dsk/c#t#d#
thanks and regards
Sajjad sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:28 PM
тАО05-12-2009 11:28 PM
Re: VG extended
>>>we have a clarion and they have added some disk to existing disk through mata LUN and it is showing at storage side<<<
Not clear enough. Have they increased the existing lun size or created new lun and assigned to the host?
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 06:47 PM
тАО05-13-2009 06:47 PM
Re: VG extended
ioscan -fCdisk
insf -Cdisk
Now you will have new device files in /dev/dsk that you can prepare for LVM use. To find the new LUN(s), use this command:
ll -rt /dev/dsk
The new disk LUNs will be at the bottom of the list with today's timestamp on them. Use pvcreate to add the serial number to the /dev/rdsk device file. Now you can use vgextend.
If no new device files are shown, the storage(or SAN switch) has not been configured correctly to connect to your server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 09:06 PM
тАО05-13-2009 09:06 PM
Re: VG extended
first of all you need to verify the new created LUN is detected in this server or not.
type ioscan -fnC disk will show you all details information for disk, below is output for one of my server which having few netapp luns, Lun must be claim status, once you confirm lun has detected then can create Physical volume,Volume group and then logical volume.
let us knwo how it goes,
if you are not really sure please store ioscan result in txt file and attached here, you can do it as below command.
ioscan -fnC disk > scan.txt
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 6x/32x
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 5 0/2/0/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE SEAGATE ST318203FC
/dev/dsk/c12t0d0 /dev/rdsk/c12t0d0
disk 9 0/2/0/0.8.0.255.0.1.0 sdisk CLAIMED DEVICE SEAGATE ST318304FC
/dev/dsk/c12t1d0 /dev/rdsk/c12t1d0
disk 15 0/2/0/0.8.0.255.0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318203FC
/dev/dsk/c12t2d0 /dev/rdsk/c12t2d0
disk 19 0/2/0/0.8.0.255.0.3.0 sdisk CLAIMED DEVICE SEAGATE ST318203FC
/dev/dsk/c12t3d0 /dev/rdsk/c12t3d0
disk 23 0/2/0/0.8.0.255.0.4.0 sdisk CLAIMED DEVICE SEAGATE ST318304FC
/dev/dsk/c12t4d0 /dev/rdsk/c12t4d0
disk 136 255/0/12.0.0.0 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c34t0d0 /dev/rdsk/c34t0d0
disk 142 255/0/12.0.0.1 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c34t0d1 /dev/rdsk/c34t0d1
disk 148 255/0/12.0.0.2 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c34t0d2 /dev/rdsk/c34t0d2
disk 154 255/0/12.0.0.3 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c34t0d3 /dev/rdsk/c34t0d3
disk 123 255/0/15.0.0.0 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c37t0d0 /dev/rdsk/c37t0d0
disk 167 255/0/15.0.0.1 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c37t0d1 /dev/rdsk/c37t0d1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 12:24 AM
тАО05-14-2009 12:24 AM
Re: VG extended
Better you discuss with your storage admin about your zoning and LUN Details. Confirm that wheather they are increasing the existing lun or they create a new lun.
If they created new lun Type #ll -rt /dev/dsk
it will list the new lun.In the Bottm lines.
After getting new lun then remaining steps are easy which explained below,
a. insf -e or insf -H hw_path_new_lun", (Creating Device file)
b. pvcreate /dev/rdsk/cxtxdx (your new path lun)
Don't use -f option it will forcefully create "pv" that cause curruption.
c.vgchange -a y /dev/vgdb
d. vgextend /dev/vgdb /dev/dsk/cvtxdz
e. Then extend your lvol with size as you want(Here 400gb):
lvextend -L (new size) /dev/vgdb/lvol
Hope this will help you..