Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
      • Updating a disk
      • Configuring disk snapshot schedules
      • Moving a disk to a different folder
      • Moving a disk to a different availability zone
      • Encrypting a disk
      • Getting information about a disk
      • Configuring disk access permissions
      • Deleting a disk
    • Viewing operations with resources
  • Yandex Container Solution
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Limitations
  • Moving a disk
  1. Step-by-step guides
  2. Managing a disk
  3. Moving a disk to a different folder

Moving a disk to a different folder

Written by
Yandex Cloud
Updated at May 5, 2025
  • Limitations
  • Moving a disk

When you create a disk, it is placed in the current folder.

In Yandex Cloud, you can move a disk to a different folder within a single cloud.

Learn more about the Yandex Cloud resource hierarchy here.

LimitationsLimitations

When moving a disk, keep in mind the following limitations:

  • Yandex Monitoring does not support metric relocation: existing metrics remain in the source folder, and new ones will be created in the destination folder.
  • You can only move disks within a single cloud.

Moving a diskMoving a disk

To change the disk folder:

CLI
API

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. Get a list of all disks in the default folder:

    yc compute disk list
    

    Result:

    +----------------------+--------------+-------------+---------------+--------+----------------------+-------------------------+
    |          ID          |     NAME     |    SIZE     |     ZONE      | STATUS |     INSTANCE IDS     |       DESCRIPTION       |
    +----------------------+--------------+-------------+---------------+--------+----------------------+-------------------------+
    | a7lqgbt0bb9s******** | first-disk   | 20401094656 | ru-central1-a | READY  | a7lcvu28njbh******** |                         |
    | a7lv5j5hm1p1******** | second-disk  | 21474836480 | ru-central1-a | READY  |                      |                         |
    +----------------------+--------------+-------------+---------------+--------+----------------------+-------------------------+
    
  2. Get a list of all folders in the default cloud:

    yc resource-manager folder list
    

    Result:

    +----------------------+--------------------+------------------+--------+
    |          ID          |        NAME        |      LABELS      | STATUS |
    +----------------------+--------------------+------------------+--------+
    | b1gd129pp9ha******** | my-folder          |                  | ACTIVE |
    | b1g66mft1vop******** | default            |                  | ACTIVE |
    +----------------------+--------------------+------------------+--------+
    
  3. See the description of the CLI command for moving a disk:

    yc compute disk move --help
    
  4. Move the disk to a different folder with the following parameters:

    yc compute disk move \
      --id a7lqgbt0bb9s******** \
      --destination-folder-id b1gd129pp9ha********
    

    Where:

    • --id: Disk ID, e.g., a7lqgbt0bb9s********.
    • --destination-folder-id: Destination folder ID, e.g., b1gd129pp9ha********.

    For more information about the yc compute disk move command, see the CLI reference.

Use the move REST API method for the Disk resource or the DiskService/Move gRPC API call.

Was the article helpful?

Previous
Configuring disk snapshot schedules
Next
Moving a disk to a different availability zone
© 2025 Direct Cursus Technology L.L.C.