Grow ext4 filesystem on mounted device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Experts,

I want to grow the ext4 file system on mounted device by running
resize2fs utility but it fails, same works in case of unmounted FS
with additional invocation of e2fsck utility.

This is what i am doing

1)Rescanning the device
echo "1" | sudo tee /sys/block/sdd/device/rescan
2) Extending the partition
growpart /dev/sdd 1
3) resizing the file system
resize2fs /dev/sdd1
resize2fs 1.43-WIP (20-Jun-2013)
The filesystem is already 43253499 blocks long.  Nothing to do!


parted -s /dev/sdd1 print free
Model: Unknown (unknown)
Disk /dev/sdd1: 177GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  177GB  177GB  ext4

Any help?

Thanks,
Alok



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux