dysk
dysk copied to clipboard
Feature request: list dysks that are not mounted
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
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..