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
тАО01-14-2009 03:12 PM
тАО01-14-2009 03:12 PM
I have one vg02 with pv /dev/dsk/c0t1d0,/dev/dsk/c0t2d0,/dev/dsk/c0t3d0.And i want to create one lv by using all pv
Thanks
viney
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 04:09 PM
тАО01-14-2009 04:09 PM
Re: LVM
# lvcreate -L
The use newfs to create the filesystem on the disk.
# newfs -F vxfs -o largefiles /dev/vg02/rlvol1
Then mount your filesystem where ever you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 04:19 PM
тАО01-14-2009 04:19 PM
Re: LVM
ya i knw but actually mi requirement is different, Let i have 3 pv with 16 GB each.And i want to create lv with 8 gb that is used all three pv's pe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 05:21 PM
тАО01-14-2009 05:21 PM
Solutionlvcreate -L MB-size -i 3 -I 128 /dev/vg02
The catch is that with striping when your disks fill up you have to add 3 disks again to vg02 to get more space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 01:14 AM
тАО01-15-2009 01:14 AM
Re: LVM
there are two ways to it, u can can create the stripped LVs or u can simply create the spanned LVs.
for the stipped LVs that will get vreated using this command.
#lvcreate -i 3 -I 32 -L 8192 /dev/vg00
ya this is true that in future u shall need 3 other disk to increase this LV if u fall short of spoace on these 3 disks.
for simple spanned volume u can do like this
#lvcreate -L 2792 /dev/vg02
#lvextend -L 5584 /dev/vg02/lvol1 /dev/dsk/c0t2d0
#lvextend -L 8376 /dev/g02/lvol1 /dev/dsk/c0t3d0
i have assumed that at the time of creating the VG u have added the PVs in the order of
/dev/dsk/c0t1d0 ,/dev/dsk/c0t2d0 ,/dev/dsk/c0t3d0.
this is a simple spanned volume and remember that it should be non-contiguos .
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 01:22 AM
тАО01-15-2009 01:22 AM
Re: LVM
u can also take the help of the PVGs that is crrate a file /etc/lvmpvg and add the following entries on to that.
#vi /etc/lvmpvg
VG /dev/vg02
PVG pvg0
/dev/dsk/c0t1d0
/dev/dsk/c0t2d0
/dev/dsk/c0t3d0
save and exit
and then craete the LV as u desire:
#lvcreate -L 8192 -D y -s g /dev/vg02
this will create a LV that will have the PEs distributed among all the disks in Distributed Extent Based Striping (which is different from the basic Striping as i have said in the earlier post).
yes if u want to increase this LV once u r exhuated of space on the PVs u will need to add 3 disks , else u will have to remove the -D n that is non -distibuted then u can extend this LV but u will not able to get this Distributed Extent again if u run a -D n once.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:40 AM
тАО01-15-2009 08:40 AM
Re: LVM
if u have been directly / indirectly helped by the posted relies please do nit forget to assign the points.
see this thread
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 10:22 AM
тАО01-15-2009 10:22 AM