- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lv distribution on pv
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
Forums
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
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-11-2001 01:36 AM
тАО05-11-2001 01:36 AM
I have to do a stranger configuration on a vg composed by:
2 18GB disks
3 4GB disks
I have to made
lvol1 8GB
lvol2 8GB
lvol3 8GB
lvol4 6GB
I have to mirror each lv
So, I cannot understand how each lv is distributed on pv and where mirror will be made
The system is 10.20.
Anybody can explane me how the system distributes all lv?
Regards
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 01:45 AM
тАО05-11-2001 01:45 AM
Re: lv distribution on pv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 01:56 AM
тАО05-11-2001 01:56 AM
Re: lv distribution on pv
2x 18GB = 36, 3x 4GB = 12, total 48 GB of disk.
You lvols listed (3x8 + 1x6) = 30 GB, to mirror them all you will need another 30 GB, ie. total 60 GB, and youve only got 48 GB, so youre 12 GB short to mirror it all !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 01:59 AM
тАО05-11-2001 01:59 AM
SolutionTo better understand how extents are allocated to each physical volume, take a look at the man pages for 'lvcreate'. These actually provide quite a good discussion.
The physical disks which will comprise your VG are of odd sizes so your options for spreading the extents across all of the disks will be restricted. Adding mirroring requirements further complicates the geometry of extents possible.
Simply put, using the default options of 'lvcreate' (in part, where the the distributed allocation policy is turned off), all available free extents are allocated from each available physical volume before proceeding to the next available physical volume. In some cases, it's desirable to deploy the '-D' (distibuted) option. When the distributed allocation policy is turned on, only one free extent is allocated from the first available physical volume. The next free extent is allocated from the next available physical volume. Allocation of free extents proceeds in round-robin order on the list of available physical volumes.
Remember that MirrorUX mirrors *logical volumes*.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 02:13 AM
тАО05-11-2001 02:13 AM
Re: lv distribution on pv
The configuration is
2x18GB
6x4GB disks: total 60GB
lv: 8GB - 8GB - 8GB - 6GB in mirror: total 60GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 02:41 AM
тАО05-11-2001 02:41 AM
Re: lv distribution on pv
Aha, thats better. Now you have 60 GB.
So, add all these disks into the same VG.
When you create your lvols assign them to a particular disk, eg. lvcreate -L
Do this for all your lvols. Once youre done you now know which disk your lvols are on. Lvdisplay -v /dev/vgxx/lvolxx will confirm this for you. Then when your done mirror each one in turn; lvextend -m 1 /dev/vgxx/lvolxx /dev/dsk/cxxxxx where the disk is a different disk to the one the lvol is on, and is the one you want to mirror to. Now an lvdisplay -v /dev/vgxx/lvolxx will list 2 disks, the first one being the primary, the 2nd the mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 02:54 AM
тАО05-11-2001 02:54 AM
Re: lv distribution on pv
I think you should create your lvols with stripping capacity.
I would do the following
"vgextend -g PVx vgxx /dev/dsk/cxtxdx /dev/dsk/cxtxdx ..." for 1 disk of 18GB and 3x4GB, then I would create the lvols with "lvcreate -i 4 -s g vgxx"
after all this you could extend the VG for the remaining disks wiht another PVG name, and then create the mirror.
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:00 AM
тАО05-11-2001 03:00 AM
Re: lv distribution on pv
this is a good idea!!
But, I think it's a lot expensive for the system (a class D server, dual 180Mhz) doing a mirrored striped volume.
What do u think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:16 AM
тАО05-11-2001 03:16 AM
Re: lv distribution on pv
the striping capacity will Improve your performance. By spreading the information through the disks, it will make I/O to be faster.
RAID-0
"Although it does not provide redundancy, striping is often referred to as a form of RAID, known as RAID-0. The Volume Manager's implementation of striping is described in the "Introduction to Volume Manager" chapter of the VERITAS Volume Manager Administrator's Guide . RAID-0 offers a high data transfer rate and high I/O throughput, but suffers lower reliability and availability than a single disk. "
About redundancy, you don't have any problem if you're using mirror.
good luck once more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:20 AM
тАО05-11-2001 03:20 AM
Re: lv distribution on pv
Thanks for the points, but you should not forget the others, they may not have help you as you wanted, but they tried.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:21 AM
тАО05-11-2001 03:21 AM
Re: lv distribution on pv
Can anyone prove me wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:24 AM
тАО05-11-2001 03:24 AM
Re: lv distribution on pv
I'm connected by modem cable....
I know stripe increase I/O rate, but I think on lower systems are expensive for cpu...
I assigned point to all, but vincenzo in each question reply not very well and most of times he do just a copy-past of other docs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:35 AM
тАО05-11-2001 03:35 AM
Re: lv distribution on pv
about the points, thanks for the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 03:53 AM
тАО05-11-2001 03:53 AM
Re: lv distribution on pv
I think to mirror a striped lvol is expensive (if possible to do)
Thanks to all
Regards
Roberto
PS: now I open new question for mirroring a striped lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2001 06:01 AM
тАО05-11-2001 06:01 AM
Re: lv distribution on pv
oficially, it's unsupported. Real world you can do some form of striped mirrors. Nothing can prevent you from doing the following.
Disk = A B C D
Mirror= 1 2 3 4
extent your LV with the first extend to A.
mirror that extent to 1
extend the LV with the next extent to B
mirror the LV to 2
extend to C
mirror to 3
extend to D
mirror to 4
.
.
.
You may not be able to get to the extent size of Kilobytes like normal, but it's better than nothing. Script it and it's easy to do. Especially with large raw partitions. I've done it and have not had problems, and I'm sure other methods exist.