Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: list dysks that are not mounted #16

Open
johanburati opened this issue Jan 18, 2018 · 1 comment
Open

Feature request: list dysks that are not mounted #16

johanburati opened this issue Jan 18, 2018 · 1 comment

Comments

@johanburati
Copy link
Contributor

johanburati commented Jan 18, 2018

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 johanburati changed the title Feature request: list unmounted dysk Feature request: list dysks that are not mounted Jan 18, 2018
@khenidak
Copy link
Owner

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants