ONTAP Discussions

Flexclone - busy,vclone

todd_horne
19,212 Views

I have a series of snapshots for say 15 days, for some reason I have one that is much older and it's "Dependecy" says its, "busy,vclone." I can't seem to figure out how to remove this snapshot or determine where its connected. Any ideas?

Thanks!

1 ACCEPTED SOLUTION

sinhaa
19,090 Views

Do the following:

1. vol status <volume_name> . This will give you the clones created for this particular volumes and the common snapshot ( which was used to create the clone).

e.g.

f6070-184-100> vol status testnas
         Volume State           Status            Options
        testnas online          raid4, flex       snapmirrored=on, create_ucode=on,
                                snapmirrored      convert_ucode=on,
                                read-only         maxdirsize=167690,
                                64-bit            fs_size_fixed=on
                Volume has clones: testnas_clone1
                         Volume UUID: 6fa3bbc2-aeed-11df-ac32-00a09805f64a
                Containing aggregate: 'TestAggr1'
f6070-184-100>

2. To see the common snapshot ( which was used to create the volume)

f6070-184-100> vol status testnas_clone1
         Volume State           Status            Options
testnas_clone1 online          raid4, flex       snapmirrored=on, create_ucode=on,
                                snapmirrored      convert_ucode=on,
                                read-only         maxdirsize=167690,
                                64-bit            fs_size_fixed=on
                Clone, backed by volume 'testnas', snapshot 'clone_testnas_clone1.1'
                         Volume UUID: 976ef572-aeed-11df-ac32-00a09805f64a
                Containing aggregate: 'TestAggr1'
f6070-184-100>

3. you can also see the snap list for the volume and it will show busy.

snap list <volume_name>

e.g.

f6070-184-100> snap list testnas
Volume testnas
working...

  %/used       %/total  date          name
----------  ----------  ------------  --------
  0% ( 0%)    0% ( 0%)  Aug 21 19:33  f6070-184-100(0118044771)_testnas.1
28% (28%)    0% ( 0%)  Aug 21 18:57  clone_testnas_clone1.1 (busy,vclone)

4. If you are interested in deleting this snapshot, do a clone split

vol clone split start <vol-name>

I hope this helps.

warm regards,

Abhishek

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

View solution in original post

6 REPLIES 6

adaikkap
19,090 Views

vol status -v <volname> will tell you what are the volume clones to this flex vol and its dependency using which you can identify this snapshot.

Regards

adai

sinhaa
19,091 Views

Do the following:

1. vol status <volume_name> . This will give you the clones created for this particular volumes and the common snapshot ( which was used to create the clone).

e.g.

f6070-184-100> vol status testnas
         Volume State           Status            Options
        testnas online          raid4, flex       snapmirrored=on, create_ucode=on,
                                snapmirrored      convert_ucode=on,
                                read-only         maxdirsize=167690,
                                64-bit            fs_size_fixed=on
                Volume has clones: testnas_clone1
                         Volume UUID: 6fa3bbc2-aeed-11df-ac32-00a09805f64a
                Containing aggregate: 'TestAggr1'
f6070-184-100>

2. To see the common snapshot ( which was used to create the volume)

f6070-184-100> vol status testnas_clone1
         Volume State           Status            Options
testnas_clone1 online          raid4, flex       snapmirrored=on, create_ucode=on,
                                snapmirrored      convert_ucode=on,
                                read-only         maxdirsize=167690,
                                64-bit            fs_size_fixed=on
                Clone, backed by volume 'testnas', snapshot 'clone_testnas_clone1.1'
                         Volume UUID: 976ef572-aeed-11df-ac32-00a09805f64a
                Containing aggregate: 'TestAggr1'
f6070-184-100>

3. you can also see the snap list for the volume and it will show busy.

snap list <volume_name>

e.g.

f6070-184-100> snap list testnas
Volume testnas
working...

  %/used       %/total  date          name
----------  ----------  ------------  --------
  0% ( 0%)    0% ( 0%)  Aug 21 19:33  f6070-184-100(0118044771)_testnas.1
28% (28%)    0% ( 0%)  Aug 21 18:57  clone_testnas_clone1.1 (busy,vclone)

4. If you are interested in deleting this snapshot, do a clone split

vol clone split start <vol-name>

I hope this helps.

warm regards,

Abhishek

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

todd_horne
19,090 Views

The commands listed in both posts were perfect. I tracked down the linked clone and I am going to kill it. Thanks for the help guys!

RICKYLAO
19,090 Views

Thank you for the information. One additional question;

Is it require un-mount the volume (after clone split) in order to delete it?

Thanks again!

GrycksboIT
15,916 Views

I found the clone and started the split process in order to delete the file, but it seems to take forever! It counts blocks in a fairly fast pace, but the inodes processed ha been on 0 percent last 3 hours. Is this standard with this procedure? Here is two vol clone split status <vol name> - as you can see the block count is changed while the processed inodes count remains the same. Is this normal? The file that is cloned and busy that we're trying to delete is several months old. 

 

segrysto11> vol clone split status vol3_sto11_srv20


Volume 'vol3_sto11_srv20_mount_vmdk_95b227764bf143c6aec0acd6665837d5', 148 of 65 562 inodes processed (0%)


112292730 blocks scanned. 111695371 blocks updated.


segrysto11> vol clone split status vol3_sto11_srv20


Volume 'vol3_sto11_srv20_mount_vmdk_95b227764bf143c6aec0acd6665837d5', 148 of 65562 inodes processed (0%)


114378120 blocks scanned. 113780761 blocks updated.netappclone.JPG

rustyjarz
14,182 Views

@adaikkap wrote:

vol status -v <volname> will tell you what are the volume clones to this flex vol and its dependency using which you can identify this snapshot.

 

Regards

adai

 

 

Hi

 

I've tried to run the vol status -v <volname> command but it doesn't seem like it's an available command option, is there somethign I'm doing wrong?

 

Cheers

Public