Unix/Linux Go Back    


Solaris 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

Solaris


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-19-2018   -   Original Discussion by psychocandy
psychocandy's Unix or Linux Image
psychocandy psychocandy is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 27 April 2018, 10:35 AM EDT
Posts: 94
Thanks: 25
Thanked 1 Time in 1 Post
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
Sponsored Links
    #2  
Old Unix and Linux 04-19-2018   -   Original Discussion by psychocandy
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 27 May 2018, 11:52 PM EDT
Posts: 1,178
Thanks: 32
Thanked 358 Times in 309 Posts
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 (4 Weeks Ago)
Sponsored Links
    #3  
Old Unix and Linux 4 Weeks Ago   -   Original Discussion by psychocandy
psychocandy's Unix or Linux Image
psychocandy psychocandy is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 27 April 2018, 10:35 AM EDT
Posts: 94
Thanks: 25
Thanked 1 Time in 1 Post
Quote:
Originally Posted by Peasant View Post
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 Unix and Linux 4 Weeks Ago   -   Original Discussion by psychocandy
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 27 May 2018, 11:52 PM EDT
Posts: 1,178
Thanks: 32
Thanked 358 Times in 309 Posts
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 (4 Weeks Ago)
Sponsored Links
    #5  
Old Unix and Linux 4 Weeks Ago   -   Original Discussion by psychocandy
psychocandy's Unix or Linux Image
psychocandy psychocandy is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 27 April 2018, 10:35 AM EDT
Posts: 94
Thanks: 25
Thanked 1 Time in 1 Post
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)
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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
ZFS rpool physical disk move Metasin Solaris 1 02-02-2013 10:29 AM
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
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 04:28 AM.