Site Search

Joomla Templates and Joomla Extensions by JoomlaVision.Com

Latest Topics

Joomla Templates and Joomla Extensions by JoomlaVision.Com

[VMAX]VMAX Replication Technoledge - IBM Storage Line Product Counterparts 

[VMAX]VMAX Single Point of Failure - Engine 

[VMAX] Understand VMAX Virtualisation layers 

[VMAX]What is new with VMAX? 

[VMAX] EMC VMAX - Some Key Points about VMAX 

Pre 1 2 3 4 5 Next

You are here: Home SAN/Storage NETAPP

[NETAPP]What is the process of creating Volume using CLI ?

PDFPrintE-mail

Here, we will discuss the process for creating FlexVol volume using CLI..
1. From the CLI prompt enter the Aggregate Status command.

fas01> aggr status

Aggr State Status Options

aggr0 online raid0, aggr root

fas01>

You will see that there is only aggr0 currently and the RAID type is raid0.


2. Check the spare disk and find out if there is enough spare disk available:

fas01> sysconfig -r

Aggregate aggr0 (online, raid0) (zoned checksums)

Plex /aggr0/plex0 (online, normal, active)

RAID group /aggr0/plex0/rg0 (normal)

 

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)

--------- ------ ------------- ---- ---- ---- ----- -------------- --------------

data v4.16 v4 1 0 FC:B - FCAL N/A 120/246784 127/261248

data v4.17 v4 1 1 FC:B - FCAL N/A 120/246784 127/261248

data v4.18 v4 1 2 FC:B - FCAL N/A 120/246784 127/261248

 

 

Spare disks

 

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)

--------- ------ ------------- ---- ---- ---- ----- -------------- --------------

Spare disks for zoned checksum traditional volumes or aggregates only

spare v4.19 v4 1 3 FC:B - FCAL N/A 120/246784 127/261248

spare v4.20 v4 1 4 FC:B - FCAL N/A 120/246784 127/261248

spare v4.21 v4 1 5 FC:B - FCAL N/A 120/246784 127/261248

spare v4.22 v4 1 6 FC:B - FCAL N/A 120/246784 127/261248

spare v4.24 v4 1 8 FC:B - FCAL N/A 120/246784 127/261248

spare v4.25 v4 1 9 FC:B - FCAL N/A 120/246784 127/261248

spare v4.26 v4 1 10 FC:B - FCAL N/A 120/246784 127/261248

spare v4.27 v4 1 11 FC:B - FCAL N/A 120/246784 127/261248

spare v4.28 v4 1 12 FC:B - FCAL N/A 120/246784 127/261248

spare v4.29 v4 1 13 FC:B - FCAL N/A 120/246784 127/261248

spare v4.32 v4 2 0 FC:B - FCAL N/A 120/246784 127/261248

spare v4.33 v4 2 1 FC:B - FCAL N/A 120/246784 127/261248

spare v4.34 v4 2 2 FC:B - FCAL N/A 120/246784 127/261248

spare v4.35 v4 2 3 FC:B - FCAL N/A 120/246784 127/261248

spare v4.36 v4 2 4 FC:B - FCAL N/A 120/246784 127/261248

spare v4.37 v4 2 5 FC:B - FCAL N/A 120/246784 127/261248

spare v4.38 v4 2 6 FC:B - FCAL N/A 120/246784 127/261248

spare v4.39 v4 2 7 FC:B - FCAL N/A 120/246784 127/261248

spare v4.40 v4 2 8 FC:B - FCAL N/A 120/246784 127/261248

spare v4.41 v4 2 9 FC:B - FCAL N/A 120/246784 127/261248

fas01>

fas01> aggr status

Aggr State Status Options

aggr0 online raid0, aggr root

fas01>


And in this example, next step we will create aggr1 using spare disk v4.19:v4.29.

3. Create aggr1 using spare disk v4.19:v4.29. Enter the command:

