- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvol creating
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-09-2008 03:55 AM
тАО04-09-2008 03:55 AM
I have already created 2TB volume group. Its name is vg06. Now I want to create logical volume with size of whole amount(2TB).Its name is lvol1.
Please let me know all steps for creating the logical volume.
Thanks
Niru
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 04:01 AM
тАО04-09-2008 04:01 AM
Re: lvol creating
Example:
Create a logical volume of size 1000000 MB in volume group /dev/vg06:
lvcreate -L 1000000 -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 04:05 AM
тАО04-09-2008 04:05 AM
Re: lvol creating
Regards
Niru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 04:12 AM
тАО04-09-2008 04:12 AM
Re: lvol creating
For cooked filesystems:
Format: newfs -F vxfs /dev/vg06/
(in case of hfs, choose hfs)
mount /dev/vg06 /filesystem
I assume you need to use largefiles then:
fsadm -F vxfs -o largefiles /dev/vg06/
make entry in /etc/fstab if not part of cluster(ware).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 04:12 AM
тАО04-09-2008 04:12 AM
Re: lvol creating
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 05:53 AM
тАО04-09-2008 05:53 AM
Re: lvol creating
I noticed on your profile that you
have assigned:
"I have assigned points to 2 of 170 responses "
That is a very low ratio.
please read the forum rules again on how to assign points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 08:31 PM
тАО04-09-2008 08:31 PM
Re: lvol creating
Create a logical volume lvol1 of size 2TB in volume group /dev/vg06 suppose all physical extents are on /dev/dsk/cxtxdx :
#lvcreate -n lvol1 vg06
#lvextend -L 2097152 /dev/vg06/lvol1 /dev/dsk/cxtxdx
If you need a filesystem construct it according to
#newfs -F vxfs /dev/vg06/rlvol1
You may use specific options, e.g. to support largefiles:
#newfs -F vxfs -o largefiles /dev/vg06/rlvol1
See also newfs(1M) and newfs_vxfs(1M) .
Mount it at the desired directory:
#mount /dev/vg06/lvol1 /mountdirectory
For specific mount option examples look into the /etc/fstab , fstab(4) or consult mount_vxfs(1M) .
Check:
#bdf
NOTE: Do not forget to add an appropriate entry in the /etc/fstab , fstab(4) , if you want the logical volume automatically mounted on system start-up.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 08:55 PM
тАО04-09-2008 08:55 PM
Re: lvol creating
this simplest way to do this is to use SAM:
SAM -> Disks and File Systems -> Logical Volumes
then:
Action -> Create
If you want to use Oracle ASM, then steps are slightly different.
if you need any further asistance, please let us know.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 09:52 PM
тАО04-09-2008 09:52 PM
Re: lvol creating
so if u want to create 1 lvol size 2TB
Then;
#vgdisplay -v your_vgname
Look at the TOTAL PE
#lvcreate -l TOTALPE /dev/your_vgname
#newfs -o largefiles /dev/your_vgname/rlvolname
#mkdir /mountdir
#mount /dev/your_vgname/lvol1 /mountdir
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 11:08 PM
тАО04-09-2008 11:08 PM
Re: lvol creating
Nirukshitha