Create Pool


 
Thread Tools Search this Thread
Operating Systems Solaris Create Pool
# 1  
Old 04-17-2017
Create Pool

Assuming we have a server with 8 hdd, using raid5. After applying raid5 to the disk, solaris 11 will be install.

In my understanding, 8 hdd will represent 1disk(pls correct me if I'm wrong) and have one pool(rpool).

Using raid5 for 8hdd, could it be possible to have multiple pool? My objectives are:
1. Install OS in rpool
2. Install oracle software and create database in a separate pool.

Thank you
# 2  
Old 04-17-2017
The rpool can only be a mirror (raid1). You can have different pools for what you described. You just have to keep in mind that your raid decision is good for your performance and safety needs!

Last edited by DukeNuke2; 04-17-2017 at 08:14 PM..
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 04-17-2017
Hi Sir,

You mean, I can have disk in raid1 for the 2hdd(rpool) and have another disk in raid5 for the remaining 6hdd?

Thank you

Moderator's Comments:
Mod Comment No need to quote if you answer to the post just above your post!

Last edited by DukeNuke2; 04-17-2017 at 08:11 PM..
# 4  
Old 04-17-2017
If that is what you want to do, yes you can do that. Still, is a raid5 a good performance/safety decision?
This User Gave Thanks to DukeNuke2 For This Post:
# 5  
Old 04-18-2017
Quote:
Originally Posted by DukeNuke2
If that is what you want to do, yes you can do that. Still, is a raid5 a good performance/safety decision?
Hi Sir,

Raid5 was suggested by our sysad since it was the common used in our windows server. In my understanding, its safe, unless two disk got damage.

Any suggestion Sir?
# 6  
Old 04-18-2017
Hi flexi,
Firstly , we must know the your hardware system ?
Maybe we can determine best choice for your needs to that.

if your system x86 arch maybe you can try "LSI or other Logic Configuration Utility Console " which appears in the boot stages..

You assume 8 disks , but has your system contains these from local or san ?
if your all disks has local ( SAS / Sata .. ) , then what is the your critical data ? ( database )
all disks are at the same or size ?

Yes , Raid5 can be good choice or maybe not for avaliable disk space or security requirements.
That can change to your needs.
For exa : you want to create hard raid 5 vol with 6 disks at size 300 GB. ( security : with "1 disk" failure )
then your avaliable space ( n x size -1 x size ) = 6 x 300 - 1 x 300 ( for total parity size ) = 1500 GB

So at the reality , what is your systems for solaris ( oracle sparc / x86 / non-oracle x86 .. )
in Sparc systems LSI raid controllers does not support for raid 5
if you will be use zfs , then you can use software raid with zfs ( zpool )


For exa :
Now i can say what i do with 6 disk in my sparc hardware.

( note : Raid Controller Support = ( 0, 1, 1e, 10 ) )


* We have 6 disks on the two raid controller..


* 4 disk for RAID 1E ( security two disk in teory but may be "one disk" to controller !! )
-----------------------------------------------------------------------------------------
( * You can create similiar this volume with your 6 disks )


( boot prompt )

Code:
{0} ok select /pci@300/pci@1/pci@0/pci@2/scsi@0
{0} ok show-children 

FCode Version 1.00.61, MPT Version 2.00, Firmware Version 9.00.00.00

Target 9 
  Unit 0   Disk   HITACHI  H109030SESUN300G A31A    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01641b6c8  SASAddress 5000cca01641b6c9  PhyNum 0 

Target a 
  Unit 0   Removable Read Only device   TEAC     DV-W28SS-W       1.0A
  SATA device  PhyNum 7 

Target b 
  Unit 0   Disk   HITACHI  H109030SESUN300G A31A    585937500 Blocks, 300 GB
  SASDeviceName 5000cca01642c8c0  SASAddress 5000cca01642c8c1  PhyNum 1 

Target c 
  Unit 0   Disk   HITACHI  H109030SESUN300G A31A    585937500 Blocks, 300 GB
  SASDeviceName 5000cca016422b48  SASAddress 5000cca016422b49  PhyNum 2 

Target d 
  Unit 0   Disk   HITACHI  H109030SESUN300G A31A    585937500 Blocks, 300 GB
  SASDeviceName 5000cca0164271b8  SASAddress 5000cca0164271b9  PhyNum 3



* create 4 disk with RAID 1E volume ( vol1 ) --> For your database pool

Code:
{0} ok 9 b c d create-raid1e-volume              --> Create RAID 1E ( Mirroring Extending ( + Stripped ) = Striped and Mirrored disk array )

Target 9 size is 583983104 Blocks, 298 GB
Target b size is 583983104 Blocks, 298 GB
Target c size is 583983104 Blocks, 298 GB
Target d size is 583983104 Blocks, 298 GB
The volume can be any size from 1 MB to 570296 MB			

What size do you want?  [570296] 
Volume size will be 1167966208 Blocks, 597 GB			--> 4 X 300 /2 = 600 GB disk space
Enter a volume name:  [0 to 15 characters] vol1
Volume has been created

Code:
{0} ok unselect-dev



* After apply this , check volume :
---------------------------------------

Code:
{0} ok select /pci@300/pci@1/pci@0/pci@2/scsi@0

Code:
{0} ok show-volumes
Volume 0 Target 381  Type RAID1E (Mirroring Extended)

  Name vol1  WWID 011ebf1128d9fdcd
  Optimal  Enabled  Volume Not Consistent  Background Init In Progress 

  4 Members                                         1167966208 Blocks, 597 GB
  Disk 3 
    Member 0  Optimal 
    Target 9      HITACHI  H109030SESUN300G A31A   PhyNum 0 

  Disk 2 
    Member 1  Optimal 
    Target b      HITACHI  H109030SESUN300G A31A   PhyNum 1 

  Disk 1 
    Member 2  Optimal 
    Target c      HITACHI  H109030SESUN300G A31A   PhyNum 2 

  Disk 0 
    Member 3  Optimal 
    Target d      HITACHI  H109030SESUN300G A31A   PhyNum 3


* If raid volume is "inactive" state then starts
Code:
{0} ok 0 activate-volume
Volume 0 is now activated

Code:
{0} ok unselect-dev

-> Now first Raid volume ( vol1 ) is Ready..




2-) The other 2 disk with RAID1 ( via the other Raid Controller port )

