#Commands to show me the real size of a clone?

1 messages · Page 1 of 1 (latest)

haughty lodge
#

I have two questions about clones:

  1. Anyway to tell me the real size of a clone? if I do "vol clone show", it'll give me the size of it's parent volume.
  2. When I run "vol show", it will give me the list of all volumes and all clones, any commands just to show me volumes only?
weak mountain
#

I think there are two ways to get you at least closer to the answer:

  1. Look at the snapshot the Clone was created with in the parent volume.
  2. Use the "vol clone split estimate" command.
haughty lodge
#
  1. That would just give you the size of the snapshot, would not include those added data after clone
  2. Just tried vol clone split estimate, but just gave me the size of the parent volume.
    What about my second question in the original message?
    Thanks!
weak mountain
#

Second question: Tried "vol show -clone-volume false" ?

#

And I noticed I made a mistake in bullet #1 in my previous answer, I meant the snapshot in the Clone volume, not in parent volume.

haughty lodge
#

"vol show -clone-volume false" works.
Now back to the other question: I just run commands again. It seems that the parent-snapshot and the clone-snapshot have the same snapshot name but with different sizes. Are you saying all new updated/added data to the clone would be included in the clone-snapshot, therefore we can then know the size of the clone itself?

weak mountain
#

That is my understanding, yeah