Home Man
Search
Today's Posts
Register

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Exporting physical disk to ldom or ZFS volume

Tags
solaris

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 04-19-2018
Exporting physical disk to ldom or ZFS volume

Generally, this is what we do:-
  1. On primary, export 2 LUNs (add-vdsdev).
  2. On primary, assign these disks to the ldom in question (add-vdisk).
  3. On ldom, created mirrored zpool from these two disks.

On one server (which is older) we have:-
  1. On primary, create mirrored zpool from the two LUNs.
  2. On primary, assign this zfs disk to the ldom in question (add-vdisk).
  3. On ldom, create single disk zpool from this.

On this one server we're getting performance issues. I've heard that doing it this way (i.e. mirrored zfs on primary and exporting this) is not the best way to do it and will create an overhead?

Is this true? Or doesn't it make any difference?

Last edited by rbatte1; 04-19-2018 at 05:50 AM.. Reason: Converted textual numberd lists to formatted numbered lists with LIST=1 tags
# 2  
Old 04-19-2018
In the second example, are you using ZVOLs ?

Using zvols is not so good performance wise.
You are adding additional layers without need.

If not, can you explain with a bit more detail how are you exporting mirrored zpool from primary to ldom ?

In the first example, you are doing things properly.

An output of the following commands would be useful :
Code:
ldm list -l <slow_perf_ldom>
ldm list-services

The Following User Says Thank You to Peasant For This Useful Post:
psychocandy (04-24-2018)
# 3  
Old 04-24-2018
Quote:
Originally Posted by Peasant
In the second example, are you using ZVOLs ?

Using zvols is not so good performance wise.
You are adding additional layers without need.

If not, can you explain with a bit more detail how are you exporting mirrored zpool from primary to ldom ?

In the first example, you are doing things properly.

An output of the following commands would be useful :
Code:
ldm list -l <slow_perf_ldom>
ldm list-services

Yes ZVOLS....

We've managed to get rid of this now. Heres what we did:-

1. Added new LUN as vdisk to existing (exported zvol) on ldom as a mirrored disk. (Took a LONG time to resilver - which shows how slow the disk is).

2. Added another LUN as vdisk to create 3 way mirror (this was faster).

3. Dropped the old zvol from the mirror.

Performance is now MASSIVELY much faster.

Understand its not ideal to use the zvol but I can't see anything in manual which says its this bad.
# 4  
Old 04-24-2018
It's not inherently bad, just slower.
And adding additional layer will cause you more prone to bugs.
Which exist for zvol performance.
It has its uses, but probably not for scenario you are in.

Keep it simple and closest to hardware you can get.

Question is, what is that ldom being used for and what release are you running ?

Regards
Peasant.
The Following User Says Thank You to Peasant For This Useful Post:
psychocandy (04-27-2018)
# 5  
Old 04-27-2018
Solaris 10 ldom version 2.2 for the control domain.
Probably should upgrade to Solaris 11.3 I guess.

The ldom in question is also Solaris 10. There may be an application reason for this.

Its a web server mainly though running apache (there are two servers load balanced)
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Logical Volume to physical disk mapping jimthompson Linux 2 01-10-2014 12:44 PM
Position of the logical volume on the physical volume adilyos AIX 11 01-17-2013 02:53 PM
Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition kashifsd17 UNIX for Dummies Questions & Answers 6 07-06-2012 04:19 PM
Ldom OS on SAN based zfs volume fugitive Solaris 16 08-26-2009 05:27 PM
List all resources on physical host LDOM server stephanpitts Solaris 5 06-17-2009 09:05 AM
Unmount and remove all Logical vol.Volume group and physical disk joeli HP-UX 3 01-27-2009 09:59 AM
Basic Filesystem / Physical Volume / Logical Volume Check chipahoys AIX 1 12-02-2008 07:05 AM
Physical volume- no free physical partitions markper UNIX for Dummies Questions & Answers 9 01-09-2007 01:00 PM
Error on HACMP5.3 volume group on raw devices after exporting vg cris1357 AIX 3 12-05-2006 03:04 AM
physical volume and physical disk. VeroL UNIX for Dummies Questions & Answers 2 01-22-2004 09:32 AM


All times are GMT -4. The time now is 01:31 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password