* Select the disk and create hard raid.

....
....

Code:
{0} ok 9 a create-raid1-volume			--> RAID 1 Mirror for Operating System ( security one disk )
....
.... same operations..


-> Now first Raid volume ( vol2 ) is Ready..


* Raid operations completed..



* I installed the Solaris OS on the this volume ( vol2 ) at the Disk Select Menu..

* when system is on :


vol2 ( in 2 disk with size 559 with RAID 1 ) ---> 2 X 559 /2 = 556 GB in OS
----------------------------------------------

Code:
# zpool list rpool 
NAME   SIZE  ALLOC  FREE  CAP  DEDUP  HEALTH  ALTROOT
rpool  556G   108G  448G  19%  1.00x  ONLINE  -


# zpool status rpool
  pool: rpool
 state: ONLINE
  scan: none requested
config:

        NAME                       STATE     READ WRITE CKSUM
        rpool                      ONLINE       0     0     0
          c6t3B347FFD52B27CEFd0s0  ONLINE       0     0     0

errors: No known data errors


Code:
# echo|format|nawk '/c6t3B347FFD52B27CEFd0/{a=$0;getline;print a RS $0;exit}'
     533. c6t3B347FFD52B27CEFd0 <LSI-Logical Volume-3000 cyl 35701 alt 2 hd 256 sec 128>  local02   --> ( vol2 )
          /pci@3c0/pci@1/pci@0/pci@2/scsi@0/iport@v0/disk@w3b347ffd52b27cef,0


Code:
# prtdiag|nawk '/SASHBA/{a=$0;getline;print a RS $0;}'
/SYS/MB/SASHBA0   PCIE  scsi-pciex1000,87                 LSI,2308_2 8.0GT/x4   8.0GT/x4
                        /pci@300/pci@1/pci@0/pci@2/scsi@0
/SYS/MB/SASHBA1   PCIE  scsi-pciex1000,87                 LSI,2308_2 8.0GT/x4   8.0GT/x4			--> ( raid controller port for vol2 )
                        /pci@3c0/pci@1/pci@0/pci@2/scsi@0

note : my raid LSI controller(s) does not support other raid levels ( eg : raid5.. )

Code:
# raidconfig list all -v|grep Support
 Supported RAID Levels: 0, 1, 1E
 Supported RAID Levels: 0, 1, 1E


regards
ygemici
This User Gave Thanks to ygemici For This Post:
# 7  
Old 04-19-2017
Thank you ygemici Smilie

