Oracle Solaris 11.4 ZFS Device Removal Example One of the new features in the recent Solaris 11.4 release(that rely rocks), is, ZFS Device Removal. Below I am going to demonstrated one example, on how you can use ZFS Device Removal. The example below show how migrated a pool from raidz1 => mirrored pool. First, lets […]
Tag: storage
A brief history on Storage and what to expect in the future
I am always exploring the latest Storage landscape which keeps on changing. Below is a brief history of the storage market and what to expect in the future. First lets start with brief history of the storage market. What has changed in the storage market? The Enterprise Storage market used to be solely controlled by […]
Linux Disk Management – Multipath Management
Contents 1 Cofiguring Multipathing 1.1 Install Multipath Package. 1.2 Enable The Multipathing Service. 1.3 List Multipath Disks 2 Zoning FC On Linux 2.1 Find the WWN for the Ports 2.2 Issuing a LIP on the HBA 2.3 Fibre Channel Commands 3 Disk Configuration. 3.1 About Device Names And Paths In A Multipath Configuration 3.1.1 Physical […]
Solaris SPARC SAN Boot
1 2 |
After mirroring the device or zfs send install the bootblock installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0 |
First we need to get the lun paths, just run the below to get that
1 2 3 4 5 |
{0} ok show-disks a) /pci@500/pci@0/pci@c/SUNW,qlc@0,1/fp@0,0/disk b) /pci@500/pci@0/pci@c/SUNW,qlc@0/fp@0,0/disk c) /iscsi-hba/disk q) NO SELECTION |
Next get the disk id’s, just run the below to get that.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
{0} ok probe-scsi-all -- snip -- /pci@500/pci@0/pci@c/SUNW,qlc@0 QLogic QLE2462 Host Adapter FCode(SPARC): 2.01 03/27/08 Firmware version 4.03.01 Adapter portID - 120100 ************** Fabric Attached Devices ************** Dev# 6(6) PortID 120511 Port WWN 50060e80164e9d1a LUN ff(255) DISK HITACHI OPEN-V -SUN7003 LUN 100(256) DISK HITACHI OPEN-V -SUN7003 LUN 101(257) DISK HITACHI OPEN-V -SUN7003 LUN 102(258) DISK HITACHI OPEN-V -SUN7003 LUN 103(259) DISK HITACHI OPEN-V -SUN7003 LUN 104(260) DISK HITACHI OPEN-V -SUN7003 LUN 105(261) DISK HITACHI OPEN-V -SUN7003 LUN 106(262) DISK HITACHI OPEN-V -SUN7003 LUN 107(263) DISK HITACHI OPEN-V -SUN7003 LUN 108(264) DISK HITACHI OPEN-V -SUN7003 LUN 109(265) DISK HITACHI OPEN-V -SUN7003 LUN 10a(266) DISK HITACHI OPEN-V -SUN7003 LUN 10b(267) DISK HITACHI OPEN-V -SUN7003 --- this is the boot disk |
So the path is:
1 |
/pci@500/pci@0/pci@c/SUNW,qlc@0/fp@0,0/disk + @ + w50060e80164e9d1a + 10b:a (the a is because the / is in the s0 partition) |
Next lets try to boot, by running the below.
1 2 3 4 5 6 7 |
ok> boot /pci@500/pci@0/pci@c/SUNW,qlc@0/fp@0,0/disk@w50060e80164e9d1a,10b:a -svV Boot device: /pci@500/pci@0/pci@c/SUNW,qlc@0/fp@0,0/disk@w50060e80164e9d1a,10b:a File and args: -svV module /platform/SUNW,T5240/kernel/sparcv9/unix: text at [0x1000000, 0x10bd8b5] data at 0x1800000 module /platform/SUNW,T5240/kernel/sparcv9/genunix: text at [0x10bd8b8, 0x129c097] data at 0x18d7d00 module /platform/SUNW,T5240/kernel/misc/sparcv9/platmod: text at [0x129c098, 0x129c0af] data at 0x192ec38 module /platform/SUNW,T5240/kernel/cpu/sparcv9/SUNW,UltraSPARC-T2+: text at [0x129c0c0, 0x12a2147] data at 0x192f380SunOS Release 5.10 Version Generic_144488-04 64-bit |
You might also need to set the bootfs, you do […]
ZFS restapi – openstack
curl –user root:password -k https://zfssa.domain.com:215/api/storage/v1/pools/HP-pool/projects|python -m json.tool curl –user root:password -k -i https://zfssa.domain.com:215/api/system/v1/version OpenStack scripts https://blogs.oracle.com/yappri/entry/zfssa_cinder_driver
Matching ZFS Storage Block Size with Hitachi (HDS) Block Size
How to match Oracle ZFS appliance(ZFSSA) with VSP block size The example below uses a 1Tb lun size Starting Base block size for a 1Tb lun on Oracle ZFS Appliance(ZFSSA).
1 |
1099511627776 |
To match this with the VSP block size, this is what was used, it was 6291456 more.
1 |
1099517919232 = 1099511627776+6291456 (768*8192) |
On the VSP this is block […]
Moving Oracle database SPfile from 4k to 512b
SSD Arrays and using 4k blocks Some SSD arrays will perform badly or not work at all when used for Database files. The example below was used with a Violin Memory Array, but the same is can be any of the new SSD vendors. Note: The solution below will only work on Linux with asmlib […]
Modify Brocade Zones With The CLI
Modify Brocade Zones With The CLI Creating a new alias(s).
1 2 3 4 |
alicreate "cloud4_global_FAA","50:01:39:71:00:53:21:57" alicreate "cloud4_global_FAB","50:01:39:71:00:53:21:58" alicreate "hds_vsp_7a","50:06:0e:80:16:06:ac:60" |
Creating new zones, and adding to active zone set
1 2 3 4 |
zonecreate "cloud4_global_FA","hds_vsp_7a" zoneadd "cloud4_global_FA","cloud4_global_FAA" zonecreate "cloud4_global_FB","hds_vsp_7a" zoneadd "cloud4_global_FB","cloud4_global_FAB" |
Finally, Adding to the configuration, and enabling the config.
1 2 3 4 5 6 7 8 9 10 11 |
cfgadd "Active_zone_set","cloud4_global_FA" cfgadd "Active_zone_set","cloud4_global_FB" cfgenable Active_zone_set <pre> Example 2 Creating a new alias(s) <pre> alicreate "cloud4_global_FBA","50:01:39:71:00:52:E1:57" alicreate "cloud4_global_FBB","50:01:39:71:00:52:E1:58" alicreate "hds_vsp_8a","50:06:0e:80:16:06:ac:70" |
Creating new zones, and adding to active zone set
1 2 3 4 |
zonecreate "cloud4_global_FA","hds_vsp_8a" zoneadd "cloud4_global_FA","cloud4_global_FBA" zonecreate "cloud4_global_FB","hds_vsp_8a" zoneadd "cloud4_global_FB","cloud4_global_FBB" |
Finally, Adding to the configuration, and enabling the config.
1 2 3 |
cfgsave cfgenable Active_zone_set cfgactvshow |
9985 Port Layout
9985v fiber port layout 9985 physical fiber port layout
9985 power off process
How to Power off an HDS 9985 Push the door where it says push To power off press Enable + Off at the same time. To power on press Enable + On at the same time.