Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I referred EXT4_IOC_RESIZE_FS ioctl implementation in linux kernel ver 3.3.8. Online shrinking is not supported and the code is as below. if (n_blocks_count < o_blocks_count) { /* On-line shrinking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3

    why online shrink is not supported in EXT4_IOC_RESIZE_FS ioctl?


    Hi,

    I referred EXT4_IOC_RESIZE_FS ioctl implementation in linux kernel ver 3.3.8.

    Online shrinking is not supported and the code is as below.

    if (n_blocks_count < o_blocks_count) {
    /* On-line shrinking not supported */
    ext4_warning(sb, "can't shrink FS - resize aborted");
    return -EINVAL;
    }

    Can anyone please tell the reason why online shrinking is not supported.

    Thanks in adavance.

    Regards,
    Raphel

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3
    Shrinking volume offline is possible in ext4.

    Can anyone please tell me what are the issues in implementing shrinking volume online in ext4.

    Thanks,
    Raphel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •