- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM in HPUX
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
тАО04-29-2008 09:57 PM
тАО04-29-2008 09:57 PM
# pvcreate -f /dev/rdsk/c4t2d0
But below is not working
# pvcreate -f /dev/rdsk/c4t2d0 /dev/rdsk/c4t2d2 /dev/rdsk/c4t2d3
How to create the PV using multiple raw disk in HPUX whereas 2nd command is working in Linux but not in HPUX plz help ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:00 PM
тАО04-29-2008 10:00 PM
SolutionHope 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:07 PM
тАО04-29-2008 10:07 PM
Re: LVM in HPUX
Ref. url:
http://www.knowledgeroot.dk/hp-ux/lvm/creating-volume-group-and-logical-volume-with-distributed-and-pvg-strict/
# list=`xpinfo -d -l |awk -F, {'print $8" "$5" "$4" "$1'}| sed 's/\/dev\/rdsk\///g' |awk {'print $4'}`
# for i in $list
> do
> print "pvcreate /dev/rdsk/$i"
> done
pvcreate /dev/rdsk/c8t0d0
pvcreate /dev/rdsk/c9t0d0
pvcreate /dev/rdsk/c10t0d0
pvcreate /dev/rdsk/c11t0d0
pvcreate /dev/rdsk/c8t0d1
pvcreate /dev/rdsk/c9t0d1
pvcreate /dev/rdsk/c10t0d1
After i check the output, i just copy/paste. :)
-- Johnny Damtoft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:08 PM
тАО04-29-2008 10:08 PM
Re: LVM in HPUX
If you want more than one you can do something like this. But be sure about the device names.
for i in /dev/rdsk/c4t2d0 /dev/rdsk/c4t2d2 /dev/rdsk/c4t2d3
do
echo $i
pvcreate $i
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:10 PM
тАО04-29-2008 10:10 PM
Re: LVM in HPUX
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:12 PM
тАО04-29-2008 10:12 PM
Re: LVM in HPUX
let I have created PVs as below
pvcreate -f /dev/rdsk/c4t2d0
pvcreate -f /dev/rdsk/c4t2d2
pvcreate -f /dev/rdsk/c4t2d3
but how could I
add one PV to another when I need to extend lv in /dev/rdsk/c4t2d0 disk when this disk donot have space ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:16 PM
тАО04-29-2008 10:16 PM
Re: LVM in HPUX
let I have created PVs as below
pvcreate -f /dev/rdsk/c4t2d0
pvcreate -f /dev/rdsk/c4t2d2
pvcreate -f /dev/rdsk/c4t2d3"
Let's say your new LUN is
/dev/rdsk/c4t2d3
you run
pvcreate /dev/rdsk/c4t2d4
and add this PV to your VG using vgextend.
After this you can lvextend the LVOL.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:21 PM
тАО04-29-2008 10:21 PM
Re: LVM in HPUX
#pvcreate -f /dev/dsk/cxtxdx
#lvextend
then extend the size in file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:22 PM
тАО04-29-2008 10:22 PM
Re: LVM in HPUX
Let's say your new LUN is
/dev/rdsk/c4t2d4
you run
pvcreate /dev/rdsk/c4t2d4
and add this PV to your VG using vgextend.
After this you can lvextend the LVOL.
see also
http://docs.hp.com/en/B2355-90950/ch06s01.html
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 10:22 PM
тАО04-29-2008 10:22 PM
Re: LVM in HPUX
then mount the file system