- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help Req - LVMs creation commands
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
тАО10-27-2010 10:49 AM
тАО10-27-2010 10:49 AM
I have to create below partitions in HP-UX B.11.23 U ia64 unlimited-user license server.
/oracle 10 GB
/prod1 70 GB
/prod2 70 GB
/prod3 60 GB
/prod4 60 GB
/veritas 50 GB
/Backup 40 GB
Please find below luns hardware paths:
disk 6 0/3/1/0.1.2.255.0.0.3 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
disk 7 0/3/1/0.1.2.255.0.0.4 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c6t0d4 /dev/rdsk/c6t0d4
disk 8 0/3/1/0.1.2.255.0.0.5 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c6t0d5 /dev/rdsk/c6t0d5
disk 9 0/3/1/0.1.2.255.0.0.6 sdisk CLAIMED DEVICE HITACHI DF600F
/dev/dsk/c6t0d6 /dev/rdsk/c6t0d6
Disk 6 is 10 GB...I have to create /Oracle partition (Ex : /Oracle)
Disk 7 is 140 GB... I have to create two LVMs (Ex: /Prod5 and /prod6)
Disk 8 is 120 GB I have to create two LVMs ( Ex : /prod7 & /prod8)
Disk 9 is 90 GB...I have to create two LVMs ( /Veritas & /Backup)
Please let us know step by step commands.
This my kind request.
Regards,
Mastan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 10:55 AM
тАО10-27-2010 10:55 AM
SolutionPete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 11:08 AM
тАО10-27-2010 11:08 AM
Re: Help Req - LVMs creation commands
I appreciate an immediate reply and thanks for your support.
Better if you can provide step by step commands.
Regards,
Mastan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 11:17 AM
тАО10-27-2010 11:17 AM
Re: Help Req - LVMs creation commands
Like Pete mentioned, go through the steps.And if you are creating single VG for all the LV, give all disks path while using vgcreate command.
Also if you want to keep the LVs in mentioned PVs, first create the LVs with zero size and extend to the required disk with the given size using lvextend command.
Refer the below link.
http://docs.hp.com/en/B2355-90684/lvm.7.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 11:20 AM
тАО10-27-2010 11:20 AM
Re: Help Req - LVMs creation commands
(repeat for other luns)
mkdir /dev/vg01
mknod /dev/vg01/group c64 0x010000
vgcreate /dev/vg01 /dev/dsk/c6t0d3 /dev/dsk/c6t0d4 /dev/dsk/c6t0d5 /dev/dsk/c6t0d6
lvcreate -L 1000 /dev/vg01
(repeat for others)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 11:36 AM
тАО10-27-2010 11:36 AM
Re: Help Req - LVMs creation commands
Thank you so much for your suggestions.
Will update further developments on this.
Regards,
Mastan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 08:29 PM
тАО10-27-2010 08:29 PM
Re: Help Req - LVMs creation commands
You can refer similar thread in this link.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=837455
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 09:41 PM
тАО10-27-2010 09:41 PM
Re: Help Req - LVMs creation commands
1.pvcreate /dev/rdsk/cxtydz
2.mkdir /dev/vgname
3.ll /dev/*/goup to identfy the last minor no used.
4.mknod /dev/vgname/group c 64 [minor no ]
minor no 0x000011
00 ---- vg no .11 lv no
5.vgcreate -s 32
-e /dev/vgname /dev/dsk/cxtydz
s - to create the pe size
e - to create max_pe_per pv
6. lvcreate -n vgname /dev/vgname
this willl create a lv with zero size.
7.lvextend -L [size in mb] or -l [pe size] /dev/vgname/lvname
8.vgdisplay -v vgname
9.newfs -F vxfs -o largefiles /dev/vgname/rlvname
use raw device file.
10.create a mount point mkdir /oracle
11 mount /dev/vgname/lvname /oracle
12.bdf
13.then change the permission as per req.
14.to mount automatically after rebooting
add entry in /etc/fstab
15.mount -a
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 10:31 PM
тАО10-27-2010 10:31 PM
Re: Help Req - LVMs creation commands
Thanks a lot.
Regards,
Mastan.