Code:
Hi flexi,
Firstly , we must know the your hardware system ? 
Maybe we can determine best choice for your needs to that

.

The choice was a HP Proliant server.


Code:
if your system x86 arch maybe you can try "LSI or other Logic Configuration Utility Console " which appears in the boot stages..

Yes, this is the plan to raid the disks. Can I have multiple pool using this?

Code:
You assume 8 disks , but has your system contains these from local or san ?

From local only.


Code:
if your all disks has local ( SAS / Sata .. ) , then what is the your critical data ? ( database )

The main purpose of this new server is for development and disaster recovery testing. We have a separate production/live system for our database.

Code:
all disks are at the same or size ?

Yes, same size (1.2GB)

Regards,
flexi

Moderator's Comments:
Mod Comment please stop quoting the last post in your own follow up posts!

Last edited by DukeNuke2; 04-19-2017 at 09:13 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Beadm create -p on another pool - making sense of it

Hi all, I am trying out Solaris 11.3 Realize the option of -p when using beadm that i can actually create another boot environment on another pool. root@Unicorn6:~# beadm create -p mypool solaris-1 root@Unicorn6:~# beadm list -a BE/Dataset/Snapshot Flags... (1 Reply)
Discussion started by: javanoob
1 Replies

2. Solaris

Zpool with 3 2-way mirrors in a pool

I have a single zpool with 3 2-way mirrors ( 3 x 2 way vdevs) it has a degraded disk in mirror-2, I know I can suffer a single drive failure, but looking at this how many drive failures can this suffer before it is no good? On the face of it, I thought that I could lose a further 2 drives in each... (4 Replies)
Discussion started by: fishface
4 Replies

3. BSD

Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset

I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: # zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset # zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or... (3 Replies)
Discussion started by: bstring
3 Replies

4. Solaris

Do I need a pool before I can mirror my disks?

Hi! I would also like to know if I need first to create a pool before I can mirror my disks inside that pool. My first disk is c7t0d0s0 and my second disk is c7t2d0s0 as seen in the figure below. I would create a pool named rpool1 for this 2 disks. # zpool create rpool1 c7t0d0p0 c7t2d0p0 ... (18 Replies)
Discussion started by: CarlosP
18 Replies

5. Solaris

not able to use pool

i have this pool1 on my sun4u sparc machine bash-3.00# zpool get all pool1 NAME PROPERTY VALUE SOURCE pool1 size 292G - pool1 used 76.5K - pool1 available 292G - pool1 capacity 0% -... (1 Reply)
Discussion started by: Sojourner
1 Replies

6. Solaris

zfs pool migration

I need to migrate an existing raidz pool to a new raidz pool with larger disks. I need the mount points and attributes to migrate as well. What is the best procedure to accomplish this. The current pool is 6x36GB disks 202GB capacity and I am migrating to 5x 72GB disks 340GB capacity. (2 Replies)
Discussion started by: jac
2 Replies

7. Solaris

ZFS pool question

I created a pool the other day. I created a 10 gig files just for a test, then deleted it. I proceeded to create a few files systems. But for some reason the pool shows 10% full, but the files systems are both at 1%? Both files systems share the same pool. When I ls -al the pool I just... (6 Replies)
Discussion started by: mrlayance
6 Replies

8. Infrastructure Monitoring

zfs - migrate from pool to pool

Here are the details. cnjr-opennms>root$ zfs list NAME USED AVAIL REFER MOUNTPOINT openpool 20.6G 46.3G 35.5K /openpool openpool/ROOT 15.4G 46.3G 18K legacy openpool/ROOT/rds 15.4G 46.3G 15.3G / openpool/ROOT/rds/var 102M ... (3 Replies)
Discussion started by: pupp
3 Replies

9. Solaris

project vs pool vs use

hi, i am looking for a tool to see how many CPUs, controlled by FSS inside a pool, a project used over some time.... i have a 20k with several zones inside some pools. the cpu-sets/pools are configured with FSS and the zones with different shares. Inside the zones, i use projects with FSS... (2 Replies)
Discussion started by: pressy
2 Replies

10. IP Networking

connection pool

Hi; Can someone please explain how do connections differ from threads? or a link to a good site about connection pooling and how threads are utilized by the OS. Thanks (1 Reply)
Discussion started by: suntan
1 Replies
Login or Register to Ask a Question