fas01> aggr create aggr1 -d v4.19 v4.20 v4.21 v4.22 v4.24 v4.25 v4.26 v4.27 v4.28 v4.29

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.29 Shelf 1 Bay 13 [NETAPP VD-100MB 0042] S/N [75461512] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.28 Shelf 1 Bay 12 [NETAPP VD-100MB 0042] S/N [75461511] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.27 Shelf 1 Bay 11 [NETAPP VD-100MB 0042] S/N [75461510] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.26 Shelf 1 Bay 10 [NETAPP VD-100MB 0042] S/N [75461409] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.25 Shelf 1 Bay 9 [NETAPP VD-100MB 0042] S/N [75461408] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.24 Shelf 1 Bay 8 [NETAPP VD-100MB 0042] S/N [75461407] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.22 Shelf 1 Bay 6 [NETAPP VD-100MB 0042] S/N [75461306] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.21 Shelf 1 Bay 5 [NETAPP VD-100MB 0042] S/N [75461305] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.20 Shelf 1 Bay 4 [NETAPP VD-100MB 0042] S/N [75461304] to aggregate aggr1 has completed successfully

Sun Aug 30 20:16:18 GMT [raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v4.19 Shelf 1 Bay 3 [NETAPP VD-100MB 0042] S/N [75461203] to aggregate aggr1 has completed successfully

Creation of an aggregate with 10 disks has completed.

fas01>


4. Now Validate the current volume status:

fas01> aggr status

Aggr State Status Options

aggr1 online raid_dp, aggr

aggr0 online raid0, aggr root

fas01>

fas01> df -Am

Aggregate total used avail capacity

aggr0 256MB 244MB 12MB 95%

aggr0/.snapshot 13MB 0MB 13MB 0%

aggr1 684MB 0MB 683MB 0%

aggr1/.snapshot 36MB 0MB 36MB 0%

fas01>


5. Next  Create volume 1 in aggregate 1 with 256MB in size using below command:
vol create vol1 aggr1 256m

fas01> vol create vol1 aggr1 256m

Creation of volume 'vol1' with size 256m on containing aggregate

'aggr1' has completed.

fas01>


Now Volume creation for vol1 is complete, next check status of vol1

fas01> vol status vol1 -v

Volume State Status Options

vol1 online raid_dp, flex nosnap=off, nosnapdir=off,

minra=off, no_atime_update=off,

nvfail=off,

ignore_inconsistent=off,

snapmirrored=off,

create_ucode=on,

convert_ucode=on,

maxdirsize=15360,

schedsnapname=ordinal,

fs_size_fixed=off,

compression=off,

guarantee=volume, svo_enable=off,

svo_checksum=off,

svo_allow_rman=off,

svo_reject_errors=off,

no_i2p=off,

fractional_reserve=100,

extent=off,

try_first=volume_grow,

read_realloc=off,

snapshot_clone_dependency=off

Containing aggregate: 'aggr1'

 

Plex /aggr1/plex0: online, normal, active

RAID group /aggr1/plex0/rg0: normal

 

Snapshot autodelete settings for vol1:

state=off

commitment=try

trigger=volume

target_free_space=20%

delete_order=oldest_first

defer_delete=user_created

prefix=(not specified)

destroy_list=none

Volume autosize settings:

state=off

fas01>


6. Display the disks used in a particular volume

fas01> vol status vol1 -d

Device HA SHELF BAY CHAN Disk Vital Product Information

---------- --------------- ----- ------------------------------

v4.19 v4 1 3 FC:B 75461203

v4.20 v4 1 4 FC:B 75461304

v4.21 v4 1 5 FC:B 75461305

v4.22 v4 1 6 FC:B 75461306

v4.24 v4 1 8 FC:B 75461407

v4.25 v4 1 9 FC:B 75461408

v4.26 v4 1 10 FC:B 75461409

v4.27 v4 1 11 FC:B 75461510

v4.28 v4 1 12 FC:B 75461511

v4.29 v4 1 13 FC:B 75461512

fas01>