Subscribe
Accepted Solution

possible to remove particular raid group from production aggregate

 

Hi,

 

I have some queries on shrink aggregate and please find my below queries 

 

1, I want to delete particular raid group from production aggregate 

2, Remove one HDD from production aggregate 

 

For example,

 

sbajai1::> aggr show -aggregate Test_aggr -r

Owner Node: sbajai1-01
Aggregate: Test_aggr (online, raid_dp) (block checksums)
Plex: /Test_aggr/plex0 (online, normal, active, pool0)
RAID Group /Test_aggr/plex0/rg0 (normal, block checksums)
Usable Physical
Position Disk Pool Type RPM Size Size Status
-------- --------------------------- ---- ----- ------ -------- -------- ----------
dparity NET-1.53 0 FCAL 15000 3.93GB 3.93GB (normal)
parity NET-1.39 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.17 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.13 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.54 0 FCAL 15000 3.93GB 3.93GB (normal)

RAID Group /Test_aggr/plex0/rg1 (normal, block checksums)
Usable Physical
Position Disk Pool Type RPM Size Size Status
-------- --------------------------- ---- ----- ------ -------- -------- ----------
dparity NET-1.40 0 FCAL 15000 3.93GB 3.93GB (normal)
parity NET-1.18 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.55 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.24 0 FCAL 15000 3.93GB 3.93GB (normal)
data NET-1.41 0 FCAL 15000 3.93GB 3.93GB (normal)
10 entries were displayed.

 

In this aggregate, I have two raid group rg0 and rg1. Each raid group size is 10.59GB and total aggregate size is 21.09GB and total usage is 2GB.

It is possible to remove particular RG from this Test aggregate. If possible can you tell me the procedure for how to do this

Also possible to remove the particular disk from aggregate.

 

Regards,

Manikandan S

 

Re: possible to remove particular raid group from production aggregate

You can't shrink an aggregate, or remove a raidgroup from an aggregate, without destroying the aggregate.  Removing a particular disk is possible by doing a disk replace, but that doesn't shrink the aggregate, it just swaps one disk for another.

 

 

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.