Volume create with different types of guarantees

In the volume management of NetApp FAS solution, there are types of volume space guarantees.

Which will be the concern when the appliance is designed.

But there’s still some questions for me.

na-lab> aggr status -s

# Verify which disks are available
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.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

na-lab> df -A

# Verify the aggregate status
# There is only one
existing
aggregate.

Aggregate               kbytes       used      avail capacity
aggr0                   525312     258296     267016      49%
aggr0/.snapshot          27648          0      27648       0%

na-lab> aggr create aggr1 -d v4.22 v4.24 v4.25

# Create a new aggregate which is named “aggr1”.

Wed Apr 28 02:12:23 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 [67130508] to aggregate aggr1 has completed successfully
Wed Apr 28 02:12:23 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 [67130507] to aggregate aggr1 has completed successfully
Wed Apr 28 02:12:23 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 [67130406] to aggregate aggr1 has completed successfully
Creation of an aggregate with 3 disks has completed.
Wed Apr 28 02:12:23 GMT [wafl.vol.add:notice]: Aggregate aggr1 has been added to the system.

na-lab> aggr status -r

#Verify the new created aggregate.

Aggregate aggr1 (online, raid_dp) (zoned checksums)
Plex /aggr1/plex0 (online, normal, active)
RAID group /aggr1/plex0/rg0 (normal)

RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
——— ——  ————- —- —- —- —– ————–    ————–
dparity   v4.22   v4    1   6   FC:B   –  FCAL  N/A  120/246784        127/261248
parity    v4.24   v4    1   8   FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.25   v4    1   9   FC:B   –  FCAL  N/A  120/246784        127/261248

Aggregate aggr0 (online, raid4) (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)
——— ——  ————- —- —- —- —– ————–    ————–
parity    v4.32   v4    2   0   FC:B   –  FCAL  N/A  120/246784        127/261248
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

RAID group /aggr0/plex0/rg1 (normal)

RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
——— ——  ————- —- —- —- —– ————–    ————–
parity    v4.33   v4    2   1   FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.19   v4    1   3   FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.20   v4    1   4   FC:B   –  FCAL  N/A  120/246784        127/261248
data      v4.21   v4    1   5   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.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

na-lab> df -A

# Verify the aggregate space.

Aggregate               kbytes       used      avail capacity
aggr0                   525312     258296     267016      49%
aggr0/.snapshot          27648          0      27648       0%
aggr1                    87552         72      87480       0%
aggr1/.snapshot           4608          0       4608       0%

na-lab> df -V

# Verify the volume space before volumes being created.
# There is only one volume.

Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol0/              256000     145488     110512      57%  /vol/vol0/
/vol/vol0/.snapshot          0          0          0     —%  /vol/vol0/.snapshot

na-lab> vol create none -s none aggr1 20m

# Create a volume named none with the type of guarantees – “none”.

Wed Apr 28 02:33:47 GMT [vol.language.changed:info]: Language on volume none changed to zh_TW.UTF-8

The new language mappings will be available after reboot
Wed Apr 28 02:33:47 GMT [vv_config_worker:notice]: XL – Language of Volume none has been changed to zh_TW.UTF-8.
Creation of volume ‘none’ with size 20m on containing aggregate
‘aggr1’ has completed.

na-lab> df -A

# Verify the space of aggregate after the none guarantee volume.

Aggregate               kbytes       used      avail capacity
aggr0                   525312     258296     267016      49%
aggr0/.snapshot          27648          0      27648       0%
aggr1                    87552        720      86832       1%
aggr1/.snapshot           4608          0       4608       0%

na-lab> df -V

# Verify the space of the new created volume “none”

Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol0/              256000     146108     109892      57%  /vol/vol0/
/vol/vol0/.snapshot          0          0          0     —%  /vol/vol0/.snapshot
/vol/none/               16384        156      16228       1%  /vol/none/
/vol/none/.snapshot       4096          0       4096       0%  /vol/none/.snapshot

na-lab> vol create volume -s volume aggr1 20m

# Create another volume “volume” with the default guarantee type.

Wed Apr 28 02:35:20 GMT [vol.language.changed:info]: Language on volume volume changed to zh_TW.UTF-8

The new language mappings will be available after reboot
Wed Apr 28 02:35:20 GMT [vv_config_worker:notice]: XL – Language of Volume volume has been changed to zh_TW.UTF-8.
Creation of volume ‘volume’ with size 20m on containing aggregate
‘aggr1’ has completed.

na-lab> df -A

# Verify the space of aggregate after the guarantee volume.

Aggregate               kbytes       used      avail capacity
aggr0                   525312     258300     267012      49%
aggr0/.snapshot          27648          0      27648       0%
aggr1                    87552      21420      66132      24%
# The space of the volume has been pre-allocated.
aggr1/.snapshot           4608          0       4608       0%

na-lab> df -V

# Verify the space of the new created volume “volume”.

Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol0/              256000     146144     109856      57%  /vol/vol0/
/vol/vol0/.snapshot          0          0          0     —%  /vol/vol0/.snapshot
/vol/none/               16384        156      16228       1%  /vol/none/
/vol/none/.snapshot       4096          0       4096       0%  /vol/none/.snapshot
/vol/volume/             16384        156      16228       1%  /vol/volume/
/vol/volume/.snapshot       4096          0       4096       0%  /vol/volume/.snapshot

na-lab> vol create file -s file aggr1 20m

# Create another volume “file” with the “File” guarantee type.

Wed Apr 28 02:36:25 GMT [vol.language.changed:info]: Language on volume file changed to zh_TW.UTF-8

The new language mappings will be available after reboot
Wed Apr 28 02:36:25 GMT [vv_config_worker:notice]: XL – Language of Volume file has been changed to zh_TW.UTF-8.
Creation of volume ‘file’ with size 20m on containing aggregate
‘aggr1’ has completed.

na-lab> df -A

# Verify the space of aggregate after the “File-based” guarantee volume.

Aggregate               kbytes       used      avail capacity
aggr0                   525312     258296     267016      49%
aggr0/.snapshot          27648          0      27648       0%
aggr1                    87552      22048      65504      25%
aggr1/.snapshot           4608          0       4608       0%

na-lab> df -V

# Verify the space of the new created volume “file”.

Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol0/              256000     146168     109832      57%  /vol/vol0/
/vol/vol0/.snapshot          0          0          0     —%  /vol/vol0/.snapshot
/vol/none/               16384        156      16228       1%  /vol/none/
/vol/none/.snapshot       4096          0       4096       0%  /vol/none/.snapshot
/vol/volume/             16384        156      16228       1%  /vol/volume/
/vol/volume/.snapshot       4096          0       4096       0%  /vol/volume/.snapshot
/vol/file/               16384        156      16228       1%  /vol/file/
/vol/file/.snapshot       4096          0       4096       0%  /vol/file/.snapshot

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *