Resize of PetaSAN disk size
Bala
13 Posts
December 12, 2024, 10:55 amQuote from Bala on December 12, 2024, 10:55 amWe have created a 5TB disk from PetaSAN, Now, we feel that full 5TB size may not be use and want to reduce to 2 or 3TB disk
Can a PetaSAN disk size be reduced?
When I try to reduce the size in PetaSAN , it shows New size must be larger than current size. Is there any other possible options to reduce the disk size.
We have created a 5TB disk from PetaSAN, Now, we feel that full 5TB size may not be use and want to reduce to 2 or 3TB disk
Can a PetaSAN disk size be reduced?
When I try to reduce the size in PetaSAN , it shows New size must be larger than current size. Is there any other possible options to reduce the disk size.
admin
2,929 Posts
December 13, 2024, 5:37 pmQuote from admin on December 13, 2024, 5:37 pmit is is not recommended. you first need to reduce the size at the OS filesystem level ( NTFS/xfs/ext,4 ..etc) before reducing the block layer,the filesystem may need to defgrament first, then you can use ceph commands to reduce the rbd image using the command line.
Again it is risky, not recommended, if you really need you should test it in a lab environment with filled data similar to production disk.
Another safer way is to create a new smaller disk and move data from old to new then delete old disk.
it is is not recommended. you first need to reduce the size at the OS filesystem level ( NTFS/xfs/ext,4 ..etc) before reducing the block layer,the filesystem may need to defgrament first, then you can use ceph commands to reduce the rbd image using the command line.
Again it is risky, not recommended, if you really need you should test it in a lab environment with filled data similar to production disk.
Another safer way is to create a new smaller disk and move data from old to new then delete old disk.
Resize of PetaSAN disk size
Bala
13 Posts
Quote from Bala on December 12, 2024, 10:55 amWe have created a 5TB disk from PetaSAN, Now, we feel that full 5TB size may not be use and want to reduce to 2 or 3TB disk
Can a PetaSAN disk size be reduced?
When I try to reduce the size in PetaSAN , it shows New size must be larger than current size. Is there any other possible options to reduce the disk size.
We have created a 5TB disk from PetaSAN, Now, we feel that full 5TB size may not be use and want to reduce to 2 or 3TB disk
Can a PetaSAN disk size be reduced?
When I try to reduce the size in PetaSAN , it shows New size must be larger than current size. Is there any other possible options to reduce the disk size.
admin
2,929 Posts
Quote from admin on December 13, 2024, 5:37 pmit is is not recommended. you first need to reduce the size at the OS filesystem level ( NTFS/xfs/ext,4 ..etc) before reducing the block layer,the filesystem may need to defgrament first, then you can use ceph commands to reduce the rbd image using the command line.
Again it is risky, not recommended, if you really need you should test it in a lab environment with filled data similar to production disk.
Another safer way is to create a new smaller disk and move data from old to new then delete old disk.
it is is not recommended. you first need to reduce the size at the OS filesystem level ( NTFS/xfs/ext,4 ..etc) before reducing the block layer,the filesystem may need to defgrament first, then you can use ceph commands to reduce the rbd image using the command line.
Again it is risky, not recommended, if you really need you should test it in a lab environment with filled data similar to production disk.
Another safer way is to create a new smaller disk and move data from old to new then delete old disk.