dysk icon indicating copy to clipboard operation
dysk copied to clipboard

Feature request: list dysks that are not mounted

Open johanburati opened this issue 7 years ago • 1 comments

It would be nice to be able to list all the dysks, even the ones that are not mounted. Like a --all option to the list command: dyskctl list --all

# dyskctl list
Type                            Name                            VHD                             SizeGB                          AccountName                     Path
RW                              dysk4PNEC27O                    Yes                             2                               mystorageaccount               /dysks/dysk4PNEC27O.vhd

# dyskctl create -a $STORAGE_NAME -k $STORAGE_KEY
Created PageBlob in account:mystorageaccount dysks/dysk3ZzVaq02.vhd(2GiB)
Wrote VHD header for PageBlob in account:mystorageaccount dysks/dysk3ZzVaq02.vhd
Type                            Name                            VHD                             SizeGB                          AccountName                     Path
RW                              dysk3ZzVaq02                    Yes                             2                               mystorageaccount                /dysks/dysk3ZzVaq02.vhd

# dyskctl list
Type                            Name                            VHD                             SizeGB                          AccountName                     Path
RW                              dysk4PNEC27O                    Yes                             2                               mystorageaccount                /dysks/dysk4PNEC27O.vhd

johanburati avatar Jan 18 '18 01:01 johanburati

it make sense to have this feature. Thanks. Users shouldn't go to portal to list page blobs to find what they need. I will added it later on something like ?

dyskcli list-page-blobs -a xx -kxx -c <container-name>

maybe with paging and find functions..

khenidak avatar Jan 18 '18 04:01 khenidak