04-03-2019
Disk alignment inside of an LDOM
Hi! Quick background for the question...
I have Solaris 11.4 control/primary zone with some LDOM's on top of it. I have some raw iSCSI LUN's presented to the control zone/primary zone from a NetApp, which I then pass up to the LDOM's via the VDS/vdisk. So basically the LDOM VM's see the disk as a local disk. (VM's are all Solaris 11.4). Disks are presented from the NetApp as the "Solaris" OS type (current Oracle docs say to NOT use "Solaris EFI" OS type regardless of disk size or partition type).
There are some best practices and docs out there from both Oracle and NetApp that require you to add some configurations to the vds.conf file to make sure disks are aligned.
I am able to align (and verify they are aligned via NetApp and zdb command) any new zpool's that I make on the VM, but here is the question...
How can I align the root pool? The root pool is created when I install Solaris, so unlike creating a new zpool where it takes the block settings from the vds.conf file, the root pool wont have these settings.
As it stands now the zdb command is telling me there is an ashift of 9 (instead of 12) and the NetApp lun alignment is saying "partial-writes".
Last edited by rtmg; 04-03-2019 at 08:39 AM..
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have a guy at work who is trying to copy and paste from one file to another using vi and highlighting the code to copy with a mouse.
Source file:
xyz 123 abc 999
zyx 321 cba 999
xyz 123 abc 999
But when he pastes it he gets (I put the underlines in to show... (4 Replies)
Discussion started by: dlam
4 Replies
2. Shell Programming and Scripting
Hi,
I am having a file with with format.
however, for longer xml, the xml code has been truncated like this.
F1 |###################### |String1 |<XML><REQ><MSGTYPE>DBDIRECT</MSGTYPE><SYNC>0</SYNC><CLIENT>C11</CLIENT>NAME=MYNAME|JOB=MYJOB|
| ... (3 Replies)
Discussion started by: shellwell
3 Replies
3. Solaris
I have viewed a few previous posts regarding this, but none of them quite described or worked with my issue.
I am out of local disk space on my LDOM Manager but still have plenty of SAN vCPU and Memory available so I am trying to install a new LDOM OS on SAN.
I have exposed the SAN to the... (0 Replies)
Discussion started by: MobileGSP
0 Replies
4. Solaris
Hi,
There is LDOM Guest where I need to expand /u02 file systems on it.
It is residing on a Solaris 11 Hypervisor (Primary Domain).
The storage is expanded on vdisk presented to Hypervisor.
I need steps to expand the /u02 on LDOM Guest. (2 Replies)
Discussion started by: vidya_sagar2003
2 Replies
5. Solaris
Generally, this is what we do:-
On primary, export 2 LUNs (add-vdsdev).
On primary, assign these disks to the ldom in question (add-vdisk).
On ldom, created mirrored zpool from these two disks.
On one server (which is older) we have:-
On primary, create mirrored zpool from the two LUNs.... (4 Replies)
Discussion started by: psychocandy
4 Replies
6. Solaris
I have a guest LDOM running Solaris 10U11 on a Sun T4-1 host running Solaris 11.4. The host has a disk named bkpool that I'd like to share with the LDOM so both can read and write it. The host is hemlock, the guest is sol10.
root@hemlock:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP ... (3 Replies)
Discussion started by: Michele31416
3 Replies
LEARN ABOUT DEBIAN
netapp::qtree
NetApp::Qtree(3pm) User Contributed Perl Documentation NetApp::Qtree(3pm)
NAME
NetApp::Qtree -- OO class for creating and managing qtrees
SYNOPSIS
use NetApp::Filer;
use NetApp::Qtree;
my $filer = NetApp::Filer->new( .... );
# Create a tree, with all options in one call
my $qtree = $filer->create_qtree(
name => "/vol/vol1/qtreename",
oplocks => 1,
mode => 0755,
security => 'unix',
);
# Alternately, you can create it, and then change things
my $qtree = $filer->create_qtree(
name => "/vol/vol1/qtreename",
mode => 0755,
);
# The mode must be set when created
$qtree->set_oplock(1);
$qtree->set_security('unix');
DESCRIPTION
This class encapsulates a single NetApp qtree, and provides methods for querying information about the qtree, as well as methods for
managing it.
METHODS
set_security( $security )
This method method takes a single argument, which is the security value to set on the qtree. It must have one of the following values:
unix
ntfs
mixed
get_security
Returns a string containing the current security setting of the qtree.
set_oplocks( $boolean )
This method takes a boolean argument, and sets the oplocks attribute of the qtree to "enabled" if the value is true, and "disabled" if the
value is false.
get_oplocks
Returns true is the oplocks are set to "enabled", false if they are set to "disabled".
get_status
Returns the status value for the qtree. It waill have the values such as:
normal
snapmirrored
get_id
Returns the qtree id.
get_vfiler
Returns the vfiler which owns the qtree. If vfilers are not licensed on the filer, this method will simply return a false value.
perl v5.14.2 2008-11-26 NetApp::Qtree(3pm)